Hi,

comparing the file OK400PCL.ppd with other ppd's, I noticed an odd extra 
parameter for Duplex.  Applying the following patch:

<snip>
--- /usr/share/ppd/okidata/OK400PCL.ppd.orig    2019-09-01 13:28:57.087482158 
+0200
+++ /usr/share/ppd/okidata/OK400PCL.ppd 2019-09-01 13:29:42.562208160 +0200
@@ -238,17 +238,17 @@
 *DefaultDuplex: None
 *Duplex None/None: "
  <<
- /Duplex false /Tumble false /Policies << /Duplex 2 >>
+ /Duplex false /Tumble false
  >> setpagedevice"
 *End
 *Duplex DuplexNoTumble/Long-Edge Binding: "
  <<
- /Duplex true /Tumble false /Policies << /Duplex 2 >>
+ /Duplex true /Tumble false
  >> setpagedevice"
 *End
 *Duplex DuplexTumble/Short-Edge Binding: "
  <<
- /Duplex true /Tumble true /Policies << /Duplex 2 >>
+ /Duplex true /Tumble true
  >> setpagedevice"
 *End
 *CloseUI: *Duplex
</snip>

seems to be /half/ of the solution:

After re-installing the printer, duplex printing works, but /only/ with 
long-edge binding.  Selecting short-edge binding also prints duplex, but again 
with long-edge binding, i.e. the “/Tumble true” setting seems to be ignored.  I 
rarely use that option, but it should work, too…

Thanks,
Albrecht.

Attachment: pgpwDQAZzWu2m.pgp
Description: PGP signature

Reply via email to