Smart Printer Pfd selection

Dave smith dave.smith at candata.com
Fri Jun 13 07:03:47 PDT 2008


> Dave smith wrote:
> > I have a printer that will accept a pdf document directly. Our application sometimes sends text files and sometimes generates pdf. The application has no idea of the printer type (ie. does the printer support the direct print pdf option). Is it possible to setup cups so that if a print queue is passed a pdf it prints it directly without converting to postscript first? But in the case of a plain text file it does the conversion to ps.
> >
> >
> >
>
> You could tell CUPS that PDF is a native format for the printer
> by putting a line
>
> *cupsFilter: "application/pdf 0 -"
>
> into the printer's PPD. That will feed PDF files directly into
> the printer, bypassing any CUPS filters. But note that this solution
> lacks any evaluation of job attributes (like page-ranges, orientation,
> etd. etc., unless the printer is hooked to the IPP backend and
> handles the job attributes passed through by IPP.
>
> Helge
>
I still need the processing for orientation and tray selection. Can I tell cups that the ultimate format to the printer is PDF not Postcript?
The real problem is that the print jobs are going over a slow link and the pdf I generate is 125k and the postscript is >600k.
> --
> Helge Blischke
> Softwareentwicklung
>
> H.Blischke at acm.org





More information about the cups mailing list