print specific pages of a pdf from the command line?

H.S. hs.samix at gmail.com
Sat May 29 04:52:05 UTC 2010


Patton Echols wrote:
> Doug Robinson wrote:
>> Hello all
>>     Is there any way to print, say 1 page of 5 of a pdf from the command 
>> line?
>>
>>   
> 
> Have not tried this, but how about something like this:
> 
> First a test:
> $ lpr testdoc.pdf

Please correct me if I am wrong, but lpr does not understand PDF files,
only ps files. So, whoever want to try a PDF file with this, be
*absolutely* sure that it will work ... I have seen countless pages
being spewed out by printers who were sent a PDF files instead of a PS.

On the other hand, if 'lpr <PDF file>' works, I will be pleasantly
surprised.



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.





More information about the ubuntu-users mailing list