David, thanks for your response.
I have tried -f option on lpr and get the following :

# lpr -P Printer_name -f print.test2
lpr: warning - 'f' format modifier not supported - output may not be
correct!
Tried searching for more information on lpr filtering and ANSI but
didn't come up with anything to do as we want.

Any further assistance is much appreciated.

Kind Regards,
Vikesh Bhoola


-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
David Boyes
Sent: 15 April 2009 04:00 PM
To: [email protected]
Subject: Re: CUPS printing not recognising ANSI Printer Control
Characters

You need to specify a filter that processes ANSI formatting. Try -f on
the lpr command.

You can define sets of CUPS options and use them similar to a form code,
but AFAIK, there isn't a autodetect for rotation. You could easily write
one as a filter; the CUPS code provides sufficient exits to allow it.


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
Please Note: This email and its contents are subject to our email legal notice 
which can be viewed at http://www.sars.gov.za/Email_Disclaimer.pdf 
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to