Bug#781253: cups: no duplex printing (two-sided) with lp or lpr
On Mon 30 Mar 2015 at 11:30:26 +0200, Vincent Lefevre wrote:
> On 2015-03-27 19:12:13 +0000, Brian Potkin wrote:
> >
> > 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?
As root here:
ngrep port 631 > cupsfile
> > 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
> >
> > The versions for cups and foomatic related packages would be useful to
> > know.
>
> The versions on the print server?
Yes. The processing of the job takes place there.
Cheers,
Brian.
Reply to: