[SOLVED] Printing text with ascii control characters

Mariano Aliaga marianoaliaga at gmail.com
Fri Apr 18 07:40:16 PDT 2008


Just for the record...

I could fix this by modifying the /etc/cups/mime.convs file. I changed:

text/plain             application/postscript  33      texttopaps

to:

text/plain              application/postscript  33      textonly

   This way, I use the Postscript driver and can print both types of contents.

> Hi,
>    I have the following situation: I need to print text files from legacy applications with ascii control characters (that define font size, text orientation, etc) to several HP Laserjet network printers. I've tried many models/drivers (postscript, pcl, raw, etc) but the only one that properly recognizes those control characters is "Generic text-only printer".
>    The problem is that I also need to print other contents (pdf mainly), and can't do it with text-only printing (works ok with postscript or pcl drivers).
>    How can I print BOTH kind of contents right? Any help would be appreciated.
>
> Thanks in advance.





More information about the cups mailing list