lp -d<queue_name> <file_name>

Setting Up an HP/UX Remote Printer to Use lpd

Set up a remote printer on the host that sends jobs to a Print Server Card using the Print Server Card lpd. To do this:

At the prompt, type: sam

When a window appears, select Printer/Plotter Manager.

When the menu appears, select List printer and plotters.

When a list appears, select Actions in the title bar.

From the pull-down menu, select Add Remote Printer.

When a window appears, add values to configure the printer. See the following example.

Input Requested

Example

Description of Inputted Data

Printer Name

myprinter

name to be used in lp command

Remote System Name

fastprint

Printer hostname as in /etc/hosts

Remote Printer Name

PORT1

lpd queue name

At the bottom of the screen, select Remote Printer is on BSD system from the three choices available.

Click on the OK button.

Ping the unit to test communications. Type:

ping <Printer IP address>

Ping should confirm your IP address with the message:

<Printer IP address> is alive

If the connection is confirmed, you can now print.

Setting Up an AS/400 Systems to Use lpd/lpr

When working with the output queue description (WORKOUTQD), there are several fields that must be defined for the printer to function properly as a remote printer device. Use the following procedures to do this:

7-31

Page 186
Image 186
GCC Printers 21 Series manual Setting Up an HP/UX Remote Printer to Use lpd, Setting Up an AS/400 Systems to Use lpd/lpr