This is the mail archive of the cygwin@cygwin.com 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: Printing from cygwin?


On Thu Feb 27 15:53:59 2003, Rick Rankin wrote:
> Do you know for sure which lpr you're using? Win2K has one in
> C:\WINNT\system32.

Try /cygdrive/c/WINNT/system32/lpr -S server -P printer filename

it worked for me.

-ajay
> 
> --Rick
> --- Charles Krug <charles at pentek dot com> wrote:
> > I'm having trouble with cygwin lpr printing to my default Win2k printer.
> > A search of the archives revealed many mailings from people who
> > similarly could not print using the cygwin lpr, but I couldn't find any
> > stories of "success."
> > 
> > I invoke:
> > 
> > lpr -P\\\\server\\printer file
> > 
> > Printer is considered by Win2k to be a network printer.
> > 
> > Regardless of the type of file I send, I get the same error reported by
> > lpr from (apparantly) Win2k about "incorrect datatype."
> > 
> > 
> > 
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> > 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]