Step 1
------
Connection:
Connect a 25-pin Serial cable from the LaserWriter IINT to the serial port on the MS-DOS PC.
Step 2
------
Switch Settings:
While the LaserWriter IINT is off, set the printers DIP switch settings to:
1 UP
2 DOWN
These switch settings place the LaserWriter IINT in:
PostScript Batch Mode,
RS-232 9600 Baud,
RS-422 9600 Baud,
7 data bits, No parity check, 1 stop bit, with XON/XOFF handshake.
Step 3
------
Power On:
Turn on the LaserWriter IINTX and the PC. After a few seconds the LaserWriter IINT will print a test page containing its current settings (listed above).
Step 4
------
PostScript Code:
The PostScript code that follows is used to switch the LaserWriter IINT into 8 data bit PostScript batch mode.
Caution:
--------
If you choose to use the PostScript code provided in this article, you assume all risks involved in making these changes. PostScript code, if not entered correctly, can place the LaserWriter IINT into a condition requiring service.
NOTE:
The "%" characters and following comments are not necessary. Remove them when typing in the program.
- For DTR/DSR, from the DOS prompt type:
COPY CON POST.TXT
%================================================================
% Begin PostScript Code
%
serverdict begin 0 exitserver %This exits the printer server loop.
statusdict begin %Start modifying settings.
25 9600 68 setsccbatch %set the 25 pin RS-232 9600 Baud port-8 data
% bits.
end %This is the end of the mode switch routine.
(control z) %The keyboard control key and the z key
% together. This ends text editing and saves
% the file.
% End PostScript Code
%================================================================
- For XON/XOFF, from the DOS prompt type:
COPY CON POST.TXT
%================================================================
% Begin PostScript Code
%
serverdict begin 0 exitserver %This exits the printer server loop
statusdict begin %Start modifying settings
25 9600 64 setsccbatch %set the 25 pin RS-232 9600 Baud port-8 data
% bits
end %This is the end of the mode switch routine
(control z) %The keyboard control key and the z key
% together. This ends text editing and saves
% the file.
%
% End PostScript Code
%================================================================
Step 5
------
Batch File:
A batch file must be created to set up the PC's communications port, and to send the PostScript code to the printer. From the DOS prompt type:
COPY CON POST.BAT
MODE COM1:96,N,8,1,P
MODE LPT1:=COM1
TYPE POST.TXT > LPT1
(control z)
Step 6
------
Change LaserWriter IINT to 8 data bit PostScript batch mode:
Type POST from the DOS prompt to set the NT to 8 data bit PostScript batch mode. The printer will switch internally from the 7 data bit PostScript batch mode to 8 data bit PostScript batch mode.
Step 7
------
PostScript Code for testing the mode change:
The PostScript code that follows tests the mode change. From the DOS prompt type:
COPY CON TEST.TXT
%================================================================
% Begin PostScript Code
%
/Helvetica findfont 14 scalefont setfont
30 500 moveto
(The Options number for the 25-pin port is:)
show statusdict begin 25 sccbatch 10 string cvs show
pop showpage
(control z)
%
% End PostScript Code
%================================================================
Step 8
-------
Test mode change:
To test the mode change, type the following from the DOS prompt:
TYPE TEST.TXT > LPT1
After a few seconds, the LaserWriter IINT should print a page containing the following text:
'The Options number for the 25-pin port is xx'
Where 'xx' equals the third number in the third line of the PostScript code created in step 4 (either 68 or 64).
NOTE:
The LaserWriter IINT does not support software switching between configurations. For example, PostScript and Diablo or LocalTalk and serial.
Problem Solving:
================
LaserWriter IINT does not print after test PostScript code is sent:
Check cable connections and paper supply to the LaserWriter IINT. Turn off any spooler commands that may be implemented on the PC.
Check the PostScript files (POST.TXT) and (TEST.TXT) along with the (POST.BAT) batch file for any typing errors. If none are apparent, we suggest re-typing the code of both PostScript files from scratch. If the LaserWriter IINT does not receive the PostScript code character for character, the mode change or test will not work. If you have the ability to copy and paste the PostScript Code into a text file, you should do this instead.
Once the code has been re-typed, send it to the LaserWriter IINT. If the LaserWriter IINT prints the page, then all is well. If the LaserWriter IINT does nothing, then start over from step 1.
LaserWriter IINT will not print from within an application:
Check the applications print settings to ensure that it is sending output to LPT1 or COM1. The application must support PostScript, and must be set to output to a PostScript device.
Article Change History:
22 Aug 1995 - Made minor corrections.
21 Feb 1995 - Reformatted and added PostScript caution.
Support Information Services