cancel
Showing results for 
Search instead for 
Did you mean: 
The HP Calculator Community Message Board is moving. While we prepare for the move, we are unable to accept new postings. During the move, you can look for help from other users by visiting https://www.hpmuseum.org/ . Or if you need technical support for your calculator visit: HP Calculators. .
ArchivedThis 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.
babalooey
New member
2 1 0 0
Message 1 of 7
1,481
Flag Post

PCL 5 doesn't seem to work properly on OfficeJet 6700

HP Recommended

I've got a home-grown program that prints a form using PCL 5.  The last printer (J6480) broke so I bought a new OfficeJet 6700.  When the form prints the job freezes after the paper is ejected from teh printer, i.e., it finishes but the job is left on the queue blocking any other jobs.  Cancelling the job on the Windows queue causes it to complete.  I've tried some adjustments to the PCL to see if I can isolate the problem.  One experiment, changing Esc a&-45V to Esc a&-90V, causes the job to freeze before the page is printed.  Again, cancelling the job on the Windows queue causes it print and exit the queue.  (Cancelling on the console just cancels the print in both cases.)  Help?

 

I read somewhere that some of the newer printers use PCL 3+ instead of 5/6 but I can't find anything saying what the 6700 supports and I can't find a manual for 3+...and shouldn't the printer just ignore commands it doesn't understand?

 

So, what's going on and how do I fix it...anyone?  Thanks.

6 REPLIES 6
dansdaduk
Level 9
3,562 3,230 282 547
Message 2 of 7
Flag Post
HP Recommended

According to the specifications (see http://support.hp.com/us-en/document/c03058896 ), the OfficeJet 6700 series printers support the HP PCL 3 enhanced language; as far as I'm aware, this includes only a few PCL5 sequences.

Was this reply helpful? Yes No
babalooey
Author
New member
2 1 0 0
Message 3 of 7
Flag Post
HP Recommended

Thanks for the quick reply.  Do you know where I can find the programmer's guide for pcl3+?

Was this reply helpful? Yes No
dansdaduk
Level 9
3,562 3,230 282 547
Message 4 of 7
Flag Post
HP Recommended

I don't believe that HP publish details of any of the printer languages derived from PCL3, such as PCL3 Enhanced, PCL3GUI, PCLSleek, etc.

I think (but don't know) that this is possibly because the language varies from device to device.

 

As far as I can make out, the language used by the OfficeJet 6700 printer uses what is referred to as the Raster Transfer Language, which is a basic set of PCL escape sequences where (almost) all of the rendering is achieved using raster graphics sequences.

 

Here is an (edited) analysis of the output of the Windows 8 built-in HP OfficeJet 6700 Series Class Driver (printing the test page); you may have to cut and paste the details into (e.g.) a NotePad document in order to avoid line-wrap:

 

 

0000000000     Data                                     [00][00][00][00][00][00][00][00][00][00][00][00][00]
0000000012                                              [00][00][00][00][00][00][00][00][00][00][00][00][00]
0000000025                                              [00][00][00][00][00][00][00][00][00][00][00][00][00]
. . .
. . .
. . . 0000017969 [00][00][00][00][00][00][00][00][00][00][00][00][00] 0000017982 [00][00][00][00][00][00][00][00][00][00][00][00][00] 0000017995 [00][00][00][00] 0000018000 PCL Simple <Esc>E Printer Reset 0000018002 PCL Parameterised <Esc>%-12345X Universal Exit Language (UEL) Comment Switch language to PJL 0000018011 PJL Command @PJL ENTER LANGUAGE=PCL3GUI[0d][0a] Comment Switch language to PCL3GUI 0000018040 PCL Simple <Esc>E Printer Reset 0000018042 PCL Parameterised <Esc>&l0S Simplex/Duplex: Simplex 0000018047 PCL Parameterised <Esc>&l7H Paper Source: Automatic Selection 0000018052 PCL Parameterised <Esc>&l0M Media Type: Plain Paper 0000018057 PCL Parameterised <Esc>*o5W Driver Configuration (data length = 5) 0000018062 PCL Binary [ 5 bytes ] [ 0d 03 00 00 01 ] 0000018067 PCL Parameterised <Esc>*o0M Print Quality: Normal 0000018072 PCL Parameterised <Esc>&l26A Page Size: A4 0000018078 PCL Parameterised <Esc>&l0E Top Margin (0 lines) 0000018083 PCL Parameterised <Esc>&l0L Perforation Skip: Disable 0000018088 PCL Parameterised <Esc>*o5W Driver Configuration (data length = 5) 0000018093 PCL Binary [ 5 bytes ] [ 0b 01 00 00 00 ] 0000018098 PCL Parameterised <Esc>&u600D Unit-of-Measure (600 PCL units per inch) 0000018105 PCL Parameterised <Esc>*t600R Raster Graphics Resolution (600 dots per inch) 0000018112 PCL Parameterised <Esc>*r4882S Raster Width: Source (4882 pixels) 0000018120 PCL Parameterised <Esc>*g20W Configure Raster Data (data length = 20) 0000018126 PCL Binary [ 20 bytes ] [ 06 1f 00 02 02 58 02 58 09 00 01 01 02 58 02 58 ] 0000018142 [ 0a 01 20 01 ] 0000018146 PCL Parameterised <Esc>*r1A Start Raster Graphics: Left Margin at X 0000018151 PCL Parameterised <Esc>*b256Y Y Offset (256 raster lines) 0000018158 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018163 PCL Parameterised <Esc>*b0W Transfer Raster Data By Row/Block (data length = 0) . . .
. . .
. . . 0000018588 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018593 PCL Parameterised <Esc>*b0W Transfer Raster Data By Row/Block (data length = 0) 0000018598 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018603 PCL Parameterised <Esc>*b23W Transfer Raster Data By Row/Block (data length = 23) 0000018609 PCL Binary [ 23 bytes ] [ 9f ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ] 0000018625 [ 4d 00 d8 78 ff ff 51 ] 0000018632 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018637 PCL Parameterised <Esc>*b0W Transfer Raster Data By Row/Block (data length = 0) 0000018642 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018647 PCL Parameterised <Esc>*b0W Transfer Raster Data By Row/Block (data length = 0) 0000018652 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018657 PCL Parameterised <Esc>*b0W Transfer Raster Data By Row/Block (data length = 0) 0000018662 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018667 PCL Parameterised <Esc>*b0W Transfer Raster Data By Row/Block (data length = 0) 0000018672 PCL Parameterised <Esc>*b0V Transfer Raster Data By Plane {data length = 0) 0000018677 PCL Parameterised <Esc>*b19W Transfer Raster Data By Row/Block (data length = 19) 0000018683 PCL Binary [ 19 bytes ] [ 9b ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ] 0000018699 [ 4d 80 1f ] . . .
. . .
. . . 0000241064 PCL Parameterised <Esc>*rC End Raster Graphics 0000241068 PCL Parameterised <Esc>*rC End Raster Graphics 0000241072 PCL Control Code <FF> Form Feed 0000241073 PCL Simple <Esc>E Printer Reset 0000241075 PCL Parameterised <Esc>%-12345X Universal Exit Language (UEL) Comment Switch language to PJL

 

Note that the output starts with 18000 <NUL> bytes - I've no idea what these signify, or what function they perform.

Was this reply helpful? Yes No
dansdaduk
Level 9
3,562 3,230 282 547
Message 5 of 7
Flag Post
HP Recommended

... and here is a statistics summary (again, cut and paste the details into (e.g.) a NotePad document in order to avoid line-wrap) of the sequences used in that captured print stream:

 

Sequence             Description                                           Parent    Embedded  Total   
-------------------  ----------------------------------------------------  --------  --------  --------

                     _____________                                                             
                     PJL commands:                                                             
                     ¯¯¯¯¯¯¯¯¯¯¯¯¯                                                             
ENTER                Enter language                                        1         0         1
                     __________________                                                        
                     PCL control codes:                                                        
                     ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯                                                        
0x0c                 <FF>: Form Feed                                       1         0         1
                     _____________________                                                     
                     PCL simple sequences:                                                     
                     ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯                                                     
<Esc>E               Printer Reset                                         3         0         3
                     ____________________________                                              
                     PCL parameterised sequences:                                              
                     ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯                                              
<Esc>%#X (#=-12345)  Universal Exit Language (UEL)                         2         0         2
<Esc>&l#A (#=26)     Page Size: A4                                         1         0         1
<Esc>&l#E            Top Margin (# lines)                                  1         0         1
<Esc>&l#H (#=7)      Paper Source: Automatic Selection                     1         0         1
<Esc>&l#L (#=0)      Perforation Skip: Disable                             1         0         1
<Esc>&l#M (#=0)      Media Type: Plain Paper                               1         0         1
<Esc>&l#S (#=0)      Simplex/Duplex: Simplex                               1         0         1
<Esc>&u#D            Unit-of-Measure (# PCL units per inch)                1         0         1
<Esc>*b#V            Transfer Raster Data By Plane {data length = #)       4609      0         4609
<Esc>*b#W            Transfer Raster Data By Row/Block (data length = #)   4609      0         4609
<Esc>*b#Y            Y Offset (# raster lines)                             1         0         1
<Esc>*g#W            Configure Raster Data (data length = #)               1         0         1
<Esc>*o#M (#=0)      Print Quality: Normal                                 1         0         1
<Esc>*o#W            Driver Configuration (data length = #)                2         0         2
<Esc>*r#A (#=1)      Start Raster Graphics: Left Margin at X               1         0         1
<Esc>*rC             End Raster Graphics                                   2         0         2
<Esc>*r#S            Raster Width: Source (# pixels)                       1         0         1
<Esc>*t#R            Raster Graphics Resolution (# dots per inch)          1         0         1

As mentioned before, the PCL3GUI language (as used with many inkjet devices) appears to be a mainly raster-based language.

 

... and before you ask, I don't how where (if anywhere publicly) the specification of the data associated with the Driver Configuration and Configure Raster Data sequences is published.  

Was this reply helpful? Yes No
BobWig
New member
1 1 0 0
Message 6 of 7
Flag Post
HP Recommended

It is not only PCL5 I tried to use PCL II and it still does not drop the document at the end of printing.  Post if you found a work around please.

Was this reply helpful? Yes No
Chrizzy2013
Retired
Retired
141 269 5 33
Message 7 of 7
Flag Post
HP Recommended

Hello BobWig.

 

Do you have the full feature software installed? Try this first.

 

Click the KUDOS star on the left to say “thanks” for helping!
Please mark a reply “Accept as Solution” if it solved your issue so others can find it.
I work on behalf of HP.

I worked on behalf of HP.
Was this reply helpful? Yes No
ArchivedThis 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 Terms of Use and Rules of Participation