-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Printers Archive
- Re: PCL XL error, missing attributes of networking printing ...

Create an account on the HP Community to personalize your profile and ask a question

05-12-2013 10:47 PM
So here is the problem, proviously we were use win XP SP3 and all shared printer worked fine.Currently after migration to windows 7 64 bit this issue is appear. PCL XL error.
Below is two missing row for .prn file from not working state
In a working state
@PJL JOB NAME = "application name"
@PJL SET STRINGCODESET=UTF8
While in working state this row is available
What should we do for this issue ? We have use latest driver Universal DriverPCL 5 and PCL 6.
05-13-2013 07:01 AM
You say that you get a PCL XL error, but you haven't provided any details of the error.
I can't see what relevance the PJL JOBNAME or STRINGCODESET attributes have in this respect.
You mention .prn files, so you've captured the output of the different drivers.
Can you provide copies of these .prn files (assuming that the documents being printed don't contain any personal information).
This (consumer) forum doesn't provide a means of attaching files, but the equivalent business forums (see http://h30499.www3.hp.com/t5/Printing-and-Digital-Imaging/ct-p/bsc-412 ) do, although you'd have to disguise .prn files with an extra .txt extension in order to allow them to be attached.
I further note that you say that you've tried the PCL5 Universal Printer Driver (UPD); but a PCL5 job should not generate a PCL XL error (PCL XL is the name of the Page Description Language associated with PCL6 drivers).
05-14-2013 01:50 AM
I'll repeat my question - what PCL XL error is being reported?
Your 'file compare' output shows that there are differences in the PCL XL language statements, not just in the enclosing PJL commands.
Can you provide copies of your error.prn and andri.prn capture files, since it is extremely difficult to check the PCL XL structure (especially as I've no idea what coded character set has been used by Araxis to display a representation of the contents).
05-14-2013 02:24 AM - edited 05-14-2013 02:33 AM
I suspect that, within the PCL XL:
- The Orientation attribute (with it's accompanying data) is missing from the attribute list of the (first?; only?) BeginPage operator.
- The PageCopies attribute (with it's accompanying data) is missing from the attribute list of the (first?; only?) EndPage operator.
But I can't confirm this without copies of the .prn files.
... or you could analyse the files yourself using the PRN File Analyse tool within the PCL Paraphernalia application (available via http://www.pclparaphernalia.eu ).
I don't know what you'd need to do, either within your application, or within the printer driver settings, to cause the attributes to be included (I would normally expect that they would be included automatically), but confirming the diagnosis may perhaps provide some clue as to the cause.
05-14-2013 03:14 AM
This is the "working.prn"
%-12345X@PJL JOB @PJL COMMENT MS PCLXL NT Driver @PJL JOB NAME="Microsoft Word - Document1" @PJL SET STRINGCODESET=UTF8 @PJL SET SMOOTHING=ON @PJL SET PROCESSINGTYPE=PI_COVER_BACK @PJL SET PROCESSINGOPTION=OFF @PJL SET PROCESSINGTYPE=PI_COVER_FRONT @PJL SET PROCESSINGOPTION=OFF @PJL SET USERNAME="WINDOWS USER" @PJL SET JOBNAME="Microsoft Word - Document1" @PJL USAGE = CURI,,34e9,08,,02,01 @PJL SET PROCESSINGTYPE="IMAGE_SHIFT" @PJL SET PROCESSINGOPTION="NONE" @PJL SET PROCESSINGBOUNDARY=MOPY @PJL SET DUPLEX=ON @PJL SET BINDING=LONGEDGE @PJL SET PROCESSINGTYPE="STAPLING" @PJL SET PROCESSINGOPTION="NONE" @PJL SET PROCESSINGBOUNDARY=MOPY @PJL SET RET=MEDIUM @PJL SET PRINTONBACKSIDE=OFF @PJL SET RESOLUTION=600 @PJL ENTER LANGUAGE=PCLXL ) HP-PCL XL;2;0;Comment Copyright(c) 1999 Microsoft Corporation ÑXXø‰À
And This is " not working.prn
%-12345X@PJL JOB @PJL COMMENT MS PCLXL NT Driver @PJL SET SMOOTHING=ON @PJL SET PROCESSINGTYPE=PI_COVER_BACK @PJL SET PROCESSINGOPTION=OFF @PJL SET PROCESSINGTYPE=PI_COVER_FRONT @PJL SET PROCESSINGOPTION=OFF @PJL SET PROCESSINGTYPE="IMAGE_SHIFT" @PJL SET PROCESSINGOPTION="NONE" @PJL SET PROCESSINGBOUNDARY=MOPY @PJL SET DUPLEX=ON @PJL SET BINDING=LONGEDGE @PJL SET PROCESSINGTYPE="STAPLING" @PJL SET PROCESSINGOPTION="NONE" @PJL SET PROCESSINGBOUNDARY=MOPY @PJL SET RET=MEDIUM @PJL SET PRINTONBACKSIDE=OFF @PJL SET RESOLUTION=600 @PJL ENTER LANGUAGE=PCLXL ) HP-PCL XL;2;0;Comment Copyright(c) 1999 Microsoft Corporation ÑXXø‰À
05-14-2013 03:55 AM
Once again, you've not told us exactly what PCL XL error is being reported; the error report should provide details of Subsystem, Error, Operator and Position (although, depending on the printer model, the details may be a bit different).
... and as regards the .prn files, the parts of interest are those which start with:
ÑXXø‰À
but just attempting to display them doesn't help as I've no idea whether or not the display mechanism distorts what we see (due to the display character set and the handling of control-code bytes).
I really need to see the actual file content, although a display in hexadecimal notation would perhaps help a little bit (but take an inordinately long time to analyse).
05-14-2013 07:38 PM
This is the error of PCL XL
PCL XL error
Subsystem: KERNEL
Error : MissingAttribute
Operator : BeginPage
Position : 3
I think base on araxis merge that I captured, is quite clear.
Some part is missing while in error state, you could see as i marked " missing sections'
1. No job printing
2. No windows user name .
Just wondering why it happened, and perhaps you have a solutions rather than just delete package driver like and add printer again as i mentioned previously.
It's ok I knew this is quite hassle issue, and mostly remain as an X Files
Thx
05-15-2013 02:35 AM
As I said before, the reported PCL XL error is nothing to do with any of the PJL commands (missing, or not).
The error is because a mandatory attribute is missing from the attribute list which precedes and quantifies the PCL XL BeginPage operator.
From the evidence you've supplied I can't properly analyse the PCL XL, but (I think) that I've reconstructed one small (but relevant) part of the stream, and here is an analysis of that part of the 'good' one:
PCLXL Data Type 0xc0 ubyte Value 0x00 ePortraitOrientation PCLXL Attribute 0xf828 Orientation PCLXL Data Type 0xc0 ubyte Value 0x01 eAutoSelect PCLXL Attribute 0xf826 MediaSource PCLXL Data Type 0xc8c10500 ubyte_array Value 0x506c61.. "Plain" PCLXL Attribute 0xf827 MediaType PCLXL Data Type 0xc8c006 ubyte_array Value 0x4c4554.. "LETTER" PCLXL Attribute 0xf825 MediaSize PCLXL Operator 0x43 BeginPage
This corresponds to the text in your araxis report of:
À\x0000ø(À\x0001ø&ÈÁ\x0005\x0000Plainø'ÈÀ\x0006LETTERø%C
Note that part of this sequence is missing from the 'bad' example:
The missing bit corresponds to the Orientation attribute and its preceding data.
The obvious conclusion is that the (PCL6) printer driver is at fault, but it's also perhaps possible that there is some fault in the interaction between the application (whatever that is) and the printer driver.
You could:
- Check to see if there is a later version of the PCL6 driver available for your platform.
- Or use a PCL5 (or perhaps PostScript) printer driver, since these will not cause PCL XL errors to be generated (although they may of course give rise to other faults).
