Postscript woes

Valentijn Sessink <[email protected]> Fri, 2 Feb 2024 14:17:52 +0100
Newsgroups dev.linux.lists.printing-users
Message-ID <[email protected]>
Hi list,

I'm almost sorry for yet another message.

I'm back to the "regular" (i.e. non snap) cups but it does the same with 
My HP P2055dn printer: every 2nd page is raw PS.

 From tcpdump, I'm seeing the following header sent to the printer:

ยท%-12345X@PJL
@PJL JOB NAME = "Test Page" DISPLAY = "4 valentyn Test Page"
@PJL SET USERNAME = "valentyn"
%%@PJL ENTER LANGUAGE = PostScript
%!PS-Adobe-3.0
%%Invocation: gs -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sstdout=? 
-sDEVICE=ps2write -dShowAcroForm -sOUTPUTFILE=? 
-sProcessColorModel=DeviceGray -sColorConversionStrategy=Gray 
-dLanguageLevel=2 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE ?

Now shouldn't the "@PJL ENTER LANGUAGE" not be without these percentage 
signs? Why would it say "%%@PJL ENTER LANGUAGE"? Or is the "@PJL ENTER 
LANGUAGE" actually *missing* and is the %%... actually supposed to be a 
Postscript comment? (Don't think so, because the !PS-Adobe clause is on 
the next line).

Best regards,

Valentijn