Re:[netatalk-admins] Personal LaserWriter II at Linux Box


Subject: Re:[netatalk-admins] Personal LaserWriter II at Linux Box
From: Sak Wathanasin (sw@nan.co.uk)
Date: Fri Aug 01 1997 - 05:24:01 EDT


In reply to Matthias Koerner's message of the 31/07/97 at 10:58 +0000,

> Unfortunally the documentation for the LaserWriter is lost. I only see a
>MiniDB
> 8 (like the serial ports at the mac) and an SubD 25 (like the scsi interface
>at
> the macs) at the back of the LaserWriter.

Come to think of it, both the DIN-8 and D-25 ports are serial ports and so the
printer can be connected to the Linux box's serial port as a serial (PS)
printer. Then by running papd, the printer can be made visible to the Macs
(just like the other printer that you have). Depending on the model of LW,
there is either a switch (probably a DIP switch somewhere) or it will
auto-sense.

The default comms settings should be 9600, no parity, 8-bits, 1 stop bit. Try
using tip/cu/whatever to talk to the printer. If you type control-T, the
printer should respond with a status. You can also put the printer into
interactive mode by typing

executive

(carefully since it doesn't echo). Then you can send any Postscript command to
the printer. Eg, the following:

statusdict begin 25 sccbatch pstack end

should print the comms settings of the 25-pin port (9600, 0 according to the
manual)

Once you get this far, the rest should be straight forward (my /etc/printcap
came with sample entries for the LW).

You can change the comms setti ngs on the printer by executing the following
bit of PS:

serverdict begin 0 exitserver
statusdict begin
25 57600 0 setsccbatch

to change the 25-pin port to 57600 baud, no parity. It's best to send this from
one of the Macs using PAP.

Good luck!

Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK

Internet: sw@nan.co.uk
Phone: (+44) 1203 419996 Fax: (+44) 1203 690690



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:54 EST