- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to print a PS v2.0 file on a HP LaserJe...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-08-2009 03:20 AM
тАО10-08-2009 03:20 AM
Unable to print a PS v2.0 file on a HP LaserJet 9040n
Hi *,
I'm facing a problem with printing of a postcript Level2 file on a LaserJet 9040n (file attached to this post).
The file is generated through a graphic application (based on Ilog Views) on HPUX 11.23 machine
Basically, I can't get this file to print on the LJ9040n.
I've tried to define the printer using hppi utility (HP Jet-Direct E.10.34) with different drivers :
- net_lj8150 (former driver used with previous printer) : the file is in printing state forever on the printer. We need to cancel it under HPUX, and on some occasions to power off/on the printer in order to go back to normal operations...
- net_lj9040 / net_lj9050 : with both drivers, the file is simply ignored ! I've configured the queue to print a banner, and the only thing i get is precisely the banner page...
I'm stuck !
Any help apreciated...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 04:04 AM
тАО10-08-2009 04:04 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
Have you tried flashing the printer firmware. there was an update published in June this year .
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=446405&prodTypeId=18972&prodSeriesId=446406&swLang=8&taskId=135&swEnvOID=54
Also unusually there are two drivers listed in the model scripts list try this one which is more recent:
net_ljM9040MFP.sh.Z 4/01/08
at
http://www.hp.com/pond/modelscripts/index2.html
I hope this might be of some use
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 07:08 AM
тАО10-08-2009 07:08 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
I upgraded the printer firmware, and tried the suggested driver (net_ljM9040MFP.sh.Z 4/01/08).
With "normal net_lj9040 driver", the behaviour of the printer is the same : banner printed, but no output for the PS file.
With "suggested driver", I simply cannot define the printer ! :-( No error message from hppi tool.
Rgds,
Jose L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 08:04 AM
тАО10-08-2009 08:04 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
Well that used up one of my tricks.
Since I do not have one of those here I can't try these for you but they may help .
If unix does not use any fancy MFP features try using the net_ljx000 which often works for most hp printers.
Have a look at the printer config web page (or front panel). Is post script disabled in the printer ?
The web page error/event log may also give you a clue as to where it is hanging .
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 08:39 AM
тАО10-08-2009 08:39 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
PS is enabled.
I have enable also "PS error printing", and bingo !
Here is what I get :
---8<---
ERROR: undefined
OFFENDING COMMQND: @PJL "@PJL" COMMAND TYPE: nametype
OPERAND STACK: (0 total entries)
DICTIONARY STACK: (3 total entries)
===top of stack===
userdict
globaldict
systemdict
EXECUTION STACK: (6 total entries)
===top of stack===
@PJL
-filestream-
{ --exit_job--}
--@stopped--
{ --interrupts_no-- { false --setglobal-- --interrupts_reset-- { --cleardictstack-- -dictionary- --begin-- -dictionary- --begin-- } --exec-- ...} --stopped-- { -dictionary- /endjob true --put-- } --if-- ...}
--@exec--
BYTES FROM CURRENTFILE BEFORE ERROR:
@PJL
BYTES FROM CURRENTFILE AFTER ERROR:
SET PAPER=LETTER^J%!PS-ADOBE-2.0^JCreator: IlogViews Dump module [rest of printed file deleted]
---8<---
I must confess that this is chinese to me ! All I understand, is that the PostScript Level 3 interpreter of the LaserJet 9040 printer does not like my PostScript v2.0 file...
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 09:28 AM
тАО10-08-2009 09:28 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
I don't believe that IS PostScript...I suspect that it is HP PJL (aka Printer Job Language.
you may have to give the "lp" command something like "-o ps". not sure of the exact syntax, as I don't have one. there should be a man page "net_lj9x" "net_lj9000" or similar. take a look for an option that forces PS output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 04:38 PM
тАО10-08-2009 04:38 PM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 12:21 AM
тАО10-09-2009 12:21 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
Now that I have seen the error message, set the printer personality to auto this should enable the printer to switch between PJL/PCL from the model script and the Post Script from your program .
The raw option should also work. If your printer is PS only it will then be exclusively for PS files .
Under the option
Additional printer configuration in the hppi dialog you may be able to set the PS level, type the option number it will switch from from one to the other .
The last line shown implies that the model script is defaulting to letter size paper . If, like most of us, your printer is A4 set override A4/Letter to yes and auto continue to yes in the printer. The default paper size may be settable in the hppi dialog but not all model scripts permit it.
(Note to HP: Please set the printer paper size to default to A4 or fix hppi so that it allows us to choose for every printer )
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 01:14 AM
тАО10-09-2009 01:14 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
All the settings you've suggested are already set.
Conecerning changing 'PS Level' through hppi dialog, there's no other possibility than Postscript Level 3 (under additional parameters)
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 01:19 AM
тАО10-09-2009 01:19 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
option -oraw does not work either, printer prints thes same PS error than the one already posted in this thread.
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 03:49 AM
тАО10-09-2009 03:49 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
I think I have found the cause of the problem on page 8 of the user guide it says only the Post Script 3 personality is supplied by default.
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c00191861/c00191861.pdf
I would call HP and ask them for a post script 2 flash for it if there is one available. A quick search of the web site does not reveal one though.
another possibility . Will your application generate the output as a PDF file since this printer appears to accept direct PDF file printing .
You could try posting a question about post script compatibility for this printer range on the business support forum.
I am sorry I could not be of more help.
Please let us know if does turn out to be a printer capability issue
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 08:39 AM
тАО10-09-2009 08:39 AM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
that's what I was hoping the *-o ps* would accomplish. According to the specs, the printer accepts PJL and PS level 3. My thought was that PJL was getting "prepended" to the PS file, thus confusing the automatic language switching in the print engine....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 06:00 PM
тАО10-09-2009 06:00 PM
Re: Unable to print a PS v2.0 file on a HP LaserJet 9040n
-o ps actually turns on an ASCII text to PS converter. It's purpose was to print ASCII text to a Postscript-only printer.
Since this printer understands PJL, it should not be misinterpreting the PJL as Postscript does. This of course assumes that the PJL from the net_lj9040 script is valid. Try using net_ljx000, a general purpose LaserJet script.
To get rid of all PJL codes and just send the PS file, use hpnpf:
hpnpf -x 12.34.56.78 -n myfile.ps
The hpnpf program is the one that actually sends the file to the printer.
Bill Hassell, sysadmin