Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!decwrl!labrea!polya!kaufman From: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Newsgroups: comp.sys.mac.programmer Subject: Re: Color Printing with Color QuickDraw Message-ID: <4427@polya.Stanford.EDU> Date: 13 Oct 88 00:18:50 GMT References: <6610@ut-emx.UUCP> <1234600013@uxf.cso.uiuc.edu> <105@internal.Apple.COM> Reply-To: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Organization: Stanford University Lines: 24 In article <105@internal.Apple.COM> casseres@Apple.COM (David Casseres) writes: >In article <1234600013@uxf.cso.uiuc.edu> emb1354@uxf.cso.uiuc.edu writes: ->... After opening a printer GrafPort, which BTW was a ->real CGrafPort, and trying to use palettes, all I could get was black. >Unless I am misreading this, there is still some confusion about printer >grafPorts. The port is ALWAYS opened by the printer driver, and all >current Apple printer drivers initialize it to a black/white grafPort, not >a CGrafport. This is true even if you pass in a pointer to a port that >you have allocated yourself... >If you open a color grafport and pass its pointer in when you call PrOpenDoc, >it just gets re-opened as a b/w grafPort (with current Apple drivers). Of course, Dave, SOME drivers open CGrafPorts (but not Apple's... at least not until Apple discovers color printing) ;-) In particular, the Mirus FilmPrinter and Tektronix printer both open CGrafPorts for their printing. In this case, even if you attempt to give them B/W GrafPorts, a Color port will be opened and returned. In the Mirus case, at least, there is every evidence that palettes work properly. Marc Kaufman (kaufman@polya.stanford.edu)