[net.micro.mac] Manx C Printing Mangler -er I mean Manager- support

tomm@tektools.UUCP (Tom Milligan) (05/16/85)

I have the  Manx professional C compiler, and have been writing some programs
that use the Printing Manager toolbox.  I have found that in order for the
programs to work (ie. to get something to actually print on the printer), I 
must have Manx' console driver installed as a resource in my program.  My
understanding of the printing manager stuff is that I should only need to have
the driver (called ".Print") for the currently installed printer installed in 
the System resource file.  Of course I would prefer not to have to install
Manx' console driver in my programs because 

	1)  It takes up 3K of disk space that shouldn't be necessary to
		take up.

	2)  I don't know whether the printing manager routines are truly
		"printer independant" as they should be if they relied
		soley upon the current printer driver.

I have repeatedly talked to someone at Manx several times 
about this problem, and he can't seem to remember any of my previous calls 
about the problem, and claims that he doesn't know much about the Print 
Manager stuff as it relates to the console driver.  I am tired of getting no 
response from Manx, and am wondering if anyone else out there has any 
experience and/or workarounds for this problem.

Other than this however, I like the Manx system quite a bit.

				Thanks,

				Tom Milligan

lra@rduxb.UUCP (Lonnie R. Abelbeck, AT&T Bell Labs) (05/18/85)

> I have the  Manx professional C compiler, and have been writing some programs
> that use the Printing Manager toolbox.  I have found that in order for the
> programs to work (ie. to get something to actually print on the printer), I 
> must have Manx' console driver installed as a resource in my program. 

First, if you have version "D" or earlier, the <print.h> header files have
a bug...  In every case, the function defs at the end of the file NEED
to be typed as pascal.. ie

void foo();

needs to be

pascal void foo();

Provided you are making a standalone application, you don't need the
console driver, only the ".print" driver and the "ImageWriter" file.

Lonnie Abelbeck
ihnp4!rduxb!lra