- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PCL6 driver script for LP subsystem?
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
03-09-2004 05:23 AM
03-09-2004 05:23 AM
PCL6 driver script for LP subsystem?
Where can one find a model/interface script for the PCL6 printers?
Now for the story behind the question:
This shop has an older K-class system running an accounting system. All printer administration has been done through the CLI for jetadmin.
The LJ4000 printers that were coming through the door last year seemed to be fine with being told they are a Laserjet 4. The newest printer is (I think) a LJ4200 (?), and seems to come out of the box as PCL6 by default (where the 4100's seemed to come out of the box as PCL5 by default). Unfortunately, a few dozen PC's were set up to use the printer in its native default mode (PCL6), and when we tell the K-class system to print to it, we get garbage. I'd force the printer to PCL5 and reconfigure desktops, but this has a high exposure that makes this difficult.
I also cannot seem to find an updated "jetadmin" package that isn't Web-based and such. Any ideas where I can get a real, updated, PCL6 model/interface script, or an updated CLI jetadmin package?
Best Regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 05:35 AM
03-09-2004 05:35 AM
Re: PCL6 driver script for LP subsystem?
Well, I'm not sure. The latest lpspool cumulative - PHCO_29208:
http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_29208&context=hpux:800:11:00
still doesn't list any PCL6 devices. So I suspect you'll have to contact HP - they may have a site-specific or beta patch for you because these lp cumulative patches are what bring in the model files.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 08:53 AM
03-09-2004 08:53 AM
Re: PCL6 driver script for LP subsystem?
After you are installed, you can run the transferqueue local
and respond "all" when prompted
command to convert all your JetAdmin printers
to JetDirect command. The "hppi" command is the replacement for the "jetadmin" command and it too is terminal based.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 02:14 PM
03-09-2004 02:14 PM
Re: PCL6 driver script for LP subsystem?
So the first thing to do is to swremove the jetadmin software (the current lp state will not be affected). Then download and install HPPI and you'll now run /opt/hpnpl/bin/hppi which has a similar interface. However, with the updated software (jetadmin has been obsolete and unsupported since 2000 and is not Y2K safe), you can use an even easier one liner to add the printer:
/opt/hpnpl/bin/addqueue -h 12.34.56.78 -q mylj4200
If the printer is connected to the network, the entire task is completed in a couple of seconds. You can also use hppi to add or modify the printer. Note that addqueue also exists for later versions of jetadmin but because it hasn't been updated for 3 years, new printers simple aren't found.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 03:12 PM
03-09-2004 03:12 PM
Re: PCL6 driver script for LP subsystem?
I have to differ with the "no difference between PCL5 and PCL6" intimation, as the new 4200 printer absolutely does not work with the traditional PCL5 variants that live within JetAdmin.
I appreciate all the pointers, and want to soapbox just a little bit on HP's decline in covering some of these issues: Things like:
- I could find nothing within ITRC that gave a good indication of the superceding product or utility once JetAdmin was obsoleted.
- searches continually pointed me to links for WebJetadmin, or to Windows-system drivers.
- even an explicit search of "PCL6 lp interface script" and "PCL6 lp model script" did nothing to give me any HP-UX resources or pointers to where I could get a leg-up on supporting HP's newest printers on some of HP's older hardware.
Forgive me for using the word "driver" earlier; even though I know that we're using interface scripts, the web site itself keeps making me talk in non-HP/UX speak by virtue of the answers it's been giving lately...
Thanks Folks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 02:27 AM
03-10-2004 02:27 AM
Re: PCL6 driver script for LP subsystem?
The inconsistent navigation to locate JetDirect management tools for HP-UX has been a multi-year problem. The webmasters for the JetDirect products have always been focused on PCs and the ultra-glamorous WebJetAdmin is prevalent throughout all the links. As most Unix admins tend to prefer command line tools, it would appear that Unix support is minimal. But it really is there, just very difficult to locate. And as you've seen, HP-UX specific keywords will not find the software as the HP-UX (and Solaris) versions have minimal documentation on the web.
As far stability, JetAdmin is DEFINITELY not a production product. It is known to have Y2K errors in it and as you have seen, it has no clue about any printer built in the last 4 years. It is obsolete and unsupported and has been since late 1999. You'll find HPPI is quite simple to use with a lot of similarities to JetAdmin, but for printers that are already setup on the network, I never use hppi (or jetadmin in the old days). I just use addqueue.
I'm not clear about the PCL6 problem. There is no script that even mentions PCL6 in either the /usr/lib/lp/model directory or the /opt/hpnpl/sh directory. I'm not sure how PCs fit into your picture. Each print job sent by HP-UX starts with the printer reset command (echo "\033E\033%-12345X\c") so regardless of what a PC may have done previously, the printer starts over. And PCL6, like all previous versions of PCL, is backward compatible. That means that sending "abc" to the printer will print ABC, and sending an escape sequence to select 10 characters per inch will set that pitch.
So I'm not sure why the printer got into a state where simple text could not be printed from HP-UX. Now if the printer is a remote network printer, a whole new set of questions come into play. Are you adding the printer as a true JetDirect local printer or are you telling HP-UX to send the print jobs to some WinNT server? That changes everything.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 03:04 AM
03-10-2004 03:04 AM
Re: PCL6 driver script for LP subsystem?
The print queue is being set up as a JetDirect Local Queue (so hpnpf, the model/interface script, and all the LP subsystem dressings) are in play here. Specifically, along with garbage output, when we do get the occasional clear page, it will not observe portrait/landscape options, duplexing options, or condensed print options.
The best pointer I could find outside of HP (docs, ITRC, etc.) was some application-specific hits on a Google search. When the situation was encountered, it almost universally involved a fix that required setting the printer to PCL5 mode. This seems to indicate either A) there are intrinsic differences in PCL6 that do not allow it to execute PCL5 directives as desired, or B) there's some magic that needs to occur, because if PCL6 is truly backward compatible, I should be able to replace a LaserJet4 with a LJ4200, set the network parameters to the same address/netmask/etc., and get the same result with no reconfiguration required. I can't, it won't, it is unreasonable to call out 3-digit price-per-hour consulting to solve the problem, and nobody is going to do it for free since this appears to be the only place in the universe where PCL6 isn't backward-compatible.
The last part is clearly some frustration that, after all the millions upon millions that the world has invested in PA-RISC hardware, one can't even get a simple directory of HP-UX-based simple shell scripts located on the companion CD's that come with these printers. A real, precise, not-relying-on-alleged-backward-compatability model script that I could drop into this system would be greatly appreciated. Not that I'm holding my breath...
Now that I'm done with what may be construed as a "rant", I'm going to get back to seeing what I can extract from the newer tools that have the obscure links to solve the problem. Don't let the last part diminish the appreciation I feel for the pointers that will hopefully solve the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 03:33 AM
03-10-2004 03:33 AM
Re: PCL6 driver script for LP subsystem?
Here's a link for the JetAdmin printer installer:
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?locale=en_US&pnameOID=18922&taskId=135&prodTypeId=18972&prodSeriesId=27349〈=en&cc=us&swEnvOID=7
Here's a link for some model scripts:
http://www.hp.com/pond/modelscripts/
(I've no clue how up-to-date they are)
And finally, here's the details on using model scripts:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?locale=en_US&taskId=115&prodSeriesId=27349&prodTypeId=18972&objectID=bpj06112
Good luck,
mark