fist.beans.FISTbeanPrintSpec

  SubClasses:

Print Specs are used by developers to specify how pages are printed.

You may create FISTbeanPrintSpec objects and feed them to DocviewSwingFISTbean.

Methods
public boolean getPrintCenter();
  Returns true if the image should be printed centered on the page.
public void setPrintCenter(boolean print_center);
public double getPrintScale();
  Returns 0 or less if the image is not to be scaled.
or
  Returns a scale factor > 0 (eg. 2.5) specifying how the image will be scaled.
public void setPrintScale(double print_scale);
  See Note on Scaling below.
public boolean getPrintScaleToFit();
  Returns true if the image should be scaled down to fit on the page.
public void setPrintScaleToFit(boolean print_scale_to_fit);
  See Note on Scaling below.
public double getPrintScaleUpToPercent();
  Returns 0 or less if the image is not to be scaled up.
or
  Returns a percentage > 0 (eg. 75) specifying the proportion of the page to which the image will be scaled up.
public void setPrintScaleUpToPercent(double print_scale_up_to_percent);
  See Note on Scaling below.
public boolean getPrintAtCurrentOrientation();
  Returns true if the image is to be printed at its currently viewed orientation.
public void setPrintAtCurrentOrientation(boolean print_at_current_orientation);
Headers and Footers
public void setHeaderLeft(String header_left);
  See Note on String substitutions below.
public void setHeaderCenter(String header_center);
  See Note on String substitutions below.
public void setHeaderRight(String header_right);
  See Note on String substitutions below.
public void setFooterLeft(String footer_left);
  See Note on String substitutions below.
public void setFooterCenter(String footer_center);
  See Note on String substitutions below.
public void setFooterRight(String footer_right);
  See Note on String substitutions below.

Note on Scaling (how printing interprets the various parameters):
Step 1: Apply scale from getPrintScale.
Step 2: IF the scaled image is larger than the page and getPrintScaleToFit, THEN scale down to fit on page.
  OR
Step 2: IF getPrintScaleUpToPercent is > 0 and the scaled image is smaller than that percentage of the page, THEN scale up to fill that percentage of the page.

Note on String substitutions for Headers and Footers:
%%PAGENUMBER%%The number of the current page.
%%PAGETOTAL%%The total number of pages.
%%DOCNAME%%The name of the current Document
%%DOCURL%%The URL of the current Document