| 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://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| X-Authentication-Warning: | slinky.cs.nyu.edu: pechtcha owned process doing -bs |
| Date: | Fri, 4 Jun 2004 12:01:59 -0400 (EDT) |
| From: | Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> |
| Reply-To: | cygwin AT cygwin DOT com |
| To: | Olaf =?iso-8859-1?Q?F=F6llinger?= <Olaf DOT Foellinger AT sesa DOT de> |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: PRINTER variable not exported in /etc/profile was: Printing under Cygwin on W2K |
| In-Reply-To: | <20040604074048.GA2460@sesa.de> |
| Message-ID: | <Pine.GSO.4.58.0406041200230.2262@slinky.cs.nyu.edu> |
| References: | <7D036BD3216A084DB1BD9D62BCEAF29049A414 AT mail1irv DOT inside DOT istor DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0406031326380 DOT 29912 AT slinky DOT cs DOT nyu DOT edu> <20040604074048 DOT GA2460 AT sesa DOT de> |
| MIME-Version: | 1.0 |
| X-Scanned-By: | MIMEDefang 2.39 |
On Fri, 4 Jun 2004, Olaf Föllinger wrote:
> On Thu, Jun 03, 2004 at 01:39:03PM -0400, Igor Pechtchanski wrote:
> > On Thu, 3 Jun 2004, Chris Carlson wrote:
> > [snip]
> > > So, what is the proper method for printing under cygwin?
> >
> > Either "lpr" or, if you want to get fancier, "a2ps" or "enscript".
> > Igor
>
> lpr works just fine here with a minor problem:
>
> $ lpr textfile.txt
> lpr: no printer specified
>
> though the printer is specified in /etc/profile. But the printer
> variable isn't exported there so lpr cannot find it. Should this be
> fixed?
Yep, looks like a base-files bug. /etc/profile should have an "export
PRINTER" after the definition of "PRINTER". John?
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |