On Tue, Dec 07, 2004 at 12:36:34PM +0000, Oleg Goldshmidt wrote:
> softkol <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> > 
> >   Is there a way to print a PDF file to printer queue from a command
> >   line?
> 
> 
> Have you tried 
> 
> pdf2ps file.pdf - | lpr

pdftops, pdf2ps: one of them is from gs, the other is from xpdf..
Basically have the same functionality. You can also pay a bunch to Adobe
for a similar functionality in "distiller".

> Your problem will be that the filename will not appear in the printer
> queue. So write a script that does pdf2ps, lpr, and removed the ps
> silently.

How about 'lpr file.pdf'? Doesn't it have print filters in place?

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to