Control: tags -1 help upstream Control: forwarded -1 https://github.com/rbalint/printer-driver-oki/pull/2
Hi Albrecht, On Sun, 01 Sep 2019 14:22:08 +0200 Albrecht =?iso-8859-1?b?RHJl3w==?= <albrecht.dr...@arcor.de> wrote: > 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… Thank you for the fix. I've forwarded it upstream, but I'm upstream and I have little clue if this fix is correct. :-( I created the upstream repository just for publicly archiving the PPD files which were hard to find and now the can be useful for other distributions there, as well. If I get no feedback I plan merging the change in a few months and updating the package in Debian. Cheers, Balint