delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/27/21:52:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jason AT tishler DOT net>
To: Jeff Lu <jklcom AT mindspring DOT com>
Cc: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: printing in cygwin
Message-ID: <20011228025529.GE1888@dothill.com>
Mail-Followup-To: Jeff Lu <jklcom AT mindspring DOT com>,
Cygwin <cygwin AT sources DOT redhat DOT com>
References: <LIEBJAJMJFLPHGCPMEBGMEGHCHAA DOT jklcom AT mindspring DOT com>
Mime-Version: 1.0
In-Reply-To: <LIEBJAJMJFLPHGCPMEBGMEGHCHAA.jklcom@mindspring.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019