[cups] Sending mail from a CentOS7 virtual machine to Fuji Xerox ApeosPort-IV C4475 problem revisted

Gernot Hassenpflug aikishugyo at gmail.com
Wed Oct 17 22:55:17 PDT 2018


On Thu, Oct 18, 2018 at 2:36 PM マスターズ・イアン <ian at ncsa.jp> wrote:

> Hi Gernot
>
> Here are the results of the suggestions you gave:
>

Hi Ian,


> > And nothing else missing in the linux file that is in the Windows one?
>
> More specifically,
> Win:
>  %-12345X at PJL JOB MODE=PRINTER
> @PJL SET JOBATTR="@LUNA=1234"
> @PJL SET JOBATTR="@TRCH=ON"
> @PJL SET DUPLEX=OFF
> @PJL SET BINDING=LONGEDGE
> @PJL SET JOBATTR="@SPSE=AUTO"
> @PJL SET JOBATTR="@MSIP=NORMAL"
> @PJL SET JOBATTR="@APSP=OFF"
> @PJL SET RENDERMODE=GRAYSCALE
> @PJL SET ECONOMODE=OFF
> @PJL SET RET=ON
> @PJL SET JOBATTR="@IREC=OFF"
> @PJL SET JOBATTR="@TRAP=OFF"
> @PJL SET JOBATTR="@IEXT=STANDARD"
> @PJL SET JOBATTR="@JOEP="
> @PJL SET JOBATTR="@DAID="
> @PJL SET JOBATTR="@ACNA=2018-09-14-1014-cups-test.txt"
> @PJL SET JOBATTR="@SBKP=OFF"
> @PJL SET JOBATTR="@BANR=DEVICE"
> @PJL SET JOBATTR="@NLPP=1"
> @PJL SET JOBATTR="@HOAD=IAC103AA9"
> @PJL SET JOBATTR="@JOAU=1234"
> @PJL SET JOBATTR="@CNAM=MyPC"
>
> Linux:
> @PJL JOB MODE=PRINTER
> @PJL COMMENT begin
> @PJL COMMENT Version:4.00
> @PJL SET JOBATTR="@CNAM=MyPC"
> @PJL SET JOBATTR="@DAID="
> @PJL SET JOBATTR="@LUNA=1234"
> @PJL SET JOBATTR="@JOAU=1234"
> @PJL SET RENDERMODE=AUTOCOLOR
> @PJL SET JOBATTR="@DIPQ=STANDARD"
> @PJL SET PAPER=A4
> @PJL SET COLLATE=OFF
> @PJL SET COPIES=1
> @PJL SET JOBATTR="@FSTP=0"
> @PJL SET JOBATTR="@LSTP=0"
> @PJL SET JOBATTR="@LOUT=NOSCALING"
> @PJL SET JOBATTR="@ZOOM=100"
> @PJL SET DUPLEX=OFF
> @PJL SET JOBATTR="@ANNT=OFF"
> @PJL SET AUTOSELECT=ON
> @PJL SET MEDIATYPE=NORMAL
> @PJL SET OUTBIN=MAINTRAY
> @PJL SET JOBATTR="@FSIZ=6004"
> @PJL SET TIMEOUT=0
>
> There are no @PJL COMMENT lines in my Linux .prn except "@PJL COMMENT
> begin" and "@PJL COMMENT Version:4.00"
>
> The files look pretty different.
>
> I wonder if FSIZ has some meaning like file size. Not that PJL should have
an effect there I think, but try removing lines that you think might be
unneeded (i.e., not inserted by the linux driver) and seeing if the Windows
file still prints when sent to the printer.

> How about taking a Windows printjob, stripping out the PJL lines, then
> passing that printjob through your filters to see if the output can be
> printed?
>
> It didn't even arrive at the printer ...
>

I don't understand. The Windows file prints, right?
So take the file, strip out the lines you are going to reinsert with your
filters, run the file through the insert filter manually, check to see the
lines are there again, then send it to the printer to see if it performs
like its original did.
Now you know if your insertion is good or not.
After that you can mess around with other commands in the linux file to see
if they have any effect. I mean, you have a file that works, you could also
remoe lines from that until the content matches the linux file (in case
there are less PJL commands) and see if it still prints or not.

Cheers,
Gernot Hassenpflug


More information about the cups mailing list