This sample demonstrates how to perform a silent print. You can find the samples in the \samples\printing\SilentPrintExample.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:

  • IMGLOW_set_document_input(int, int, int) specifies the input DPI and bit-depth for PDF, MSOffice, RTF, PCL, and AFP files.
  • IMG_decompress_bitmap(String, int) reads in a document in any format and converts it to a valid RasterMaster image.
  • IMG_print_bitmap(java.awt.Graphics, int, int, int, int, int) prints the current image at the specified coordinates.