[cups.general] Printing PDF files with CUPS and lp command

Helge Blischke h.blischke at srz.de
Thu Oct 4 04:36:33 PDT 2007


Gerald Britton wrote:
> This is primarily for Kurt and Helge:
> 
> On a newly installed ubuntu feisty 7.04, I did the following:
> 
> $ /usr/bin/pdftops -v
> pdftops version 3.00
> Copyright 1996-2004 Glyph & Cog, LLC
> $/usr/bin/pdftops my.pdf /tmp/pdftops.out
> $lp -o raw /tmp/pdftops.out
> 
> Result: output correctly scaled and printed automatically!
> 
> $/usr/lib/cups/filter/pstops 1 'me' 'me' 1 '' /tmp/pdftops.out >/tmp/pstops.out
> $lp -o raw /tmp/pstops.out
> 
> Result: output correctly scaled and printed automatically!
> 
> lp my.pdf
> 
> Result:  Printer prompted me for paper size A4.  Results not scaled to
> fit the page
> 
> The log (loglevel info) for the job is:
> 
> I [03/Oct/2007:10:49:34 -0400] Adding start banner page "none" to job 10.
> I [03/Oct/2007:10:49:37 -0400] Adding end banner page "none" to job 10.
> I [03/Oct/2007:10:49:37 -0400] Job 10 queued on
> "hp_LaserJet_9040_MFP_10.18.16.253" by "jerryb1".
> I [03/Oct/2007:10:49:40 -0400] Started filter
> /usr/lib/cups/filter/pdftops (PID 5452) for job 10.
> I [03/Oct/2007:10:49:40 -0400] Started filter
> /usr/lib/cups/filter/pstops (PID 5454) for job 10.
> I [03/Oct/2007:10:49:40 -0400] Started backend
> /usr/lib/cups/backend/socket (PID 5455) for job 10.
> E [03/Oct/2007:10:49:43 -0400] [Job 10] pdftops-options: -cfg
> /etc/cups/pdftops.conf
> 
> 
> So, it seems that the pdftops filter in /usr/lib/cups/filters may be
> the culprit here.  Is it possible to disable it somehow so only the
> binary pdftops runs?
> 

Remember the modifications you did on the printer's PPD following
my suggestions. Did you perform the same modifications on the
new system?!

Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list