[cups] pdftops causes duplex page premature ejection on Brother
Richard Chan
rc556677 at outlook.com
Sat Feb 22 10:33:26 PST 2014
Problem: CUPS(poppler) pdftops output produces premature ejection of
duplex pages on Brother MFC-9330CDW BR-Script3 PPD because /PageSize
is set at the beginning of each page.
Installed CUPS with BR-Script3 PPD to a Brother MFC-9330CDW.
When the printer is set to duplex, the pdftops filter
causes each duplex page to be ejected prematurely
before the second side is done.
I attach two ps files, one produced by Windows(good) and one produced by
pdftops (bad, 1st side ejected before 2nd page is printed).
The root cause seems to be that CUPS/pdftops is setting
/PageSize at the top of every page
%%%
%% pdfSetupPaper is a procedure that sets /PageSize
%% with setpagedevice
%%BeginFeature: *PageRegion A4
<< /PageSize [596 842] /ImagingBBox null>> setpagedevice
%%EndFeature
%% Page 1
596 842 pdfSetupPaper
%% Page 2
596 842 pdfSetupPaper
%%%
When the printer sees this it immediately ejects the odd numbered page,
even though the /PageSize(s) are the same.
If I comment out "596 842 pdfSetupPaper" on every even page, then
duplex prints correctly.
If I do
lp -o sides=two-sided-long-edge <textfile>
duplex printing works as it goes through paps/pstops and /PageSize is not
set at the top of each page.
Is there a way to get the CUPs filter to not try to set /PageSize
on even pages when duplex is on?
More information about the cups
mailing list