This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Printing locally
- From: Brian Salter-Duke <b_duke at octa4 dot net dot au>
- To: fergus at bonhard dot uklinux dot net <fergus at bonhard dot uklinux dot net>
- Cc: cygwin at cygwin dot com
- Date: Mon, 4 Mar 2002 09:54:04 +0930
- Subject: Re: Printing locally
- References: <000501c1c2a1$26596300$6fc82486@medschool.dundee.ac.uk>
On Sun, Mar 03, 2002 at 10:49:53AM -0000, fergus at bonhard dot uklinux dot net wrote:
> What about this? Any good?
> If the file a.txt is DOS terminated, try
> cp a.txt prn
> OR
> cat a.txt > prn
> and if a.txt is Unix-terminated, try
> cat a.txt | unix2dos > prn
> Fergus
This was a good suggestion but it still does not work. It just does
nothing as does directing the output to PRINT or LPT1.
The file a.txt if put into Notepad either in dos or unix format prints
fine.
Cheers, Brian.
--
Brian Salter-Duke (Brian Duke) b_duke@octa4.net.au
Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia.
Phone 08-89881600. Fax 08-89881302. http://lacebark.ntu.edu.au/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/