Operating System - HP-UX
1834628 Members
3576 Online
110069 Solutions
New Discussion

Re: How to configured printer on HP-UX

 
varian_1
Advisor

How to configured printer on HP-UX

Hi,

I have HP-UX 11i server & want to configure my network printer on this server so that I send print jobs from my HP-UX server.

Thanks in advance.

Regards
Varian
6 REPLIES 6
Anthony Lennan
Valued Contributor

Re: How to configured printer on HP-UX

Hi Varian,

If its a HP network printer then you should be able to use the hppi command to set it up.

Run hppi and then follow the prompts.

Kind regards,
Anthony
Elif Gius
Valued Contributor

Re: How to configured printer on HP-UX

Hi,

you can use sam or try this

#stopping LP Scheduler
/usr/sbin/lpshut
#add printer
/usr/sbin/lpadmin -p -orm -orp -mrmodel -v/dev/null -orc -ocmrcmodel -osmrsmodel

#lp sched accepts requests for printer
/usr/sbin/accept
#enabling printer
/usr/bin/enable

# starting LP Scheduler
/usr/sbin/lpsched

which printer was configured you see with: /usr/sam/lbin/lpmgr -l

Victor BERRIDGE
Honored Contributor

Re: How to configured printer on HP-UX

In order to configure network printers you would need to download if you have not the product Jet direct printer installer
http://h20180.www2.hp.com/apps/Lookup?h_query=jet+direct+printer+installer&h_tool=software&h_lang=en

All the best
Victor
varian_1
Advisor

Re: How to configured printer on HP-UX

Hi,

I have network printer installed on my Windows base system thru HP-Jet Direct. Now I want to configured that printer on my HP-UX server so that I can fire printing jobs from my HP-UX server.

Thanks for all replies.

Regards
Varian
Anthony Lennan
Valued Contributor

Re: How to configured printer on HP-UX

Hi Varian,

To setup a print queue on your HP server for your printer you will first need to install the jetdirect software as indicated by Victor. Once that has been installed you will then be able to run the hppi command and will be able to follow the steps to setup the print queue for your particular printer. Does that answer your question?

Kind regards,
Anthony
Bill Hassell
Honored Contributor

Re: How to configured printer on HP-UX

Since the printer is already using a JetDirect LAN connection, just run addqueue like this:

/opt/hpnpl/bin/addqueue -h 12.34.56.78 -q my_prn

where: 12.34.56.78 is the IP address of the printer and my_prn is whatever you'd like to call the printer (lowercase, 8 chars or less). You can modify options such as a banner/separator page using the modifyqueue command (see the man page) or use the interactive menu program /opt/hpnpl/bin/hppi


Bill Hassell, sysadmin