-
×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
- Printers
- LaserJet Printing
- No color printing when using a PJL pre-amble

Create an account on the HP Community to personalize your profile and ask a question
03-21-2018 03:01 AM
This is a new installation, using Papercut Print Management and HP Laserjet MFD E77830 printers. Our software provides back end printing for an ERP system, and to attribute the correct username for pull printing we use a PJL pre-amble. The username attribution works fine, but the printer will not print in colour when using PJL. It does print in color from Micrsoft Word. We use this PJL method with many other customers, and have never seen this issue elsewhere.
Any ideas on how to force color?
The PJL pre-amble looks like this -
12345X@PJL SET STRINGCODESET=UTF8
@PJL JOB NAME="madeupjobname"
@PJL SET GRAYSCALE=OFF
@PJL SET PLANESINUSE=3
@PJL SET HOLD=OFF
@PJL SET USERNAME="roger.rabbit"
@PJL SET FOLD=""
@PJL SET PUNCH=OFF
@PJL SET PROCESSINGACTION=APPEND
@PJL SET PROCESSINGTYPE="PUNCH"
@PJL SET PROCESSINGOPTION="NONE"
@PJL SET PROCESSINGBOUNDARY=MOPY
@PJL SET OUTBIN=AUTO
@PJL SET EDGETOEDGE=NO
@PJL SET PROCESSINGACTION=APPEND
@PJL SET PROCESSINGTYPE="STAPLING"
@PJL SET PROCESSINGOPTION="NONE"
@PJL SET PROCESSINGBOUNDARY=MOPY
@PJL SET PRINTQUALITY=NORMAL
@PJL SET HOSTLOGINNAME = "roger.rabbit"
@PJL SET JOBNAME = "madeupjobname"
@PJL SET JOB = "madeupjobname"
@PJL ENTER LANGUAGE=PCLXL
) HP-PCL XL;3;0;Comment Copyright(c) 1999 Microsoft Corporation
Solved! Go to Solution.
Accepted Solutions
03-21-2018 11:21 AM
Thanks DansDad,
That was my start point, and where the PJL came from.
I have just found that if I create a printer directly to a printer tcpip address rather then through the print server, the PJL is slightly different and the print comes out in color. This has me scratching my head a little, but I think it provides me with a solution.
My customer has gone home now, I will try through the server using the modified PJL tomorrow.
03-21-2018 10:14 AM
>> ... It does print in color from Micrsoft Word ...
As a first step, I'd 'capture' a sample Word print job to a file (select the 'print to file' option in the Print command), and see what PJL commands are used by the standard driver, and compare these to what you have.
03-21-2018 11:21 AM
Thanks DansDad,
That was my start point, and where the PJL came from.
I have just found that if I create a printer directly to a printer tcpip address rather then through the print server, the PJL is slightly different and the print comes out in color. This has me scratching my head a little, but I think it provides me with a solution.
My customer has gone home now, I will try through the server using the modified PJL tomorrow.
03-22-2018 05:50 AM
This problem was resolved by using the PJL produced by a local printer rather than a served printer. The pjl that resolved the issue looks like this -
@PJL JOB NAME="MadeUpJobName"
@PJL COMMENT "LocaPrinterl (0.3.1584.22695); Windows 10 Pro 10.0.15063.1; Unidrv 0.3.15063.138"
@PJL COMMENT "Username: roger.rabbit; App Filename: document; 3-21-2018"
@PJL COMMENT "NUP = NUP_1"
@PJL SET JOBATTR="OS=Windows"
@PJL SET JOBATTR="OS Version=Windows 10 Pro 10.0.15063.1"
@PJL SET JOBATTR="Render Type=UPD"
@PJL SET JOBATTR="Render Name=HP Universal Printing PCL 6 (v6.5.0)"
@PJL SET JOBATTR="Render Version=61.210.1.22695"
@PJL SET JOBATTR="JobAcct1=roger.rabbit"
@PJL SET JOBATTR="JobAcct2=MyWorkstation"
@PJL SET JOBATTR="JobAcct3=Ham"
@PJL SET JOBATTR="JobAcct4=20180321170619"
@PJL SET JOBATTR="JobAcct5=6ff1fbc1-c6a1-4db0-986c-8a56f191eabd"
@PJL SET JOBATTR="JobAcct6=MyApp"
@PJL SET JOBATTR="JobAcct7=MyApp.exe"
@PJL SET JOBATTR="JobAcct8=roger.rabbit"
@PJL SET JOBATTR="JobAcct9="
@PJL DMINFO ASCIIHEX="0400040101020D101001153230313830333231313730363139"
@PJL SET GRAYSCALE=OFF
@PJL SET PLANESINUSE=3
@PJL SET HOLD=OFF
@PJL SET USERNAME="roger.rabbitl"
@PJL SET SEPARATORPAGE=OFF
@PJL SET FOLD=""
@PJL SET PUNCH=OFF
@PJL SET PROCESSINGACTION=APPEND
@PJL SET PROCESSINGTYPE="PUNCH"
@PJL SET PROCESSINGOPTION="NONE"
@PJL SET PROCESSINGBOUNDARY=MOPY
@PJL SET QTY =1
@PJL SET OUTBIN=AUTO
@PJL SET EDGETOEDGE=NO
@PJL SET PROCESSINGACTION=APPEND
@PJL SET PROCESSINGTYPE="STAPLING"
@PJL SET PROCESSINGOPTION="NONE"
@PJL SET PROCESSINGBOUNDARY=MOPY
@PJL SET PRINTQUALITY=NORMAL
@PJL SET HOSTLOGINNAME = "roger.rabbit"
@PJL SET JOBNAME = "MadeUpJobName"
@PJL SET JOB = "MadeUpJobName"
03-22-2018 06:01 AM
Good that you appear to have got things working.
But I can't see anything in your revised PJL pre-amble which should make any difference to whether or not the printer prints in colour.
[For information: the DMINFO command is just setting a date / time value].