• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
From questions to kudos — grow your reputation as a tech expert with HP Support! Click here to sign up.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended

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.

 

 

8 REPLIES 8
HP Recommended

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).

HP Recommended

This is the screen shot from Araxis Merge Files Comparison ReportPCL XL error Comparison.png

HP Recommended

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). 

HP Recommended

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.

HP Recommended

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ø‰À

 

HP Recommended

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).

HP Recommended

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 

 

PCL XL error Missing sections.png

HP Recommended

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:

 

Capture.PNG

 

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).
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.