[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#781253: cups: no duplex printing (two-sided) with lp or lpr



Control: tags 781253 - unreproducible

On 2015-04-29 09:23:05 +0100, Brian Potkin wrote:
> tags 781253 - unreproducible
> thanks

wasn't taken into account.

> On Mon 27 Apr 2015 at 16:36:18 +0200, Vincent Lefevre wrote:
> > Sorry for the late reply. In the mean time, I talked to the sysadmin
> > and we did more tests. I'm reopening the bug since I have more
> > information that could be useful to get a client-based solution
> > (just like what evince does). I also have an option that works,
> > but undocumented.
> 
> How does babel-bib.pdf print when Page Scaling is set to "none" in
> Evince?

It sill prints in duplex. Ditto if I unselect "Auto Rotate and Center".
But if I select "Select page size using document page size", then it
no longer prints in duplex.

> > The printer has A3 and A4 paper. With lp and lpr, A4 PDF files are
> > printed in duplex mode as expected. The problem actually occurs
> > with files having the "letter" page size. For such files (such as
> > the one attached as an example), lp and lpr print them on A4 paper
> > but one-sided; and xpdf using the lpr command (with no options)
> > prints them two-sided, but on A3 paper. For xpdf, I had reported
> > the bug:
> > 
> >   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781251
> 
> My understanding is that xpdf does nothing more than send the PDF to a
> queue with lp/lpr. Consideration could be given to merging #78125 with
> this report.

Actually xpdf seems to convert the PDF file to PS, since I have
the same problem after a pdftops. This is confirmed by the xpdf(1)
man page if correct:

  print button
      Bring up a dialog for generating a PostScript file.  The  dialog
      has  options  to  set the pages to be printed and the PostScript
      file name.  The file name can be '-' for stdout or '|command' to
      pipe the PostScript through a command, e.g., '|lpr'.

So, this would not be a bug in xpdf.

-- 
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: