delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/30/14:19:58

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
From: "Jeff Lu" <j_lu9698 AT bellsouth DOT net>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: How to print to network printer in cygwin using C
Date: Sun, 30 Dec 2001 14:19:13 -0500
Message-ID: <KOECLEOGILBHGEOOEBGNCEBACAAA.j_lu9698@bellsouth.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

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/

- Raw text -


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