This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
How to print to network printer in cygwin using C
- From: "Jeff Lu" <j_lu9698 at bellsouth dot net>
- To: <cygwin at sourceware dot cygnus dot com>
- Date: Sun, 30 Dec 2001 14:19:13 -0500
- Subject: How to print to network printer in cygwin using C
The network printer is //host_1/printer1
in my C code:
printHandle = fopen("//host_1/printer1/, "wb");
fwrite(buffer, sizeof(char), strlen(buffer), printHandle);
fclose(printHandle);
This was working at one time. But it's not working anymore!
Please help somebody
--
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/