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

Bug#613987: lpr prints blank pages



reassign 613987 cups-filters
thanks




On Tue 28 Oct 2014 at 22:31:29 +0100, Francesco Poli wrote:

> On Tue, 28 Oct 2014 17:24:08 +0000 Brian Potkin wrote:
> 
> > These applications use cairo; a PDF submitted to cups is not the same
> > PDF submitted by lpr and lp.
> 
> It seems to me that cairo uses more robust ways to submit print jobs to
> cups: would it be possible to modify lpr so that it may use cairo to do
> the "rendering" before submitting the print job to cups? 

The conversion of a PDF to a PDF may be seen as unnecessary and unlikely
to meet with universal approval. For example:

  https://www.bountysource.com/issues/1333719-printing-if-input-file-is-ps-file-gets-directly-passed-to-cups-if-it-is-pdf-an-ugly-rerendering-happens

You may do this for yourself if you want by having 'pdftocairo -pdf' in
your workflow.

> > In fact, lp and lpr send identical PDFs so
> > a poor output for lpr should also be a poor output for lp. Having a PDF
> > which produces an unsatisfactory print with both would be useful.
> 
> I haven't ever used lp to submit print jobs: I usually use lpr, as I am
> used to its command-line options.

I think that lp and lpr have the same set of options. Anyway, my point
(not very well made) was that the lpr command itself and cups-bsd are
not the problem, so I am reassigning the bug to cups-filters with a Cc
to Till K to ascertain whether buggy printer interpreters could be an
issue.

> Anyway, I tested the two files originally sent by jaakov [1], and I get
> blank pages when printing
> HensgenFinkelManber-TwoAlgorithmsForBarrierSynchronization.pdf with
> lpr, as reported by jaakov at the time.

I have no printer available for the next few days. I'll try the same PDF
when I can.
 
> [1] the two attachments of https://bugs.debian.org/613987#5
> 
> > We could do with knowing what printers are used, their PPDs and how they
> > are connected.
> 
> Two examples.
> 
> HP LaserJet 1320n
> -----------------
> connected via Ethernet LAN and configured with the following commands:
> 
> # lpadmin -p lj -E -v lpd://x.y.z.w/lp0 \
>   -m foomatic:HP-LaserJet_1320-pxlmono.ppd \
>   -o pdftops-renderer=pdftops \
>   -D "HP LaserJet 1320"
> # lpoptions -p lj -o media=A4 -o sides=two-sided-long-edge

That PPD outputs HP Printer Job Language and not PostScript. I don't
think -o will have any effect. It could be used with the Phasor though.

Regards,

Brian.


Reply to: