Operating System - HP-UX
1834622 Members
2750 Online
110069 Solutions
New Discussion

how to identify printer type used to set up a printer

 
SOLVED
Go to solution
Dave Chamberlin
Trusted Contributor

how to identify printer type used to set up a printer

Hello,
I am running HPUX 11.0, using jetadmin to add printers. I need to identify the PRINTER TYPE that was used to install an existing printer (ie - what was chosen from the list of types that jetadmin shows when selecting a printer type). I can see the driver used in the file created in the model.orig directory, but that is not specific enough. SAM does not show the printer type. Is there a way to extract this info? Thanks
4 REPLIES 4
Leif Halvarsson_2
Honored Contributor

Re: how to identify printer type used to set up a printer

Hi,
Don't remember exact about JetAdmin but, I assumes it creates a script in the /var/spool/lp/interface directory. Is there any information in that script ?
Rick Garland
Honored Contributor

Re: how to identify printer type used to set up a printer

I believe you can get part of info but not all.

cd /opt/hpnpl/sh

View files in this directory. Some of these files will have lines that indicate which printer(s) it supports. Disregard the "dumb*" and "generic*" files.

Note, not all files have the 'supports' line in them

It is a start
Bill Hassell
Honored Contributor
Solution

Re: how to identify printer type used to set up a printer

jetadmin has been obsolete for many years (since 1999) and should not be used. Download a copy of HPPI (HP Printer Installer), then uninstall jetadmin using swremove (current printers are unaffected) and install HPPI. Get a copy of HPPI from (sorry about the ugly link):

http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?taskID=135&pnameOID=18922&prodTypeId=18972&locale=en_US〈=English+%28US%29&prodSeriesId=27349&swEnvOID=7

Once installed, there is no need to use SAM at all. Just run the command:

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

-h is the hostname of IP address and -q is whatever you'd like to call this printere. The correct printer script will be chosen by the printer (automatically ID'ed by HPPI). If you want to turn off the banner, add the option: -b off

addqueue also exists for the obsolete jetadmin if you have no choice about using HPPI.



Bill Hassell, sysadmin
Mahesh Kumar Malik
Honored Contributor

Re: how to identify printer type used to set up a printer

Hi Dave

If the printer in non-hp,most of printers manufacturers supply unix driver on their web site.

Regards
Mahesh