How to print textfiles in Cygwin 1.7?

Thomas Wolff towo@towo.net
Wed Jan 13 11:07:00 GMT 2010


On 13.01.2010 07:48, ext Andy Koppe wrote:
> 2010/1/12 Niklaus Kuehnis:
>    
>> I've upgraded to Cygwin 1.7 (release version, clean install) and now am unable to print text files with non-ascii characters (i.e. German umlauts) from commandline.
>>
>> On Cygwin 1.5 printing used to work with a2ps but now all umlauts are replaced by strange characters (i.e. the u with diaeresis appears as a capital A with a tilde and '1/4'). The same happens with lpr. The files print fine using the Windows text editor.
>>      
> The problem is that both a2ps and lpr don't yet support UTF-8.
>    
So the easiest practical solution is to use a Windows tool:
notepad /p filename

as I also use it for the print function of my editor mined; notepad 
auto-detects UTF-8 nicely!

Thomas

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list