shatara@islnds.dec.com (Chris Shatara, 229-7740) (02/22/89)
From reading the the IIgs tool box reference manual and the introduction to programming the IIgs, I get the impression that in order to print a graphics screen (grafport) via the print manager, I need to ask the print manager for a grafport, and then draw whatever I want into that port. My question is what if I have an image(boxes, text, etc) already existing in a grafport, now the user wants to print. Is there a way of copying one port to the other? I read that in initializing the print manger you can either have it give you a grafport or you can supply it your own. In the case of the latter, will this allow me to print the port without regenerating what is on it? Any help would be greatly appreciated. /chris shatara
prw@meccts.MECC.MN.ORG (Paul Wenker) (02/22/89)
There are two ways you can go here. 1) The simplest route is to get a grafport from Print Manager and then use PaintPixels or CopyPixels to copy the image from your port to the printing port. By doing this, you will in effect be printing a bitmap. This means that printing in Better Text on an ImageWriter will mess up your image. Also, this won't take advantage of the better quality of the LaserWriter output. 2) The better route is to get a grafport from Print Manager and then redraw your stuff in the printing port. This way Better Text will really mean better text and you will get higher quality text and lines on a LaserWriter. -Paul Wenker UUCP: prw@MECC.MN.ORG -MECC, Advanced Development AppleLink: MECC.TECH