I'll answer my own question, and here's how to do it, for the archives 
and anyone else who wants to try this feat (actually, once I quit 
trying to use LPD, it was easy with CUPS):

(this is rough, so feel free to improve on this and redistribute if you 
know a better way or spot a mistake)

PowerPrint adapter on Mac Serial with Mandrake Linux PPC 8.2 HOWTO
------------------------------------------------------------------

(note: this should work on other PPC distros as well)

1. do a 'modprobe macserial' and also add that command to your 
/etc/init.d/rc.local

2. install and start CUPS, including the cups-serial package (which is 
not installed by default).

3. add this to your /etc/cups/printers.conf (or use the web-based CUPS 
configurator at http://127.0.0.1:631/ to add a printer with serial port 
#1, baud rate 57600, XON/XOFF, No parity, 8 bits ... then choose the 
type of printer.):

<Printer LaserJet4>
DeviceURI serial:/dev/ttyS0?baud=57600+bits=8+parity=none+flow=soft
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

This works for an old parallel HP LaserJet 4. Your mileage may vary with 
other printers.

Note: I have the PowerPrint adapter in the modem port, not the printer 
port. Try /dev/ttyS1 instead if you want it in the printer port. It'll 
*probably* work.

[end]


-- 
War Without End? Not In Our Name! http://notinourname.net


Reply via email to