1834652 Members
2122 Online
110069 Solutions
New Discussion

addqueue - error

 
SOLVED
Go to solution
Jeff Hoevenaar
Frequent Advisor

addqueue - error

I am trying to add a print queue to a HP-UX 11i server. Here is what I get.

addqueue -h 10.239.1.203 -q printer1
Printer not supported

I can add it with the JetAdmin interface but I want to use a command line for scripting purposes.

The printer is a HP LaserJet 4200 dtn

Any ideas?
2 REPLIES 2
Mitra Rath
Occasional Advisor
Solution

Re: addqueue - error

Hi Jeff,
U can check the printer id with the command"addqueue -l".It will list the printer id`s with the model name of the printer.Then select ur printer id from the left column of the output of the above command and use "addqueue -i -h 10.239.1.203 -q printer1"

Hope this might help u...

Mitra
Mel Burslan
Honored Contributor

Re: addqueue - error

Jeff,

If this is a one time installation, i.e., you do not have a boat load of printers that you want to add from the command line or from within a script, try using hppi utility which is a shell commands' wrapper for printer related commands.

Once in there, select
1) Spooler Administration
then select
1) Add printer to local spooler
and provide the ip address of the printer. since you do not seem to have the proper model script, it will come back to tell you printer is not a supported. At this point it will let you select a printer model script from the already available ones. If you do not have a very similar device script, select the one which says "Generic Laser Printer" (or something similar to that, knowing that all you will not be able to use the extended functionality of the printer, like fancy fonts etc.

If by any chance you do not have any model scripts listed, i.e., accidental deletion of the scripts, you can goto

http://www.hp.com/pond/modelscripts/index2.html

and selectively download the necessary model scripts from this page. Also, it may be a good idea to check this page for newly released printer model scripts for hpux. Needless to say, the page only contains model scripts for printers made by HP.

Hope this helps
________________________________
UNIX because I majored in cryptology...