Bug#781253: cups: no duplex printing (two-sided) with lp or lpr
On 2015-03-27 19:12:13 +0000, Brian Potkin wrote:
> On Fri 27 Mar 2015 at 11:27:41 +0100, Vincent Lefevre wrote:
>
> > On 2015-03-27 09:46:55 +0000, Brian Potkin wrote:
> > > Evince is very likely using 'Duplex=DuplexNoTumble' when the file gets
> > > to the server. How does 'lp -o Duplex=DuplexNoTumble file.pdf' fare?
> >
> > Same problem.
>
> With a print queue set up for the Ricoh MP C3003 PS on a Wheezy machine
> (cups 1.5.3-5+deb7u4) and printing from Evince on an up-to-date Jessie
> machine using client.conf we get this for argv[5]:
>
> "InputSlot=1Tray RPSRGBcorrect=DetailBright RPSDitherType=Auto
> RIwmSize=36 RIBannerPageMediaType=Auto LockedPrintPassword=None
> RIWMText=Confidential Rcmyksimulation=Off RIwmAngle=45Deg
> Booklet=None RPSColorRendDict=Auto RIPaperPolicy=PromptUser
> RPSBlackMode=gray noRPSColorUniversalDesign PageSize=A4
> JobType=Normal noRIBannerPagePrint RIPrintMode=0rhit
> MediaType=Auto RIRotateBy180=Off RIwmTextStyle=Gray
> RIBannerPageInputSlot=Auto ColorModel=CMYK Rimagesm=Off
> number-up=1 noRPSBlackOverPrint RIOrientOvr=Off
> Resolution=600dpi RPSColorSep=None DocServerPassword=None
> UserCode=None Duplex=DuplexNoTumble RIwmFont=HelveticaB
> RIWatermark=Off OutputBin=Default RPSBitsPerPixel=1BitsPerPixel
> job-uuid=urn:uuid:56b63b42-349d-3379-4399-f9ae15d99b13
> job-originating-host-name=192.168.7.212 time-at-creation=1427480204
> time-at-processing=1427480204"
>
> For 'lp -p test -o sides=two-sided-long-edge file.pdf' it is:
>
> "finishings=3 number-up=1 sides=two-sided-long-edge
> job-uuid=urn:uuid:a9eacec3-3b00-30c4-799f-677abbbdb0d3
> job-originating-host-name=192.168.7.212
> time-at-creation=1427480636 time-at-processing=1427480636
> Duplex=DuplexNoTumble"
>
> In both cases the client has sent the PDF and the correct options. At
> this stage cups-client appears to have done its job correctly.
Is there a way to know that it is also the case on my machine
with the client.conf I'm using?
> The duplex options also appear to have been injected into PS stream and
> the PS file produced ihere after traversing the filtering system on the
> server seems to reflect this correctly.
>
> %%Requirements: duplex
>
> %%BeginFeature: *Duplex DuplexNoTumble
> <</Duplex true /Tumble false>>setpagedevice
> %%EndFeature
>
> > > Do we assume you do not have access to the server logs?
> >
> > I don't, but I can ask the sysadmin.
>
> The versions for cups and foomatic related packages would be useful to
> know.
The versions on the print server?
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: