[cups.development] Duplex normal

Michael Sweet msweet at apple.com
Mon Aug 13 21:11:38 PDT 2012


Don't use the "Duplex" directive with "Attribute" - "Duplex" does the cupsBackSide and cupsFlipDuplex attributes for you.

Instead, use the "Option" and "Choice" directives.


On Aug 9, 2012, at 3:40 AM, keens312 <keens312 at hotmail.com> wrote:

> Hi Michael,
> 
> In DRV file, I wrote this:
> // Duplex supported
> Duplex normal
> Attribute cupsBackSide ""  Rotated
> Attribute cupsFlipDuplex "" True
> 
> If I compile it with ppdc in OSX 10.5 (CUPSDDK 1.2.3), I got this in PPD
> *cupsBackSide: "Rotated"
> *cupsFlipDuplex: True
> 
> If I compile it with ppdc on OSX 10.8 (OS provides), I got this in PPD
> *cupsBackSide: "Normal"
> *cupsBackSide: "Rotated"
> *cupsFlipDuplex: True
> 
> The extra line "*cupsBackSide: Normal" leads to a bug in auto duplex printing, only short edge binding.
> 
> Michael, what do you suggest? Should I use the old ppdc instead of the new version ppdc on OSX 10.8?
> 
> Thanks
> Keene
> _______________________________________________
> 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