Digi MIL-3000FTX User Manual

Page 133

Advertising
background image

MIL-3000FTX Series of FastPort Print Servers

E-2

3. The PS code that follows is used to switch the LaserWriter into 8 data

bit PostScript batch mode with mark parity.

Note:

The % characters and following comments are not necessary.

4. Enter the following commands through the serial port.

If using telnet, enter

telnet fastport 2001

(also 2020 or 2021) from

a UNIX host. Otherwise, connect a terminal directly to the printer using
a serial cable and enter:

serverdict begin 0 exitserver %This exits the printer server loop

statusdict begin

%Start modifying settings

25 9600 67 setsccbatch

%set the 25 pin RS-232

%9600 Baud port-8 data bits

end

%This ends the mode switch

%routine

If using telnet, use Control-] (right bracket) to return to the telnet
prompt and then issue the

quit

command to exit.

5. Using the same options for connecting to the printer, use the following

PostScript code to test the mode change.

/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

end

6. Exit telnet.

E.1.4 Situation Two: Setting Serial Port Options

To set the serial port options and display the results, send the printer the
following PostScript code:

% This text sets the printer mode to 8 bits data mark parity.

serverdict begin 0 exitserver

statusdict begin 0 sethardwareiomode end

statusdict begin 25 9600 67 setsccbatch end

/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

end

This should return the following response:

The options number for the 25-pin port is 67

Advertising