[comp.sys.mac.programmer] ImageWriter Best printing

lim@iris.ucdavis.edu (Lloyd Lim) (04/18/91)

I've noticed a problem with arcs and lines becoming misaligned when printed
on an ImageWriter with Best quality.  It works fine on screen, with the
LaserWriter, and with the ImageWriter and Faster quality.

It's actually pretty easy to understand.  Suppose you have a rectangle at
(0, 0, 10, 10) and a line that is aligned with the right edge from (9, 10)
to (9, 100).  [The horizontal coordinates are different because FrameRect
frames inside but the pen hangs below and to the right for lines.]  When
printing in Best quality the print driver images at twice the resolution
and prints at 144 dpi (or something close to that, I forget).  The result
is that because the points are scaled, the lines are off by one printer
pixel or half of a screen pixel.  Not too bad, but annoying.

Any suggestions?  Currently, my printing and PICTs are device independent
and I'd like to keep it that way.  I guess I could calculate coordinates
based on the printing resolution but it would be ugly and it wouldn't work
for PICTs.

+++
Lloyd Lim     Internet: lim@iris.eecs.ucdavis.edu
              America Online: LimUnltd
              Compuserve: 72647,660
              US Mail: 215 Lysle Leach Hall, U.C. Davis, Davis, CA 95616