- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UX printer configuration
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 11:53 PM
02-24-2004 11:53 PM
I have to add a new printer to the printers I already have. I have the /etc/lp/interface/xxx file (it's ok) but I don't know how to make visible the new printer to the printer system.
The os is HP-UX 11.i
Thanks in advance!
Hi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 12:12 AM
02-25-2004 12:12 AM
Re: UX printer configuration
Is it a network printer or direct-connected? This may have a bearing. Also, if it is a QMS printer there is a piece of software specifically for those.
Come back with more details if sam does not do everything you need.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 12:20 AM
02-25-2004 12:20 AM
Re: UX printer configuration
It's a network printer and I'd like not to use sam...
Emanuele
Thanks in any case...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 12:28 AM
02-25-2004 12:28 AM
Re: UX printer configuration
The command line option to add a printer is addqueue command. check man addqueue. If you have the interfase file i would move it first to pintername_save use the add_queue command and move the interface file back.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 12:40 AM
02-25-2004 12:40 AM
Re: UX printer configuration
below how to:
UPRTKBRC00013408 - Interactively adding network printer without using the 'hppi' TUI
You should launch
# hppi -addq
and you could configure a new network printer.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 12:45 AM
02-25-2004 12:45 AM
Re: UX printer configuration
A5194845 - SYS ADM: How to add a JetAdmin printer from the command line
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 12:47 AM
02-25-2004 12:47 AM
Solutionaddqueue -i 9998 -q
Example:
addqueue -i 9998 -q W052 -h w052.mydomain.net
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 12:50 AM
02-25-2004 12:50 AM
Re: UX printer configuration
I'm trying with the addqueue command...
does anybody have a simple line command to help me?
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 01:06 AM
02-25-2004 01:06 AM
Re: UX printer configuration
Go in technical knowledge base from ITRC home page and insert A5194845 by specifying 'search by Doc.ID'. You should get a document from ITRC database. Anyway have you a support contract with HP? It is needed to see documents in technical knowledge base.
Otherwise what does addqueue command obtain as Geoff suggested you?
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 01:54 AM
02-25-2004 01:54 AM
Re: UX printer configuration
If this is an HP printer *and* the HP JetDirect network interface card already has already been setup with an IP address, subnet mask and gateway, then you can use addqueue. addqueue will test to see if the printer is indeed an HP printer with an HP interface. The command is:
/opt/hpnpl/bin/addqueue -h 12.34.56.78 -q queuename
where 12.34.56.78 is the IP address of the printer and queuename is whatever you want to call the printer when using the lp command.
Note: if you have been editing or copying files in /etc/lp/interface, you may have problems with lp subsystem. There are several related indexes like the pstatus file that must be kept in sync.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:04 AM
02-25-2004 03:04 AM
Re: UX printer configuration
I tried this command
/opt/hpnpl/bin/addqueue -h 12.34.56.78 -q queuename
But it respond:
Printer not supported.
Then...I tried SAM!
I'm able to add the printer p076 with queue p076. I can configure it but I'm not able to assign to the printer the correct model script.
Exactly: I see the model script within the model script list but when I make the new printer it uses the generic_model_script.
I'm triyng to assign the net_ljx000 model script to the new printer.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:29 AM
02-25-2004 03:29 AM
Re: UX printer configuration
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:40 AM
02-25-2004 03:40 AM
Re: UX printer configuration
Thanks to everyone...now the printer is working.
I did it with SAM.
Even with the default script model everything seems to be all right.
The printer is a laserjet 2300dn model and it seems not to be supported by hppi
In any case...I wonder how to install it from command line...
Thanks to all...points are coming!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:44 PM
02-25-2004 03:44 PM
Re: UX printer configuration
/opt/hpnpl/bin/addqueue -i 257 -h 12.3.56.78 -q print_queue
Bill Hassell, sysadmin