Write to spooler Direct

Mike Bernson mike@mbsun.mlb.org
Wed Jun 18 22:16:00 GMT 1997


I have a program that need to write to bytes to the printer (spooled)

It make calles to
OpenJob, StartSpoolPage, WriteSpool, EndSpoolPage, CloseJob.

I have added the neeeded prototypes to this single program. Once
it compiles it does not link. Does anyone known which dll's the
function are in.

Also I need the .def for .dll so I can link to it.


Is there a better way of write bytes to the spooled printer. What I
have is binary file that has all the control sequences for the HP4
printer and need a way to get it printer.


The program is despooler reports built on a unix box and need to
print them on the local printers.

I have attached small program that will compile and run under
Borland compiler. I need it compile under GNUWIN32 stuff.


More information about the Cygwin mailing list