Login as root user and runsamto configure printer.
As root, run/usr/bin/samor/usr/sbin/sam.
Double-click eachPrinters and Plotters -> LPSpooler -> Printers/Plotters.
ClickActions -> Add remote Printer/Plotter...in the menu.
In the printer configuration window, enter the following:
Printer Name: printer name to be used on the print command line.
Remote System Name: IP address or hostname of the PC whereXlpdis installed. If the IP address is not accepted, then the hostname should be registered in/etc/hostsfile as explained inGeneral setup.
Remote Printer Name: Enter the queue name registered inXlpd. If this name is not already registered in Xlpd and a print job is sent to Xlpd using this queue, then Xlpd will print the job using its default queue or create a new queue automatically depending on the Xlpd settings.
Remote Printer is on a BSD system: this field must be checked.
Leave other fields as default.
ClickOKto exitsam.
To print a file on HP UX 10.x, the following command line is used.