1833323 Members
2819 Online
110051 Solutions
New Discussion

Re: Printer

 
SOLVED
Go to solution
Francisco Rivera_3
New Member

Printer

Hello, I need to configure a printer in UNIX (HP9000 box), currently I have the IP adress and name, could somebody help me please...?, I'm a rocky in UNIX.

I appreciate
3 REPLIES 3
Sanjay_6
Honored Contributor
Solution

Re: Printer

Hi,

Try this,

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpj06284

&

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpj02769

We are assuming you have hp jetdirect for unix installed on the box and you arer trying to configure a hp network printer.

If you don't have hp jetdirect software installed, download and install from this site for your version of OS.

http://h20180.www2.hp.com/apps/Lookup?h_query=jet+direct+printer+installer&h_tool=software&h_lang=en

Hope this helps.

Regds
John Poff
Honored Contributor

Re: Printer

Hi,

I'd suggest using SAM to configure your printers. Login as root, run 'sam', and then select Printers and Plotters -> LP Spooler -> Printer and Plotters. This will bring you to a screen showing all the existing printers on the system. From there, press Tab and go to Actions, press Enter, and you'll have choices for adding the printer. If you are adding something like a LaserJet with a Jetdirect card, you'll probably want the 'Add Network-based Printer/Plotter..' choice.

From there, just follow the prompts for adding a printer. When you exit out of that program you'll be back in SAM and your new printer should show up in the window.

JP
Geoff Wild
Honored Contributor

Re: Printer

Some info on HP Printing:

There are 4 main directories on the HP Spooler:

/etc/lp Directory of spooler configuration data
/var/sam/lp Backup directory of spooler configuration
/var/spool/lp Directory of LP spooling files and directories
/var/adm/lp Directory of spooler log files




LP Spooler Commands:

lpstat - report line printer status information

enable - enable LP printers

disable - disable LP printers

accept - allow LP printer queuing requests

reject - prevent LP printer queuing requests

lpadmin - configure the LP spooling system

lpsched - start the LP request scheduler

lpshut - stop the LP request scheduler

cancel - cancel requests

lpmove - move requests

lpfence - define the minimum priority for printing

addqueue - add a queue to the LP spooling system


HP Jetdirect Printers

You can get further details on a printer with a HP Jet DIrect card by using the hpnpadmin command:

hpnpadmin -v (where is the printer name):

hpnpadmin -v RF02

Or, too get just relevant info, use the lpinfo script:

lpinfo W052


Adding a printer:

addqueue -i 9998 -q PRINTERQ -h PRINTER.YOURDOMAIN.COM

The -i option is the "printID type from the following list:

# cat /opt/hpnpl/admin/PrinterList

-h is the host name, and -q is the queue name.

Most printers are added with 9998 "Generic". Some may have to be 9992 (Genicom).

Rgds...Geoff



Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.