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: Printing under Cygwin on W2K


At 01:39 PM 6/3/2004, you wrote:
>On Thu, 3 Jun 2004, Chris Carlson wrote:
>
>> According to the documentation, the following should print on the
>> default printer:
>>
>>         bash$  cat myfile.txt > PRN
>>
>> What I find is that a new file is created named "PRN".
>
>Known problem.  There's a patch pending for this -- once it's checked in,
>this functionality should be available again.  Until then, use lpr from
>the cygutils package...
>
>> Also according to the documentation, cygwin understands the double-slash
>> form used in Windows.  Thus the following should work:
>>
>>         bash$  cat myfile.txt > //Dc1irv/laser1
>>
>> This returns:
>>
>>         bash: //Dc1irv/laser1: No such host or network path
>
>Nope, that shouldn't work.  I don't think you can redirect output to a
>printer name even from the Windows console, much less from Cygwin.  In
>any case, Cygwin doesn't treat printer shares as devices.


No, the above works fine, even in cygwin 1.5.10, if the network printer is 
set up properly. 


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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