HP UX Printer Setting

Set printer by running sam after login to root.

  1. With root permissions, run /usr/bin/sam or /usr/sbin/sam.
  2. Run by double clicking [Printers and Plotters] -> [LPSpooler] -> [Printers/Plotters] in order.
  3. Click [Actions] -> [Add remote Printer/Plotter...] in the menu.
  4. Enter the following in the printer setup screen:

    Fig. 2: HP printer setup
  5. Printer Name: Enter the name of a printer to be designated for printing.
  6. Remote System Name: Enter the name or IP address of a PC with Xlpd installed. In some cases, the program may not be installed with the IP address. In such case, enter the PC name after registering the name in /etc/hosts file as described in 'General Setup'.
  7. Remote Printer Name: Enter the queue name registered in Xlpd. If the queue name is not registered in Xlpd, print a file with the default queue according to the Xlpd settings or by generating a new queue.
  8. Remote Printer is on a BSD system: This item must be checked.
  9. Leave the rest as defaults.
  10. Click [OK] to end sam.
  11. The command to print a file in HP UX 10.x is as follows: $ /usr/bin/lpr -dPrinter_name filename