delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/09/09:31:13

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
Date: Wed, 9 Mar 2005 09:30:42 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: Frank Jacobs <forkjake AT yahoo DOT com>
Subject: Re: Issue with lpr in cygwin 1.5.13-1
In-Reply-To: <20050309085241.GB1431@cygbert.vinschen.de>
Message-ID: <Pine.GSO.4.61.0503090925100.3222@slinky.cs.nyu.edu>
References: <20050308191733 DOT 66324 DOT qmail AT web20825 DOT mail DOT yahoo DOT com> <20050309085241 DOT GB1431 AT cygbert DOT vinschen DOT de>
MIME-Version: 1.0

On Wed, 9 Mar 2005, Corinna Vinschen wrote:

> On Mar  8 11:17, Frank Jacobs wrote:
> > If I attempt to run lpr under cygwin 1.5.13-1, I get the following
> > error:
> >
> > lpr: printer error: can't open '' for writing: The printer name is
> > invalid.
> >
> > However, if I downgrade to cygwin 1.5.12-1, lpr works fine.
> >
> > Note that the issue does not appear to be due to the cygutils version
> > (the package that lpr is in). I've tried both version 1.2.6-1 and
> > 1.2.5-1 of cygutils with cygwin 1.5.13-1 and I still get the same
> > error message.
>
> Chuck, could you have a look into that?  I'm not at all familar with
> lpr and I guess neither is cgf.

FWIW, this is more likely a base-files/cygwin issue, and not an lpr one.
The OP (Cc'd on this reply) didn't attach the output of "cygcheck -svr" as
requested in <http://cygwin.com/problems.html>, so this is just a guess,
but looks like PRINTER wasn't set correctly.  The /etc/profile from the
latest base-files attempts to set PRINTER from the registry using regtool.
Probably something in 1.5.13 ticked off the registry traversal code (could
it be the traverse checking bit?).

Frank, please read and follow <http://cygwin.com/problems.html> to provide
the necessary information about your system.  Help us help you!
	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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019