JCL line termination issue

brian.hoy at opus.co.nz brian.hoy at opus.co.nz
Sun Nov 21 20:20:23 PST 2004


Hello,

We are using a Panasonic DP-4510 Postscript level 3 printer, through Samba 2.2.12/CUPS 1.1.21, with automatic driver downloads.

The printer works fine when the CUPS queue is set to raw (using lpd BTW), however it only prints "text" out when configured with the supplied PPD file. In our case, this means JCL commands followed by pages of Postscript.

The JCL lines in the supplied PPD file are:

*Protocols:          PJL TBCP
*JCLBegin:           "<1B>%-12345X at PJL JOB<0D><0A>"
*JCLToPSInterpreter: "@PJL ENTER LANGUAGE=PS<0D><0A>"
*JCLEnd:             "<1B>%-12345X at PJL EOJ<0D><0A><1B>%-12345X"

By doing a network snoop of the LPD protocol, I can see that the CUPS filters (in non raw mode) do not terminate the JCL with CR/LF pair as requested, only a LF character.

When running in raw mode, the CR/LF pair is sent to the printer, and the job prints properly.

I would really appreciate it if you could fix CUPS to honour the line termination requested by the PPD.

Many thanks,
Brian





More information about the cups-devel mailing list