Access 10.2 shared PostScript printers from OS 9

Sep 01, '02 12:53:20AM

Contributed by: daniel_steffen

It's easy to enable OS 9 clients to print to your shared PostScript printers on a Jaguar server; all you need to do is set up cups-lpd on the server. First, add a new file 'printer' to the /etc/xinetd.d directory containing these lines:

service printer
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/libexec/cups/daemon/cups-lpd
groups = yes
flags = REUSE
}
Then restart xinetd with:
 % sudo killall -HUP xinetd
Obviously, "Printer Sharing" needs to be enabled in the 'Sharing' Prefs panel, and if you have the built-in firewall enabled, add a new rule to pass through port 515 (lpd).

OS 9 clients then have to create a new desktop LPR printer, with 'hostname' set to your Jaguar server and 'queue name' set to the printer's CUPS name as displayed by...
 % lpstat -v
... or the CUPS web interface. Of course, this also works with any other client using LPD instead of IPP, such as older UNIX boxes.

Comments (8)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020901005320524