[comp.sys.mac.programmer] Increasing resolution on printers

marty@june.cs.washington.edu (Marty Sirkin) (05/07/89)

   Last week I posted a question about increasing resolution on printers, and
got several useful and helpful replies.  But I still have a problem.  I have
been unable to use either of the methods suggested to me.

1) Some people suggested using PrGeneral to get and set the resolution.  This
    has the advantage that it will work on both Laserwriter and imagewriter.
    I am using version 5.2 of the laserwriter driver (which should be OK),
    but whenever I call PrGeneral, the PrError returned is -192 (resource not
    found) which the TechNote says is a sign of a Laserwriter driver version
    earlier than 4.0.  I am trying to set the resolution to 144 x 144, which
    should be doable on both printers.

2) Others have suggested using PicComments to put some PostScript directly in
    to the Picture data structure.  This would only work for the Laserwriter,  
    but that's OK, since it would leave the Imagewriter at the lower
    resolution, which is just fine.  I am using PostScriptBegin/End, with a 
    PostScriptHandle in the middle.  I have tried this with a variety of 
    PostScript commands, and it works just great.  However, when I insert
    a "scale command" (.5 .5 scale, for example), it will scale any of the
    PostScript in the handle, but returns to the previous scaling when it
    sees the PostScriptEnd, and returns to QuickDraw commands. 

Any ideas on either (or another way to do it) would be appreciated.  All I
want to do (in the final analysis) is to take an arbitrary picture and smooth
it a little be increasing the scale.  Thanks.

						Marty Sirkin
						marty@june.cs.washington.edu