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: Issue with lpr in cygwin 1.5.13-1


On Wed, 9 Mar 2005, Frank Jacobs wrote:

> > 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.
>
> Sorry for not including that information. I have attached cygcheck
> output both for when I'm running under cygwin 1.5.12-1 and 1.5.13-1.
>
> BTW, in both 1.5.12-1 and 1.5.13-1 the PRINTER environment variable
> is set properly.

Yep, weird.  And the value is the same in both cases?

> Also, I agree: probably not an issue with lpr. It just appears that
> lpr exhibits whatever the underlying problem is with cygwin 1.5.13-1.

Just in case, try running "lpr -D -P //server1/printer1"[*] and see what
it prints (it should tell you the exact name of the printer that it's
attempting to open).  Unfortunately, lpr is a mostly Windows program, so
strace isn't likely to be of much help...

BTW, does "echo -e 'Test\f' > //server1/printer1" work?  That would use
another mechanism for accessing the printer...
	Igor
[*] Hmm, you actually have a machine named "server1" with a printer
"printer1" attached to it?  How prosaic! :-)
-- 
				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/


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