[comp.os.msdos.misc] Printer routines to interface with C

grandin@tramp.colorado.edu (Keith T. Grandin) (05/01/91)

	I would like to get some printer software routines which can
be called by Microsoft C 6.00 and used in software I will write.
A commercial (or public domain) set of routines (preferably with source)
which handle the printer specifics and allow spooling would be great.
This package should support the printer specifics for 9-pin printers,
24-pin printers, laser printers, and plotters.

	Does anyone have any experiences or recommendations for this type
of software? I do not know much about what is out there and would appreciate
any input.

	Thanks in advance,

	Keith Grandin

	grandin@tramp.colorado.edu
	grandin%tramp@boulder.colorado.edu
	....ncar!boulder!tramp!grandin

frank@cavebbs.gen.nz (Frank van der Hulst) (05/02/91)

In article <1991May1.004101.8802@colorado.edu> grandin@tramp.colorado.edu (Keith T. Grandin) writes:
>	I would like to get some printer software routines which can
>be called by Microsoft C 6.00 and used in software I will write.
>A commercial (or public domain) set of routines (preferably with source)
>which handle the printer specifics and allow spooling would be great.
>This package should support the printer specifics for 9-pin printers,
>24-pin printers, laser printers, and plotters.
>
>	Does anyone have any experiences or recommendations for this type
>of software? I do not know much about what is out there and would appreciate
>any input.

I've written a printer graphics library which makes it as easy to print
a graphic image as it is to display it on the screen. The library
consists of a set of functions which parallel those available in the
.BGI GRAPHICS.LIB which comes with Turbo C. For example, there is
p_initgraph, p_circle, p_outtextxy, etc. All of these take the same
parameters as the .BGI graphics functions, and in the same order.

The library functions can be used to output to a file, or directly to
the printer. Included with the library are three printer drivers
(LaserJet, Epson LX-400, and Star NX-10). Also included is a utility
which allows the user to create his own printer drivers.

The package includes libraries for both Microsift C (v5.10) and Turbo C.

The package is available from both SIMTEL and uwasa.fi -- get PGRPH101.ZIP

I'm happy to field any comments/queries about the package in this
newsgroup, or via email.

Frank.

-- 

Take a walk on the wild side, and I don't mean the Milford Track.
Kayaking: The art of appearing to want to go where your boat is taking you.