[cups.bugs] [HIGH] STR #1652: "short-edge binding" option ineffective on some files where should work

Chapman Flack ghost at anastigmatix.net
Tue May 2 14:34:35 PDT 2006


[STR New]

The attached PostScript file (which was obtained by xpdf 3.0pl1 print to
file, followed by psbook and psnup from psutils 1.17) prints as
duplex-longedge through CUPS even when duplex-shortedge is requested for
the print job.
However, simply adding <</Duplex true/Tumble true>>setpagedevice at the
top of the file and sending directly to the printer by FTP works, and the
file prints correctly. Therefore it is not a matter of something in the
PS file overriding the setpagedevice or the like. Also, a simpler test
PS file does correctly print if duplex-shortedge is requested for the job.

The printer is a level-3 PostScript Tektronix 750 with tk750dx1.ppd, and
it is configured in CUPS for duplex-longedge by default. The relevant part
of the PPD (as stored in etc/cups/ppd) follows:

*OpenUI *Duplex/2-Sided Printing: PickOne
*OrderDependency: 54.0 AnySetup *Duplex
*DefaultDuplex: DuplexNoTumble
*Duplex None/Off: "
   <</Duplex false /Tumble false>> setpagedevice"
*End
*Duplex DuplexNoTumble/Long-Edge Binding: "
   <</Duplex true /Tumble false>> setpagedevice"
*End
*Duplex DuplexTumble/Short-Edge Binding: "
   <</Duplex true /Tumble true>> setpagedevice"
*End
*?Duplex: "
 currentpagedevice begin Duplex {
   Tumble {
     (DuplexTumble)
   }{
     (DuplexNoTumble)
   } ifelse
 }{
   (None)
 } ifelse end
 = flush"
*End
*CloseUI: *Duplex

Link: http://www.cups.org/str.php?L1652
Version: 1.1.23
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.ps
Type: application/octet-stream
Size: 13555 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20060502/32a3115a/attachment.obj>


More information about the cups-devel mailing list