FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 02-11-2008, 01:24 PM
Bram Kuijper
Default lpr on postscript-color yields blank, one page PDF

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

I also tried unfiltered input, i.e.,
lpr -P postscript-color -o "media=Letter raw" mypdfinput.pdf
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?

workarounds through other programs (ie., the GUI, pdftk) are not useful
to my situation. I just need to use the lpr command for this.

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 06:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org