More testing.  Suggested fix sent to me in private email.  It definitely
has to do with the flow of filters.

My above suggestion is definitely a kluge.  You should not have to lie
to the cups system about the font width.  Someone else emailed me
privately with a different kluge that involved commenting out lines in
/usr/share/cups/mime/texttopdf.convs for text/plain and for text/html.
I did that but lp'ed a simple sh script and it was in the 6 cpi format
again.  To stop Karmic cups from munging text files you would have to
comment out every kind of text file type listed in that file.  When all
are commented out then text files would be sent to the printer without
conversion, which is what he and I want,  but rather than frustrate
whatever part of the filter chain is looking in texttopdf.convs for what
to do, I would rather have the printing system check if it is a
textfile, then do no additional filtering and send direct to the printer
for those printers that can print text without it being rasterized
first.

One thing I notice is that none of the openSuSEs that I have run in the
last several years has a texttopdf.convs file, while both versions of
Ubuntu (linuxmint version of 7.04 and current 9.10) have the file.  cups
worked properly in 7.04 with the same convs file as in the current
version.  printers.conf in Karmic has 3 filter commands for each defined
printer, whereas none of SuSE 10.1 and 11.1 and 7.04 have filter
directives in printers.conf.  I have tried to read the cups manuals, but
have not found any discussion of default handling of text files.

Is this a problem with Ubuntu only or also upstream to Debian?

Long time since I have done any serious debugging.  What is the best set
of tools to try to trace when and where filters are being used and what
they are chaining to?

-- 
text prints in wide font, errors logged
https://bugs.launchpad.net/bugs/474962
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to