PrintContext context = new PrintContext( printerGC, getDisplay().getDPI() );
// get full paper size
Rectangle pageArea = SWTUtils.getPrintableBounds(printer);
context.translate( new Point(pageArea.x, pageArea.y));
page.doPrint( context, new Point(pageArea.width, pageArea.height) );
displayImage = new Image(event.display, printerImage.getImageData());
event.gc.drawImage(displayImage, dirtyPaperBounds.x, dirtyPaperBounds.y);