Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!uw-beaver!ubc-vision!alberta!calgary!radford From: radford@calgary.UUCP (Radford Neal) Newsgroups: comp.sys.mac Subject: Printer drivers for the Macintosh. Message-ID: <875@vaxb.calgary.UUCP> Date: Sun, 19-Apr-87 17:28:03 EST Article-I.D.: vaxb.875 Posted: Sun Apr 19 17:28:03 1987 Date-Received: Wed, 22-Apr-87 02:55:21 EST References: <1999@k.cc.purdue.edu> <6014@dartvax.UUCP> Organization: U. of Calgary, Calgary, Ab. Lines: 29 Summary: Time for Apple to clean up its act. In article <6014@dartvax.UUCP>, earleh@dartvax.UUCP writes: > Printer drivers for standard > printers cost from $100 to $400, and are well worth it, considering > the complexity of the code involved. Basically, the poor programmer > has to rewrite QuickDraw, the Macintosh graphics package, for each > printer supported by the printer driver. In addition, the information > needed to do this has been removed from the new editions of Inside > Macintosh... Yeah, it's horrible. And what's more, it's COMPLETELY UNNECESSARY! To support screen dumping, a printer driver currently has to implement a capability to print a bit map. Apple could easily write a "generic" printer driver that uses this driver request to do everything else. Supporting a new printer would then require about a page of code. Anyone at Apple listening? Or does Apple make lots of money off of Imagewriter sales? Radford Neal PS: Actually, things are really complicated. You don't have to rewrite quickdraw if you just want to print at 72 dots/inch. If you want to use 144 dots/inch, you sort of have to rewrite quickdraw - you have to intercept all the calls, scale the parameters, and then re-issue the modified request. Except that you can't easily scale regions or pictures without knowing the internal structure... Bleach.