tomm@tektools.UUCP (Tom Milligan) (03/25/85)
I have been trying unsuccessfully to use the printing manager routines described in "Inside Macintosh" to write a simple C subroutine to print a text file. I have tried several approaches ranging from using the highest level printing interface, using the printer driver routines to stream text to the printer, using the base level device driver routines to talk to the printer port, etc. Anyway, nothing seems to work...not so much as a character makes it to the printer. Help!.... What is the secret? In despiration, Tom Milligan ...decvax!tektools!tektronix!tomm
lra@rduxb.UUCP (Lonnie R. Abelbeck, AT&T Bell Labs) (03/27/85)
I spent all last weekend trying to get the Printer Driver stuff to work with my 'D' version of Aztec 'C', no luck... sooo I finally got the tech support people at Manx and it turns out that there is a bug in the "print.h" header file. After all the structure definitions, the clib functions are declared, starting with void PrOpen(); ALL of these declarations MUST be preceded with "pascal" ie pascal void PrOpen(); I made the change, and everything works fine. Lonnie Abelbeck ihnp4!rduxb!lra