Saturday, 19 September 2015

HP-UX: Add Printer Manually


How do I configure a device on HP-UX using a manual method?
The following information needs to be gathered before the following commands are entered
Queue_name - the name of the print queue on the system 
Hostname – Name of the print device as entered in /etc/hosts or DNS

1. Shut down LP Spooler Service using the following command.

/usr/lib/lpshut

2. Add the printer to the system

/usr/lib/lpadmin -P<queue_name> -v/dev/null -mrmodel -orm<hostname> -orptext -ob3

3. Allow printer to accept requests

/usr/lib/accept <queue_name>

4. Enable the print Queue

/usr/bin/enable <queue_name>

5. Restart the LP spooler service

/usr/lib/lpsched
Share This

No comments:

Post a Comment

Register Now

Contact Form

Name

Email *

Message *