From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11212 invoked by alias); 5 Mar 2002 23:39:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 11171 invoked from network); 5 Mar 2002 23:39:03 -0000 Received: from unknown (HELO hotmail.com) (64.4.21.132) by sources.redhat.com with SMTP; 5 Mar 2002 23:39:03 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 5 Mar 2002 15:39:03 -0800 Received: from 216.135.220.54 by lw14fd.law14.hotmail.msn.com with HTTP; Tue, 05 Mar 2002 23:39:03 GMT X-Originating-IP: [216.135.220.54] From: "Karl M" To: cygwin@cygwin.com Bcc: Subject: Re: Printing locally Date: Tue, 05 Mar 2002 15:39:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Mar 2002 23:39:03.0478 (UTC) FILETIME=[EEE27560:01C1C49E] X-SW-Source: 2002-03/txt/msg00281.txt.bz2 Hi All... Having watched this thread, I decided to give the printing a try (in the past, I have only done Windows based printing). If I do cat file > prn or cat file > //machine/DeskJet from a bash shell the file is sent to the printer, but the printer gets an error (flashing error light on the printer) that must be cleared before the file prints. After clearing the error, the page I printed for testing is printed. If I do print file from a bash shell, it prints just fine. My system is a Win2kpro with everything current as of this morning. Thanks, Karl >From: "Larry Hall (RFK Partners, Inc)" >To: Brian Salter-Duke , fergus at bonhard dot >uklinux dot net >CC: cygwin@cygwin.com >Subject: Re: Printing locally >Date: Mon, 04 Mar 2002 11:22:51 -0500 > >At 07:24 PM 3/3/2002, Brian Salter-Duke wrote: > >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. > > >Hm, then there must be some issue locally. I have used both > >cat file.txt > prn > >and > >cat file.txt > /// > >with no problems in the past. If one or both of these don't work for you, >you may be stuck trying to debug it. In anticipation of your next >question, >you might try running one or both of these with 'strace'. See strace >--help >for more details of the options. The output may give you an idea of where >things are going wrong for you. > > > >Larry Hall lhall@rfk.com >RFK Partners, Inc. http://www.rfk.com >838 Washington Street (508) 893-9779 - RFK Office >Holliston, MA 01746 (508) 893-9889 - FAX > > >-- >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/ > _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- 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/