Login as root user and run sam to configure printer.

  1. As root, run /usr/bin/sam or /usr/sbin/sam.
  2. Double-click each Printers and Plotters -> LPSpooler -> Printers/Plotters.
  3. Click Actions -> Add remote Printer/Plotter... in the menu.
  4. In the printer configuration window, enter the following:

  5. Click OK to exit sam.
  6. To print a file on HP UX 10.x, the following command line is used.

    $ /usr/bin/lpr -dPrinter_name filename