🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #561

Deskjet Font to PAR:

#561
From: Steve Costa
Date: Sat, 22 Jul 1989 06:32
20 lines
1107 bytes
Is there any generally preferred method of sending files to PAR: via  a C
program?

I'm working with downloadable fonts for the deskjet + (and hope to be
creating some soon) and am not sure of all the ramifications of choosing
between combinations of the following I/O functions when reading from a
disk file and writing to PAR:

fgets / fputs
fread / fwrite
read  / write
Read  / Write

(any other pertinent functions?)

I'm having some trouble when I do an fflush() or fclose () on the PAR:
device after using fread & fwrite. The Deskjet "busy" light either doesn't
go off, or starts blinking. I'm not sure yet if the behavior is linked to
my choice of I/O functions, or just what is going on.
Technical Details
Message-ID: <8095@hoptoad.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!apple!sun-barr!decwrl!ucbvax!hoptoad!slc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!apple!sun-barr!decwrl!ucbvax!hoptoad!slc
From: slc@hoptoad.uucp (Steve Costa)
Newsgroups: comp.sys.amiga.tech
Subject: Deskjet Font to PAR:
Message-ID: <8095@hoptoad.uucp>
Date: 22 Jul 89 06:32:51 GMT
Reply-To: slc@hoptoad.UUCP (Steve Costa)
Distribution: usa
Organization: Presidio Software
Lines: 20