Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "John Morrison" To: Subject: RE: PRINTER variable not exported in /etc/profile was: Printing under Cygwin on W2K Date: Fri, 4 Jun 2004 19:07:01 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit In-Reply-To: X-IsSubscribed: yes > From: Igor Pechtchanski > > 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? OK, am playing with updating /etc/profile when it hasn't been modified. I'll add the export for the next version. J. -- 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/