OT: print a pdf from command line

Dan Coutu coutu at snowy-owl.com
Mon May 23 08:15:48 PDT 2005


Richard D. Williams wrote:

> I would like to print a pdf file from the command line on a Red Hat box.
>
> Can anyone give me any suggestions?
>
> Thanks,
>
> Richard D. Williams

Richard, assuming that your printer is already configured and you want 
to print to the default printer
it is as easy as:

lpr mydocument.pdf

Where, of course, you specify your real filename instead of mydocument.pdf.

Note: the lp command is often interchangeable with the lpr command. 
That's just a bit of
funkiness from the BSD/System V split in UNIX oh so many years ago.

Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: coutu.vcf
Type: text/x-vcard
Size: 260 bytes
Desc: not available
Url : http://lists.celestial.com/pipermail/filepro-list/attachments/20050523/f76e4159/coutu.bin


More information about the Filepro-list mailing list