lpr on postscript-color yields blank, one page PDF
Bram Kuijper
a.l.w.kuijper at rug.nl
Mon Feb 11 14:24:36 UTC 2008
Hi all,
I try to print a pdf from another pdf by using cups-pdf exclusively
through the lpr command on the commandline. However, I always get a
single-paged blank PDF-file of 2.1 mb. Always.
How can I actually _print_ a pdf to another pdf using lpr and cups-pdf
on the command line?
I use the following command (my cups-pdf printer is named
"postscript-color"):
lpr -P postscript-color -o media=Letter mypdfinput.pdf
this yields the following error in /var/log/cups/error_log:
E [11/Feb/2008:15:17:35 +0100] [Job 359] Empty print file!
E [11/Feb/2008:15:17:35 +0100] PID 10539 (/usr/lib/cups/filter/pstops)
stopped with status 1!
E [11/Feb/2008:15:17:35 +0100] [Job 359] Job stopped due to filter errors.
that is strange, since my ppd file named postscript-color is certainly
present in /etc/cups/ppd/postscript-color.ppd. Also the pdf is certainly
there.
I also tried unfiltered input, i.e.,
lpr -P postscript-color -o "media=Letter raw" mypdfinput.pdf
or
lpr -l -P postscript-color -o media=Letter mypdfinput.pdf
does not work either...
which command do I omit? should I submit a bug report?
PS:
workarounds through other programs (ie., the GUI, pdftk) are not useful
to my situation. I just need to use the lpr command for this.
More information about the ubuntu-users
mailing list