printing pdf files?

Roger Oberholtzer roger
Mon May 17 11:50:01 PDT 2004


On Mon, 28 Jul 2003 09:21:30 -0400
dep <dep at linuxandmain.com> wrote:

> a tad of an emergency here, because i have some forms i need to fill out 
> and file, but i can't print the silly things.
> 
> i'm running cups and acrobat wants to use /usr/bin/lpr; i do not get 
> anything at all when i allow it to proceed. likewise xpdf. ghostview 
> gives me errors before even loading the file, as does the kde pdf 
> viewer.

I think you are screwed. I had a form to print in a similar way. All the
printing programs ultimately use ghostscript. If ghostscript won't show it,
the system won't print it. And, my experience is that you get no error. It
just goes into the ozone. But, saving to a file in postscript and then
checking it interactively with gv shows the problem.

I had to print from Windows. I also tried saving the postscript from the
windows acroread program and checked if ghostscript would print that. Nope.
So, I came to the conclusion that the problem was not acroread/xpdf, but
ghostscript.

> so i guess what i'm looking for is the command string necessary to get 
> acrobat to send through cups, i.e., what to say on the line where it 
> says /usr/bin/lpr.

Try

	cat xx.pdf | acroread -toPostScript | lpr

acroread --help is your friend here. Maybe dome of the postscript options
(-level1, for example) might help ypur file. They did not help mine...

-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list