Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!utfyzx!oscvax!rico From: rico@oscvax.UUCP Newsgroups: comp.sys.amiga Subject: Re: mysteries of printer drivers Message-ID: <518@oscvax.UUCP> Date: Wed, 21-Oct-87 16:06:33 EDT Article-I.D.: oscvax.518 Posted: Wed Oct 21 16:06:33 1987 Date-Received: Fri, 23-Oct-87 00:49:14 EDT References: <9312@ut-sally.UUCP> Reply-To: rico@oscvax.UUCP (Rico Mariani) Organization: Ontario Science Centre, Toronto Lines: 34 Summary: In article <9312@ut-sally.UUCP> bryan@mothra.cs.utexas.edu (Bryan Bayerdorffer) writes: > > See, I have this IDS 460G (vintage 1980, back when 2K was LOTS of >printer buffer), and I'm trying to write a driver for it. I'm also working >with the OLD RKM--the one published by Commodore, not Addison Wesley. My >gratitude would be boundless if someone could answer the following questions >about the example drivers, since the explanation in the RKM is a bit sparse: > ... etc ... I've also got a printer which is sufficiently 'different' that PrtDrvGen can't handle it. And I'm now finding myself trying to figure out just what makes a printer driver tick. #1 on my 'boy is this annoying' list is the case 5 stuff for the Render() function. There's loads of SPECIAL_* stuff "devices/printer.h" but what does it all mean and what am I supposed to do with it? Even the simple dump raster program from the RKM (the one in the printer.device chapter) preceeds its dump with a call to case 5 (SPECIAL_ASPECT|SPECIAL_FULLCOLS). Then it doesn't send any other info to the Render() function (presumably because I failed to do something that I should have done). What should I have done?? Similar behaviour in DPaint (which I know is doing in 'right' since it works with other printer drivers). On the other hand, ProWrite does things differently again. It seems to charge on ahead even though there is no case 5 stuff implemented can you say ' case 5: return(0) '? Matt? Carolyn? Anyone? Thank God for kprintf... -Rico -- [NSA food: terrorist, cryptography, DES, drugs, CIA, secret, decode] [CSIS food: supermailbox, tuna, fiberglass coffins, Mirabel, microfiche] [Cat food: Nine Lives, Cat Chow, Meow Mix, Crave]