Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!polya!kaufman From: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Newsgroups: comp.sys.mac.programmer Subject: Re: Color Printing with Color QuickDraw? Keywords: Color,QMS LaserPrinter, IWII Message-ID: <4302@polya.Stanford.EDU> Date: 6 Oct 88 01:29:16 GMT References: <6610@ut-emx.UUCP> Reply-To: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Organization: Stanford University Lines: 19 In article <6610@ut-emx.UUCP> jdm@ut-emx.UUCP (Jim Meiss) writes: > I'd like to be able to print in color when we get that >eventual color laser printer (or slide maker), or when I >take my program to someone who's got one already. Of course >right now I'd like to print in color on the IWII. > So the question is: Can I use Color QuickDraw? No mention >of this in IM V. Is is possible to use a CGrafPtr as a printer port? The decision to use a CGrafPort is not yours,... it is the printer driver's. On the MAC II, color print calls are transmogrified as necessary to work on non-color GrafPorts. I think that color calls MAY be changed to the appropriate 1-of-8 color for IW-IIs. Certainly, using the ForeColor or BackColor calls (which are B/W GrafPort calls) will work, even on color GrafPorts. On a Mac II, with a (non-color) GrafPort, using ForeColor or BackColor will place a colored item in the port window (I use this trick to put colored messages into dialogs). Color Device drivers usually return Color GrafPorts on PrOpenDoc. Marc Kaufman (kaufman@polya.stanford.edu)