[cups.development] Duplex normal
Michael Sweet
msweet at apple.com
Tue Sep 18 15:11:01 PDT 2012
Eric,
What is the invocation code for your duplex options?
On 2012-09-18, at 5:16 PM, Eric Broadbent <ebroadbent at mac.com> wrote:
> Hi, I wanted to report a related problem where I cannot generate a Raster file with the Duplex options turned on, no matter what PPD options I configure the printer with. I can see arguments containing Duplex options passed to my backend filter:
> com.apple.print.PrintSettings.PMDuplexing..n.=2
> DuplexBindingEdge..n.=2
> sides=two-sided-long-edge
> Duplex=DuplexNoTumble
>
> .. but the Raster file always contains 0 for Duplex (bytes 272-275) and Tumble (bytes 368-371).
>
> Other similar problems that I've seen reported and have tried solutions for are:
>
> http://forums.adobe.com/thread/761450
> basically Turn "Collate" Off.
> http://www.netmojo.ca/howto/osx-tips-for-unix-admins.html
> Remove the "None" option and only have these options:
> *Duplex DuplexNoTumble: "<</Duplex true /Tumble false>>setpagedevice"
> *Duplex DuplexTumble: "<</Duplex true /Tumble true>>setpagedevice"
>
> And I also came across this thread here:
> http://www.cups.org/newsgroups.php?s1+gcups.development+v3+T0+QDuplex
>
> The printer always supports Duplex so I don't need a "*?Duplex:" query, but I've even tried this to tell CUPS that it's supported:
>
> *?Duplex: "(DuplexNoTumble) = flush"
>
> When I try printing with this *?Duplex query, the job log (in /private/var/log/cups with "LogLevel debug") does not contain any of the Duplex options above (e.g. ..PMDuplexing, DuplexBindingEdge, etc.) so something strange is afoot and I can't figure it out.
>
> What can I do to get Duplex/Tumble settings in the Raster file?
>
> Thanks for any help.
> -Eric B.
>
>> 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
>>
>
> _______________________________________________
> 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
mailing list