If one has a networked printer, as we do where I work, then it needs to be specified what the IP number of the
printer is. I set up the printer with lp:rm=neprinter:/dev/netprinter:sd=/var/spool/netp rinter:sh:mx#0 and then created an entry in /etc/hosts giving the IP number, and created the spool file which is named here.
The only complication is that nowadays there is a file /etc/lpd.conf, and the default setting there is the printer that is hooked up to your computer, not on the network. The printcap entry is overridden unless the setting in lpd.conf is changed to allow a remote printer.
I also have used my home computer, with printer attached, as the printer host for other machines running Linux and/or Mac OS10. If I could cause the Windows computer in the house also to be able to use my machine as a print server, I would be very happy. Can you set up Windows to print to lpr-lpd instead?
Yes you can, if you are using Windows XP, 2000 or 2003. I'm sure you can do this with Vista, thought I've never tried it. These systems support an optional LPD print server. I wrote a Solaris tip that shows you how.
Dig deeper on Linux interoperability
Related Q&A from Kenneth Milberg
Unix-to-Linux migration expert Ken Milberg describes how virtualization, support, clustering and more fit into the migration of an IT infrastructure ...continue reading
A reader new to Linux wonders about which distribution is recommended for installing Nagios and what Nahant and Tikanga mean.continue reading
Documentation for Red Hat Enterprise Linux 5 covering checking system performance, tuning, kernel configuration and extending the file system exists ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.