UNIX Configuration

Registering the printer

The installation shell script registers the printer as a remote printer.

A If your workstation is Solaris 2.5.1, register the print server and print client to the print service.

 

 

1

# lpsystem -t bsd -R 0 -y Network Printernphost

BRegister the printer as a remote printer.

# lpadmin -p np -s nphost!option -T dump -I any

np is the printer name, nphost is the host name. options is “lp” or “text”. For printing with PCL or PostScript, enter “lp”. For text printing, enter “text”.

CIf your workstation is Solaris 2.5.1, set the print job enable to be accepted by print queue.

/usr/lib/accept np

DIf your workstation is Solaris 2.5.1, set the print job enable to print.

/usr/lib/enable np

HP-UX

Adding the IP address and host name to the /etc/hosts file

The following line is added to the /etc/hosts file.

192.168.15.16 np # Network Printer

192.168.15.16 is the IP address, np is the host name, from # to the end of the line is a comment.

Note

The /etc/hosts file contains a list of the IP addresses and their host names of all of the hosts communicating on the network. Each entry is delimited with a space or a tab, and each line is separated with a return.

If you do not use NIS or DNS, you must manually enter the IP address and host name of each workstation using the network printer in the /etc/hosts file.

Registering the printer

The installation shell script registers the printer as a remote printer following the procedure below.

A Stop the scheduler.

/usr/lib/lpshut

BRegister the printer.

/usr/lib/lpadmin -Pnp-v/dev/null -mrmodel -ormnphost-orpoption-ob3

np is the printer name, nphost is the host name. options is “lp” or “text”. For printing with PCL or PostScript, enter “lp”. For text printing, enter “text”.

8

Page 460
Image 460
Ricoh AP2610N setup guide Registering the printer, # lpadmin -p np -s nphost!option -T dump -I any