Issue with lpr in cygwin 1.5.13-1

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed Mar 9 16:12:00 GMT 2005


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list