Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!apple.com!casseres From: casseres@apple.com (David Casseres) Newsgroups: comp.sys.mac.programmer Subject: Re: FAQ about line weight to printer? Message-ID: <13061@goofy.Apple.COM> Date: 15 Apr 91 18:05:41 GMT References: Sender: usenet@Apple.COM Distribution: comp,na Organization: Apple Computer, Inc. Lines: 26 In article des@adi.com (Dave Steinhoff) writes: > ...is there some way I can control the > line weight when I print Mac window contents to a LaserWriter? I need > to print very complex electrical drawings, but the output is too dense. The best thing to do is draw the picture at printer resolution instead of the 72 x 72 dpi screen resolution. Use a PrGeneral call (see Inside Macintosh Vol. V) to find out what resolutions the printer supports, and another one to set the imaging resolution you are going to use. In the case of a (Postscript) LaserWriter, you will see a wide range of acceptable resolutions; use 300 for simplicity -- or if you think the picture might someday be printed on a 1200 dpi printer, specify that, or some larger number; Postscript and the LaserWriter driver will take care of you. For other printers you will see a set of resolution values; pick the one you like (presumably the highest). It's good practice to make your code printer-independent, so you should allow for these cases; who knows, you might need to print a draft on an ImageWriter some day. Having set the imaging resolution, just scale each object that you draw by the ratio of that resolution to 72 x 72. David Casseres Exclaimer: Hey!