Joined: May 2008
||Posted: Dec. 05 2008,19:55
This is my first post here, however I use DSL from 5 months with pleasure.
I turned an old PC in a server (SMB, NFS, FTP etc..) everything works great.
I run DSL 4.3 in frugal install (on 128Mb CF memory card)
Yesterday I installed a printer.
I followed the [mirror] current/documentation/printerhowto.pdf it's very clear.
apsfilter succesfully installed my HP LaserJet 2100
I can print on it from my dsl box.
However it was quite difficult to print from other computers on the network, but finaly I succed. Here is what I did:
I wanted to use lpd network capabilities NOT SAMBA nor CUPS.
From Linux Ubuntu box or Mac OS X I always received the same answer from my DSL box:
rlpr: error: check_ack: lpd refused our job request [error 1] -- is our hostname in its hosts.lpd?
Of course, it was. I have added the host name (and th IP address to be sure) in /etc/hosts.lpd (and in /etc/hosts.equiv too to be sure)
This was done according to lpd man pages.
But the trick was don't follow lpd documentation but lprng documentation.
DSL uses lprng and comes with a file /etc/lprng/lpd.perms that doesn't allow anybody to print exept the server (dsl box). To allow others to print just comment the first line of this line:
REJECT NOT SERVER
# REJECT NOT SERVER
More details on lprng.org web site.
To print from a Linux or MAC OS X host just install a new printer of lpd type give the server IP adress and the lp queue name (the name of the printer given during the install on the server), install the driver and it's done.
On a Window host choose local printer then set the port to standard TCP/IP port give the IP adress select lpd (not raw) give the print queue name (the name of the printer given during the install on the server), choose the driver and it's done.
Happy printing with DSL.