🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14550

Re: how to print a string directly to a printer using "fprintf" or "printf" ?

#14550
From: Remy Lebeau (TeamB)
Date: Thu, 07 Aug 2003 00:47
10 lines
1331 bytes
"Richard Yu" <richard@colorselector.com> wrote in message
news:3f316dd1$3@newsgroups.borland.com...

>    FILE *Printer=fopen(PortName,"wb");

Did you verify that fopen() even succeeded to begin with?


Gambit
Technical Details
Message-ID: <3f31a040$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f314de8@newsgroups.borland.com> <3f315101$1@newsgroups.borland.com> <3f316dd1$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ff83352b6b456ff2
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-06 17:48:56 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f314de8@newsgroups.borland.com> <3f315101$1@newsgroups.borland.com> <3f316dd1$3@newsgroups.borland.com>
Subject: Re: how to print a string directly to a printer using "fprintf" or "printf" ?
Date: Wed, 6 Aug 2003 17:47:58 -0700
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f31a040$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060216896 207.175.226.26 (6 Aug 2003 17:41:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail