This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: printf, "unable to initialize PRN" message
Greetings, Blair, Charles E III!
> I have just installed cygwin (64 bit) and gcc. The "hello world" program
> works, but
> #include<stdio.h>
> int main(){printf( "%c\n" , 'X' );return 0;}
> leads to
>
> Unable to initialize device PRN
> Unable to initialize device PRN
Are you sure you're running the right program?
Try "./<yourprogram>" instead of just "<yourprogram>".
--
With best regards,
Andrey Repin
Wednesday, September 11, 2019 3:43:18
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple