delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/03/19:26:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 4 Mar 2002 09:54:04 +0930
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
Subject: Re: Printing locally
Message-ID: <20020304095404.A1512@BSALTERDUKE1>
References: <000501c1c2a1$26596300$6fc82486 AT medschool DOT dundee DOT ac DOT uk>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <000501c1c2a1$26596300$6fc82486@medschool.dundee.ac.uk>; from fergus@bonhard.uklinux.net on Sun, Mar 03, 2002 at 10:49:53AM -0000
X-OriginalArrivalTime: 04 Mar 2002 00:25:42.0589 (UTC) FILETIME=[1E7566D0:01C1C313]

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 AT octa4 DOT net DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019