www.delorie.com/archives/browse.cgi | search |
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 |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <20020830192151.61665.qmail@web10508.mail.yahoo.com> |
Date: | Fri, 30 Aug 2002 12:21:51 -0700 (PDT) |
From: | Rick Rankin <rick_rankin AT yahoo DOT com> |
Subject: | Re: printing from within Cygwin |
To: | Fred_Smith AT computrition DOT com, cygwin AT cygwin DOT com |
In-Reply-To: | <85256C25.005F41DF.00@cinote.computrition.com> |
MIME-Version: | 1.0 |
Which lpr are you using, which OS (9x or NT/2K/XP), and are you trying to print to a locally attached or a network printer? --Rick --- Fred_Smith AT computrition DOT com wrote: > Trying to figure out how to print from a Cywin (console) app. > > Porting a Linux app to cygwin. On Linux it uses popen() to pipe output to a > shellscript which in turn cats its input to lpr (it may do other things, > and may transform the data, but that's the ultimate goal). > > trying to figure out how to do something akin to that under cygwin. > > Invoking "lpr <filename>" at the command prompt comes back with an error > message: > > can't open 'prn' for writing. > > > Advice would be appreciated. (I hope you're not going to tell me I need to > learn all about the innards of windoze printing!) > > Thanks! > > Fred > > > > -- > 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/ > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |