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.
Thoga
Just joined
5 3 0 0
Message 1 of 6
9,661
Flag Post

Solved!

Which HP printer driver sends @PJL JOB NAME with print data?

HP Recommended

Hello,

 

I need to extract the job name (document name) of raw print data received on port 9100.

 

Within PJL the job name is transferred with the @PJL SET JOB NAME="document" - command.

 

My question is which HP printer driver generates this PJL data? I've found out that my private Laserjet M1530-driver does, but I've found no other one.

 

Does anybody know which of the windows build in HP printer drivers generates the PJL-JOBNAME-output?

 

Many thx

Thomas

1 ACCEPTED SOLUTION

Accepted Solutions
dansdaduk
Level 9
3,562 3,230 282 547
Message 4 of 6
Flag Post
HP Recommended

Perhaps the built-in PCL6 (PCL XL) drivers don't include what you want.

 

My Windows 8.1 Professional 64-bit system has a built-in PCL5 driver for the LaserJet 1320 printers:

 

Capture.PNG

 

 

You may have to click the Windows Update button in the Add Printer dialogue, then wait (perhaps for several minutes) whilst additional drivers are downloaded, before the list is repopulated.

View solution in original post

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

I suspect that many of the LaserJet drivers include this information as part of the generated job header.

 

For example, on my Windows 8.1 Pro 64-bit system, the PCL5 driver built-in to the operating system for my LaserJet 1320 generates job headers of the form:

 

<Esc>%-12345X
@PJL JOB NAME="EAN13_notes.rtf.txt - Notepad"[0a]
@PJL SET STRINGCODESET=UTF8[0a]
@PJL COMMENT "hp LaserJet 1320 PCL 5 (61.53.25.9); Windows 8.1 Pro 6.3.9600.1; Unidrv 0.3.9600.16384"[0a]
@PJL COMMENT "Username: chris; App Filename: EAN13_notes.rtf.txt - Notepad; 4-30-2014"[0a]
@PJL DMINFO ASCIIHEX="0400040101020D101001153230313430343330313533373130"[0a]
@PJL SET HOLD=OFF[0a]
@PJL SET USERNAME="chris"[0a]
@PJL SET JOBNAME="EAN13_notes.rtf.txt - Notepad"[0a]
@PJL SET PROCESSINGTYPE="STAPLING"[0a]
@PJL SET PROCESSINGOPTION="NONE"[0a]
@PJL SET PROCESSINGBOUNDARY=MOPY[0a]
@PJL SET RESOLUTION=600[0a]
@PJL ENTER LANGUAGE=PCL[0a]
<Esc>E
. . .
etc.

where <Esc> represents the Escape control-code character, and [0a] represents the LineFeed control-code character.

Was this reply helpful? Yes No
Thoga
Author
Just joined
5 3 0 0
Message 3 of 6
Flag Post
HP Recommended

hmm, I've also tried many of the built-in standard-drivers, but non of them does the job.

 

All of them do only generate:

 

ESC%-12345X@PJL JOB
@PJL SET JOBATTR "OS =Windows"
@PJL SET JOBATTR "OS Version = Windows 8.1 6.3.9600.1"
@PJL SET JOBATTR "Render Type = InOS"
@PJL SET JOBATTR "Render Name = HP PCL6 Class Driver"
@PJL SET JOBATTR "Render Version=6.3.4.1"
@PJL SET COPIES=1
@PJL SET QTY=1
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE=PCLXL
) HP-PCL XL;3;0;Comment Copyright(c) 1999-2011 Hewlett-Packard Corporation

 

And strange, I also use Windows 8.1 pro, 64bit, and I do not have the Laserjet 1320 listed ...

 

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

Perhaps the built-in PCL6 (PCL XL) drivers don't include what you want.

 

My Windows 8.1 Professional 64-bit system has a built-in PCL5 driver for the LaserJet 1320 printers:

 

Capture.PNG

 

 

You may have to click the Windows Update button in the Add Printer dialogue, then wait (perhaps for several minutes) whilst additional drivers are downloaded, before the list is repopulated.

View solution in original post

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

... and I know that the PCL XL driver (not an in-operating system one) for my LaserJet Pro 400 Colour MFP M475dn printer includes the @PJL SETJOBNAME command in the job headers.

Was this reply helpful? Yes No
Thoga
Author
Just joined
5 3 0 0
Message 6 of 6
Flag Post
HP Recommended

ok!

 

Have used the "Windows Update"-Feature within the printer setup dialog, got the Laserjet 1320, and does work.

 

ESC%-12345X@PJL JOB NAME="Testseite"
@PJL SET STRINGCODESET=UTF8
@PJL COMMENT "hp LaserJet 1320 PCL 5 (61.53.25.9); Windows 8.1 Pro 6.3.9600.1; Unidrv 0.3.9600.17415"
@PJL COMMENT "Username: thomas; App Filename: Testseite; 5-26-2015"
@PJL DMINFO ASCIIHEX="0400040101020D101001153230313530353236313132303032"
@PJL SET HOLD=OFF
@PJL SET USERNAME="thomas"
@PJL SET JOBNAME="Testseite"
@PJL SET QTY=1
@PJL SET PROCESSINGTYPE="STAPLING"
@PJL SET PROCESSINGOPTION="NONE"
@PJL SET PROCESSINGBOUNDARY=MOPY
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE=PCL

 

Then I've also tried  the "Laserjet 2100 Series PCL5" which also does the job well:

 

ESC%-12345X@PJL JOB NAME="Testseite"
@PJL SET STRINGCODESET=UTF8
@PJL COMMENT "HP LaserJet 2100 Series PCL 5 (61.53.25.9); Windows 8.1 Pro 6.3.9600.1; Unidrv 0.3.9600.17415"
@PJL COMMENT "Username: thomas; App Filename: Testseite; 5-26-2015"
@PJL DMINFO ASCIIHEX="0400040101020D101001153230313530353236313133323130"
@PJL SET HOLD=OFF
@PJL SET USERNAME="thomas"
@PJL SET JOBNAME="Testseite"
@PJL SET QTY=1
@PJL SET PROCESSINGTYPE="STAPLING"
@PJL SET PROCESSINGOPTION="NONE"
@PJL SET PROCESSINGBOUNDARY=MOPY
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE=PCL

 

while the "Laserjet 2100 PCL6" does not:

 

ESC%-12345X@PJL JOB
@PJL COMMENT MS PCLXL NT Driver
@PJL SET PAGEPROTECT=ON
@PJL SET TIMEOUT=90
@PJL SET RESOLUTION=600
@PJL SET BITSPERPIXEL=2
@PJL ENTER LANGUAGE=PCLXL
) HP-PCL XL;2;0;Comment Copyright(c) 1999 Microsoft Corporation

 

So as the PCL-5 version (built-in) seems to be able to do the job, while the PCL6-versoin (built-in) does not ...

 

Now I hope that PCL5 will suffice for the underlying printing application.

 

Chris, thank you very much!

and best regards

Thomas

 

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