- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting up a P2015 with HP-UX 11.11
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
04-30-2008 06:54 AM
04-30-2008 06:54 AM
I've tried then to install the model script for the P2015 but get the message: "These model script files cannot be installed completely without the software package of HP JetDirect Printer Installer for UNIX being installed first". Do I need something other than JetAdmin installed on the server perhaps?
Any suggestions please as I've tried everything I can think of so far....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 07:02 AM
04-30-2008 07:02 AM
Re: Setting up a P2015 with HP-UX 11.11
P.S. the P2015 does not have a full set of fonts. You will need to order the font dimm for it. Otherwise, you will probably run into user complaints that the fonts are incorrect. Reference:
http://forums11.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1087760
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 07:03 AM
04-30-2008 07:03 AM
Re: Setting up a P2015 with HP-UX 11.11
laserjets are typically PCL5 or PCL6.
They can be found in /usr/lib/lp/model
cp /usr/lib/lp/model/PCL5 /etc/lp/interface/model.orig/myprinter
I am assuming you have the JetDirect Printer Installer for UNIX installed already ? ( must be else the job would not print at all )
swlist|grep -i jetdirect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 07:23 AM
04-30-2008 07:23 AM
Re: Setting up a P2015 with HP-UX 11.11
http://www.hp.com/pond/modelscripts/index2.html
After unsharing the file you can manually copy the interface file like above but the source would be /opt/hpnpl/sh/net_lj2015
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 08:16 AM
04-30-2008 08:16 AM
Re: Setting up a P2015 with HP-UX 11.11
I've installed hppi on a new HP-UX 11.31 system and have installed the model script for the P2015 on here. However, I still ge tthe message about the printer either not being a network printer or the host is denied.
I've heard that we might need some kind of DIMM for this printer and our supplier is sending one over - perhaps setting it up as a remote printer to port 9100 with this DIMM will work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 08:36 AM
04-30-2008 08:36 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 01:57 AM
05-01-2008 01:57 AM
Re: Setting up a P2015 with HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 01:58 AM
05-01-2008 01:58 AM
Re: Setting up a P2015 with HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 04:30 AM
05-01-2008 04:30 AM
Re: Setting up a P2015 with HP-UX 11.11
#!/bin/sh
lpname=$1
host=$2
/usr/sbin/lpshut
/usr/sbin/lpadmin -p${lpname} -v/dev/null -mrmodel -ocmrcmodel \
-osmrsmodel -ob3 -orm${host} -orp${lpname} -v/dev/null
/usr/sbin/lpsched
/usr/bin/enable ${lpname}
/usr/sbin/accept ${lpname}
lpname is what you are going to call the printer and host is the ip address of the printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 06:06 AM
05-01-2008 06:06 AM
Re: Setting up a P2015 with HP-UX 11.11
Do NOT add HP printers with JetDirect cards using lpadmin remote printer syntax. There is a lengthy explanation but suffice it to say that all remote printers are virtually unusable due to the way HP-UX sends print jobs to a remote printer.
JetDirect cards use a proprietary protocol on port 9100 and hppi will set it up correctly. However, it is much simpler (after installing the p2015 model script) to use addqueue like this:
addqueue -h 12.34.56.78 -q myprinter -t off -b off -r off
There is no need to ever use hostnames for printers (unless your data center uses dynamic DNS tied into DHCP). Just use the IP address.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 09:06 AM
05-01-2008 09:06 AM
Re: Setting up a P2015 with HP-UX 11.11
I really think adding printers as lpr printers depends on what you are printing. IN my environment we only print Oracle reports from HP-UX. I have never had any issues with this. Also, every default install of HP-UX I have ever installed never came with hppi installed. I am not saying it has never been a default, but I have never seen it. But what I really don't understand it that you say to use hppi, but hppi just calls addqueue which will give the error that "the printer is not on a network printer", or something to that affect. My experience is that the new printers like the P2015 do not respond correctly to snmp queries from addqueue. How is one supposed to add the printer if the utility to add it does not work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 09:09 AM
05-01-2008 09:09 AM
Re: Setting up a P2015 with HP-UX 11.11
I re-read your post and think that what you are looking for is here:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=18922&prodTypeId=18964&prodSeriesId=27349&swLang=8&taskId=135&swEnvOID=7
But as I have stated, it hasn't worked well for me with some of the newer low cost printers from HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 10:50 AM
05-01-2008 10:50 AM
Re: Setting up a P2015 with HP-UX 11.11
hppi is supplied, at least on 11iv1 and 11iv2 with the HPNPL fileset. The fileset is aquired by installing the JetDirect Printer Installer.
swlist -l file|grep -i hppi
HPNPL.HPNPL-MAN: /opt/hpnpl/man/man1/hppi.1
HPNPL.HPNPL-RUN: /opt/hpnpl/admin/hppi
# swlist -l product HPNPL
# Initializing...
# Contacting target "ux04"...
#
# Target: :/
#
HPNPL E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix
A swlist -l files on the 11.31 EOE distro does not return any hppi references.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 03:36 PM
05-01-2008 03:36 PM
Re: Setting up a P2015 with HP-UX 11.11
One exception is when HP-UX prints to another HP-UX system, and then the -o options will work. But lpr (remote) printing to a JetDirect card (or any other brand of LAN card print server) will ignore all the standard -o options. So you end up creating a wrapper for lp that includes the printer script -- not a lot of fun.
The new (and typically cheap) printers can be a very risky investment for Unix environments. Read the web pages for any printer manufacturer and you will have a very difficult time finding Unix information. The really cheap ones have no formatter and will not print anything without a large scale text-to-raster conversion driver. And they will only be available for selected versions of Windows, possibly for Macs. Unix need not apply.
The P2015 does indeed have a formatter (it supports PCL) so it is a good candidate. When hppi (addqueue, hpnpadmin, hpnpl and related) has been installed, all JetDirect print servers (aka, LAN card or external LAN-to-printer box) will support a very large set of -o options. If the printer does not reply with the proper SNMP responses, use the -i option with addqueue to override the poll and set the printer script.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2008 05:18 AM
05-02-2008 05:18 AM
Re: Setting up a P2015 with HP-UX 11.11
Yvonne,
Your post actually helped me out. Thanks for postng.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2008 05:49 AM
05-02-2008 05:49 AM
Re: Setting up a P2015 with HP-UX 11.11
the start hppi, and add the printer using the name assigned to it in hosts. Almost invariably, you get the following messages:
Enter the network printer name or IP address (q - quit): syslj5
!! No response from syslj5 !!
... (trying to ping syslj5)
The HP JetDirect Printer Installer for Unix can ping the device.
The problem may be:
* incorrect GET community name!
* it is not a network printer!
* other.
Selecting to "continue" at this point has, in my experience, allowed the printer to install properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2008 06:02 AM
05-02-2008 06:02 AM
Re: Setting up a P2015 with HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2008 06:05 AM
05-02-2008 06:05 AM
Re: Setting up a P2015 with HP-UX 11.11
I can agree to OldSchool's tipp - just say 'continue', that works for me, too.
Only difference - I always use one print server where I add the printer as a network printer, I don't use remote for the server.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2008 11:46 AM
05-02-2008 11:46 AM
Re: Setting up a P2015 with HP-UX 11.11
"Only difference - I always use one print server where I add the printer as a network printer.."
I'm not sure we're doing *anything* different here. All of my printers are installed as network printers...not remote.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 03:55 AM
05-05-2008 03:55 AM
Re: Setting up a P2015 with HP-UX 11.11
my 'Only difference' related to Yvonne and her 'So far I've setup a remote printer ...'
I only wanted to explain this item separately
Yeah - sometimes I should write some more words to explain ... :-)
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 05:49 AM
05-05-2008 05:49 AM
Re: Setting up a P2015 with HP-UX 11.11
Ok, got it (light bulb above head slowly brightens). It doesn't help any that I take the written word in there most "literal" interpretation either (forgive the pun please...) ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 07:37 AM
05-12-2008 07:37 AM
Re: Setting up a P2015 with HP-UX 11.11
1. Upgrade JetAdmin to HPPI.
2. Download the P2015 model script from ITRC and install to HPPI.
3. Add printer details to /etc/hosts but use an IP address of a printer with a fully functional jetdirect card.
4. Add printer to HPPI using the queue name setup in /etc/hosts and select the correct P2015 model script recently installed.
5. Once setup within HPPI, edit /etc/hosts and correct the printer queue name with the real IP address.
This all now works a treat! Thanks very much everyone....