jimo@phred.UUCP (Jim Osborn) (03/02/90)
Is it possible to print a 1-bit-deep PixMap (NOT a BitMap) on a LazerWriter? I need to control the printed pixels down to the 300-pixel-per-inch resolution of the printer, and naively assumed that I could create a PixMap with the specified hRes and vRes and CopyBits() it to the printer gPort. All I get is a blank sheet of paper, and in fact, that's all I get no matter what resolution I specify. I get what I expect if I draw into and copy from a BitMap in an old-style GrafPort, so I'm confident of the settings of the various bounding rectangles. I was hoping to avoid getting involved with PostScript. Am I wasting my time? The Macintosh literature stresses how nice it is for an application to be blissfully unaware of what kind of printer is in use, implying that applications that use CGrafPorts should be able to use LazerWriters, especially if the image is one bit deep. Is this not true, or is there something else I need to tell the Print Manager to get it to accept a PixMap? Anyone care to suggest the simplest way to print a 300 dpi image? Thanks a zillion, jimo -- pilchuck!jimo@phred Jim Osborn, Physio Control Corp 11811 Willows Rd, Redmond, WA, 98073 206-867-4704 direct to my desk