[cups-devel] Using cups API to send PDF document without converting to PS first

Michael Sweet msweet at apple.com
Thu Mar 15 12:00:44 PDT 2018


Nimesh,

Try using the "everywhere" driver - you'll find the generated PPD in the /etc/cups/ppd directory.

As for passcode support, that is still spotty with many printers but if your printer supports the IPP "job-password" attribute then the right things will be added to the PPD.


> On Mar 15, 2018, at 2:54 PM, Nimesh Amin <nimesh.i.amin at gmail.com> wrote:
> 
> Note, I was using an older CUPS version that was on Ubuntu 16.04.  I've
> just upgraded to 17.10, which is getting me 2.2.4-7ubuntu3.
> I used the xrxc400.ppd from Xerox, which obviously doesn't contain any CUPS
> specific attributes.  I've noticed using -m everywhere to install printers
> now via lpadmin.  Should I just use that, considering it's an IPP printer?
> Where would the generated PPD end up?  I'll need to add some specific items
> for passcode support (unless that's already implemented).
> 
> 
> On Wed, Mar 14, 2018 at 10:30 PM, Michael Sweet <msweet at apple.com> wrote:
> 
>> That depends on the driver that is being used, but it *is* possible.  What
>> cupsFilter lines are present in the PPD file for the queue in question?
>> 
>>> On Mar 14, 2018, at 10:56 PM, Nimesh Amin <nimesh.i.amin at gmail.com>
>> wrote:
>>> 
>>> I’m using cupsStartDestDocument with format CUPS_FORMAT_PDF to send a PDF
>>> document to a PDF capable printer.  I’m noticing that the document is
>>> converted and sent as Postscript.  Is there a way, besides having to use
>>> ipp* fn’s directly, to send the PDF document without CUPS doing a
>>> conversion?
>>> _______________________________________________
>>> cups-devel mailing list
>>> cups-devel at cups.org
>>> https://lists.cups.org/mailman/listinfo/cups-devel
>> 
>> _________________________________________________________
>> Michael Sweet, Senior Printing System Engineer
>> 
>> _______________________________________________
>> cups-devel mailing list
>> cups-devel at cups.org
>> https://lists.cups.org/mailman/listinfo/cups-devel
>> 
> _______________________________________________
> cups-devel mailing list
> cups-devel at cups.org
> https://lists.cups.org/mailman/listinfo/cups-devel

_________________________________________________________
Michael Sweet, Senior Printing System Engineer



More information about the cups-devel mailing list