Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!ncrlnk!ncrcae!hubcap!gatech!bloom-beacon!apple!casseres From: casseres@Apple.COM (David Casseres) Newsgroups: comp.sys.mac.programmer Subject: Re: Color Printing with Color QuickDraw Message-ID: <105@internal.Apple.COM> Date: 12 Oct 88 16:58:59 GMT Article-I.D.: internal.105 References: <6610@ut-emx.UUCP> <1234600013@uxf.cso.uiuc.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 17 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; the reason you are allowed to pass a non-NIL pointer is just so you can control the allocation of the space. Hardly anyone cares about this, so the pointer is usually a NIL. 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). David Casseres