1819504 Members
3281 Online
109603 Solutions
New Discussion юеВ

adding printer

 
Musaddaq_1
Occasional Contributor

adding printer

Hi
I have HP-UX 11i with 9iRAC. I installed hppi, but dont now how to add a printer. And even i have hp jetdirect attached to my network printers.

Can anyone help me.
I tried using sam but then there r lot of issues with it
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: adding printer

You don't need to use sam. Since you have installed the JetDirect software which includes the hppi command, it's very simple.

Simply execute the command 'hppi' as root and that will start an interactive session in which you choose 1) Spooler Administration.
If it ain't broke, I can fix that.
Geoff Wild
Honored Contributor

Re: adding printer

You can also just use the addqueue command:

/opt/hpnpl/bin/addqueue

Like so:

addqueue -i 9998 -q W052 -h w052.yourdomain.com

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

# cat /opt/hpnpl/admin/PrinterList

:1:HP LaserJet IIISi;:HP LaserJet IIISi
:1:HP PaintJet XL300;:HP PaintJet XL300
:2:HP Color LaserJet;:HP Color LaserJet
:3:HP LaserJet 4;:HP LaserJet 4 / 4M
:5:HP LaserJet 4Si;:HP LaserJet 4Si / 4SiMX
:6:HP PaintJet XL300;:HP PaintJet XL300
:7:DeskJet 1200C;:HP DeskJet 1200C / 1200C/PS
:7:HP CopyJet;:HP CopyJet / CopyJetM
:8:DesignJet 650C;:HP DesignJet 650C
:10:HP LaserJet 4 Plus;:HP LaserJet 4 Plus / 4M Plus
:11:HP LaserJet 5Si;:HP LaserJet 5Si / 5SiMX
:12:HP LaserJet 4V;:HP LaserJet 4V
:14:DeskJet 1600C;:HP DeskJet 1600C
:14:DeskJet 1600CM;:HP DeskJet 1600CM
:15:HP LaserJet 5;:HP LaserJet 5
:15:HP LaserJet 5N;:HP LaserJet 5N
:15:HP LaserJet 5M;:HP LaserJet 5M
:16:HP Color LaserJet 5;:HP Color LaserJet 5
:16:HP Color LaserJet 5M;:HP Color LaserJet 5M
:20:DesignJet 750C (C3196A);:HP DesignJet 750C
:20:HP DesignJet 750C Plus (C4708A);:HP DesignJet 750C Plus
:20:HP DesignJet 750C Plus (C4709A);:HP DesignJet 750C Plus
:21:DesignJet 755CM (C3198A);:HP DesignJet 755CM
:21:DesignJet 755CM (C3198B);:HP DesignJet 755CM
:22:HP DesignJet 700 (C4705A);:HP DesignJet 700
:22:HP DesignJet 700 (C4706A);:HP DesignJet 700
:23:HP DesignJet 2500CP (C4704A);:HP DesignJet 2500CP
:24:HP DesignJet 2000CP (C4703A);:HP DesignJet 2000CP
:25:HP DesignJet 3500CP (C4724A);:HP DesignJet 3500CP
:26:HP DesignJet 3000CP (C4723A);:HP DesignJet 3000CP
:257:HP LaserJet 4000 Series;:HP LaserJet 4000 Series
:258:HP LaserJet 5000 Series;:HP LaserJet 5000 Series
:259:HP Color LaserJet 4500;:HP Color LaserJet 4500
:261:HP Mopier 320;:HP Mopier 320
:261:HP LaserJet 8100 Series;:HP LaserJet 8100 Series
:264:DesignJet 1055CM (C6075A);:Hewlett-Packard DesignJet 1055CM (E sized)
:264:DesignJet 1050C (C6074A);:Hewlett-Packard DesignJet 1050C (E sized);
:266:HP LaserJet 8000 Series;:HP LaserJet 8000 Series
:267:HP LaserJet 4050 Series;:Hewlett-Packard LaserJet 4050 Series
:513:HP LaserJet 2100 Series;:Hewlett-Packard LaserJet 2100 Series
:1000:HP LaserJet 5L;:HP LaserJet 5L
:1001:HP LaserJet 5P;:HP LaserJet 5P
:1001:HP LaserJet 5MP;:HP LaserJet 5MP
:1002:HP LaserJet 4P;:HP LaserJet 4P
:1002:HP LaserJet 4MP;:HP LaserJet 4MP
:1003:LaserJet 4L;:HP LaserJet 4L
:1003:LaserJet 4ML;:HP LaserJet 4ML
:1004:HP LaserJet 6P;:HP LaserJet 6P Printer
:1004:HP LaserJet 6MP;:HP LaserJet 6MP Printer
:1005:HP LaserJet 6L;:HP LaserJet 6L Printer
:1008:HP 2000C;:HP Deskjet 2000C Printer
:1010:HP Color LaserJet 8500;:HP LaserJet 8500
:1020:HP 2500C;:Hewlett-Packard 2500C Series
:1025:HP LaserJet 1100;:HP LaserJet 1100A Printer-Copier-Scanner
:9990:dumplot plotter;:To Select dumbplot model script for plotter
:9991:dumplot printer;:To Select dumbplot model script for printer
:9992:dumplot printer_cr;:To Select dumbplot model script for printer with CR
:9997:Generic PCL3 Printer;:HP PCL3 Printer not given in this list
:9998:Generic printer;:HP LaserJet Printer not given in this list
:9999:Generic plotter;:HP Plotter not given in this list


-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.