-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Printers Archive
- Which HP printer driver sends @PJL JOB NAME with print data?

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

05-26-2015 04:37 AM
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
Solved! Go to Solution.
Accepted Solutions
05-26-2015 05:08 AM
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:
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.
05-26-2015 04:54 AM
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.
05-26-2015 05:02 AM
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 ...
05-26-2015 05:08 AM
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:
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.
05-26-2015 05:36 AM
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
