This section provides the following information:
If you have a local printer attached to your host, then this section refers to printing to a remote printer. If you have no local printer, then this section refers to printing to a nondefault remote printer. You can either use the enq command or the System Management Interface Tool (SMIT) to complete this task.
Note: This section explains how to print to a remote host at the simplest level possible. For more information and ideas about remote printing, read about the enq command.
Note: The queuing system does not support multibyte host names.
To implement changes to the /etc/hosts.lpd file without restarting the system, use the System Resource Controller (SRC) refresh command.
enq -P QueueName:DeviceName FileName
where QueueName is the name of the queue (such as rp1), and PrinterName is the name of the printer (such as drp1) as found in the /usr/lib/lpd/qconfig file. Do not omit the : (colon) between the QueueName and the PrinterName. FileName is the name of the file that you wish to print.
smit
Occasionally, you might need to print a file located on a remote host. The location of the printout depends upon what remote printers are available to the remote host.
Note: This section explains how to print to a remote host at the simplest level possible. For more information and ideas about remote printing, read about the enq command.
enq -P QueueName:DeviceName FileName
where QueueName is the name of the queue (such as rp1), and PrinterName is the name of the printer (such as drp1) as found in the /usr/lib/lpd/qconfig file. Do not omit the : (colon) between the QueueName and the PrinterName. FileName is the name of the file that you want to print.