CUPS texttops and duplex printing

Helge Blischke h.blischke at acm.org
Wed Apr 25 09:02:39 PDT 2012


Matthias Apitz wrote:

> Hello,
> 
> I have an UTF-8 text file and want to print it in duplex mode to a printer
> KONICA MINOLTA C360SeriesPS(P) which is able to hanel duplex (and doing
> this for Win7 printing as default).
> 
> The print command in CUPS (1.4.6) is:
> 
> $ lpr -Paps -o sides=two-sided-long-edge utf8.txt
> 
> it runs the UTF-8 text file fine through the filter texttops in the
> print is fine, but not duplex;
> 
> I checked texttops by calling it as:
> 
> $ texttops 1 rleigh myfile 1 "finishings=3 number-up=1
> orientation-requested=3 sides=two-sided-long-edge" utf8.txt > ps
> 
> but the file 'ps' does not contain any Postscript directive having
> to do with side or duplex printing;
> 
> How is this option '-o sides=two-sided-long-edge' implemented in CUPS
> exactly?
> 
> Thanks
> 
>     matthias

Look into your printer's PPD for the duplex related keywords. I suspect that 
the keywords in the PPD are named
KMDuplex 
or the like, and probably the pstops filter doew not recognize these alias 
names.
As a aorkaround, either replace the sides=... by KMDuplex=true (or what your 
PPD tells), or edit the PPD and delete the "KM" prefix from the respective 
keywords.

In addition, you might file a feature request for the pstops filter to 
honour the KM... keywords (and possibly more as needed).

Helge





More information about the cups mailing list