[cups.development] Apple's generic PPD file

Michael Sweet msweet at apple.com
Wed Sep 7 08:45:26 PDT 2011


The generic PostScript driver only works with PostScript printers. If you are only printing to HP laser printers, it is likely (but not guaranteed) that the printers will support PostScript and PCL. The "correct" implementation would be to use the snmp backend to query the IP address provided to get the make, model, and 1284 device ID which can be used to lookup a matching PPD.

That said, the Mac already has a way to add a printer using an IP address, and you should use that to insulate yourself from future changes to CUPS or Mac OS X rather than duplicating the functionality in your own application.

On Sep 7, 2011, at 7:53 AM, Azuri wrote:

> I am developing a mac app which calls cups at back end to add printer based on IP address. I dont know any info about the printer except the IP Address. So using cups API I was able to add printer after I linked it to generic Apple PPD. I had to link it to generic one as I dont know what ppd to choose and from where as I dint have much info about the printer user wants to add. so using this I was able to print perfectly fine on HP laserjet printers. My question is will this generic PPD work with any printer in the enviroment? Also I dont specify anything about printer driver, so I am using cups is intelligent enought to figure out on its own right?
> 
> Thanks,
> Azuri
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair









More information about the cups-devel mailing list