This sample demonstrates printing using RasterMaster. The features includes altering the size of an image and image printing. You can find the samples in the \samples\printing\PrintingUI.java directory.

For instructions on running this sample, please see the instructions to Run RasterMaster samples in your IDE or to Run samples from the Command Prompt in the Overview.

Listed below are the methods used in this sample:

  • IMG_print_bitmap(java.awt.Graphics, int, int, int, int, int) prints the current image at the specified coordinates.
  • IMG_print_applet(java.awt.Container, int) prints images loaded in to an applet.
  • IMG_print_applet_pages(java.awt.Container, int) prints high-resolution multi-page documents from applets.