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]

printing from within Cygwin


Trying to figure out how to print from a Cywin (console) app.

Porting a Linux app to cygwin. On Linux it uses popen() to pipe output to a
shellscript which in turn cats its input to lpr (it may do other things,
and may transform the data, but that's the ultimate goal).

trying to figure out how to do something akin to that under cygwin.

Invoking "lpr <filename>" at the command prompt comes back with an error
message:

     can't open 'prn' for writing.


Advice would be appreciated. (I hope you're not going to tell me I need to
learn all about the innards of windoze printing!)

Thanks!

Fred



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