Add the IP address and hostname of PC on the /etc/hosts file of the UNIX system. 192.168.1.119 lpd_pc_name # A space or tab is needed between IP address and hostname.
Terminology
Printer Name Printer Name is used to specify a printer when you register or send print jobs to it. In some UNIX systems, Queue Name is used instead.
Printer Server Printer Server means an IP address or hostname of the PC runningXlpd. Depending on systems, it may only require the hostname.
Queue Name Queue Name defines the queue name ofXlpd(Printer Server).Xlpdreceives the print job from the client machines. Each print job has its assigned queue name. WhenXlpdreceives the print job, it then finds a queue that has a matching queue name and processes it accordingly. If the queue name does not exist,Xlpdcan create a new queue that has the name specified in the print job or use the default queue instead.
General guide to register a printer
Select [Berkeley] or [BSD] from Print type.Xlpdsupports LPD protocol, and generally it is known as Berkeley remote printing protocol.
In Berkeley UNIX system, refer to theprintcapmanual page to register a printer. $ man printcap
To print a file, you can runlprcommand or select print menu in some text GUI editor. For detailedlprcommand line options, refer to thelprmanual page. $ lpr -PPrinter_name filename or $ lpr -dPrinter_name filename