I need to print a layout at letter size (8.5x11), so I
created a TitleWindow with a Canvas and arranged all of the
components there, and display this as a Print Preview. Then I send
this Canvas to the printer, but since the Print Preview is set up
to fit to smaller than the screen, it is smaller than a letter size
sheet of paper. This results in the Canvas "snapshot" being blown
up to fit on the paper, resulting in loss of quality.
I thought I could create the shrunk print preview, but at the
same time, create a full-size layout on another Canvas. But sending
this full-size Canvas to the printer results in a blank print. Any
help would be much appreciated. Some code below.
One idea would be to create the printCanvas in the correct
size for the printer and use a Bitmap for the Print Preview. After
the printCanvas is assembled, use the Bitmap.bitmapData.draw()
function to create a scaled-down preview image. (I've never done
this for a print preview, but I've used this technique to create