Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Andy Koppe schrieb: One workaround is to convert the file manually using iconv, e.g.: $ iconv -f utf-8 -t iso-8859-1 bla.txt | a2ps -o bla.ps This works ok. Thanks! I will try to make an alias for it. Please note that 'nano' also doesn't support UTF-8 yet. While entering characters looks

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Thomas Wolff schrieb: So the easiest practical solution is to use a Windows tool: notepad /p filename This works, too. Thanks! Niklaus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Thomas Wolff schrieb: 1. notepad /p prints to your default printer 2. for font configuration, invoke notepad manually; if you want a fixed-width font for text printing, these are recommendable for a good coverage of Unicode: Lucida Console, Courier New, Andale Mono, Everson Mono

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Corinna Vinschen schrieb: On Jan 12 15:59, Niklaus Kuehnis wrote: Hi, 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. Did you read the User's Guide, especially http

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Corinna Vinschen schrieb: I've now read that page. As UTF-8 is generally the preferred charset, I would like to stick to it. Does changing the language, e.g. to de_CH, change umlaut handling? It doesn't seem to, here. It does, though. If you read the page you have learned that setting LANG to

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Andy Koppe schrieb: 2010/1/15 Niklaus Kuehnis: If you want to be sure to use UTF-8, then say so: export LANG=de_CH.UTF-8. I set this variable (and also LC_CTYPE and LC_ALL), and printing with umlauts with bare a2ps works fine now. Thanks! I can't confirm that. Sure you were printing a UTF-8