This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PRINTER variable not exported in /etc/profile was: Printing under Cygwin on W2K

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?
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]