[Pkg-cups-devel] Bug#519265: cups prints text stretched horizontally 64.5%

sacrificial-spam-address at horizon.com sacrificial-spam-address at horizon.com
Wed Mar 11 13:47:40 UTC 2009


Package: cups
Version: 1.3.9-15

When I submit a plain text document to cups, I get output that
is stretched horizontally a significant amount.  If I ask for 16.45
characters per inch, the letters come out right, but indented lines
look funny.

Looking at cups, it's running text through texttopdf | pdftops | pstops.
This seems ridiculous, given that there's a texttops filter that works
fine.

Oddly, though, adding am /etc/cups/local.convs file that looks like

text/plain      application/postscript  1       texttops

doesn't seem to disable the texttopdf filter.  In fact, texttopdf is
not mentioned anywhere under /etc/cups, and it's still used.  WTF?

Only if I rename /usr/lib/cups/filter/texttopdf to texttopdf.DONTUSE
and restart (not force-reload) cups does it use texttops and produce
usable output.

Debian/unstable, i386, HP LaserJet with postscript support, printing via
socket:9100.


(A second bug is that texttops insists on including Courier
and Courier-Bold fonts which every single PostScript printer
since the original LaserWriter has in ROM already.  Moving
/usr/share/cups/fonts/Courier* to a different location produces perfectly
functional, and much smaller, output.  But this should probably be a
different bug report.)





More information about the Pkg-cups-devel mailing list