General Setup

The general remote printer registration settings are as outlined below.
Register IP Address of a PC, Printer Server
Add the IP address and host name of the PC where Xlpd is installed, to the /etc/hosts file of the UNIX host:
192.168.1.119 lpd_pc_name

  • A space is required between the IP address and host name.
    Remote Printer Setup Terminologies
  • Printer Name The name of a printer to be registered in UNIX. A file is sent for printing under this name. In some UNIX systems, this printer name becomes the queue name if there is no separate option to set a queue name.
  • Printer Server Refers to the host name or IP address of the PC where Xlpd is installed. Some systems only require a host name.
  • Queue Name A Xlpd (Printer Server) queue name is designated. Xlpd carries out printing tasks by receiving queue names from the client. The queue names must match in order to print files with the queues registered in Xlpd.

General Printer Registration Guidelines

  • Select [Berkeley] or [BSD] in print type. Xlpd supports LPD protocol and this is generally referred to as Berkeley remote printing protocol.
  • In Berkeley UNIX system, refer to the printcap manual page to register a printer:
    $ man printcap
  • To print files, the lpr command can be run as follows. In addition, the print menu can be used in some document editors. For lpr command options, see the manual page.
    $ lpr -PPrinter_name filename
    or
    $ lpr -dPrinter_name filename