Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 27 Dec 2001 21:55:30 -0500 From: Jason Tishler To: Jeff Lu Cc: Cygwin Subject: Re: printing in cygwin Message-ID: <20011228025529.GE1888@dothill.com> Mail-Followup-To: Jeff Lu , Cygwin References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i Jeff, On Thu, Dec 27, 2001 at 02:02:45PM -0800, Jeff Lu wrote: > I was able to print to a network printer in cygwin in my C program for a > while. It just stops printing for no reason and I couldn't figure it out > why. > > The network printer is //host_1/printer_1 > > In my C program: > > prn = fopen("//host_1/printer_1", "wb"); > fwrite(buffer, sizeof(char), strlen(buffer), prn); > fclose(prn); > > Do you have any suggestion? Post to cygwin AT cygwin DOT com. Sorry, but I have never tried to print via a C program under Cygwin. Jason -- 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/