Class TrainPrintManifest

java.lang.Object
jmri.jmrit.operations.trains.trainbuilder.TrainCommon
jmri.jmrit.operations.trains.TrainPrintManifest

public class TrainPrintManifest extends TrainCommon
Used for train Manifests and switch lists.
  • Field Details

  • Constructor Details

  • Method Details

    • printReport

      public static void printReport(File file, String name, boolean isPreview, String fontName, String logoURL, String printerName, String orientation, int fontSize, boolean isPrintHeader, JobAttributes.SidesType sidesType)
      Print or preview a train Manifest or switch list.
      Parameters:
      file - File to be printed or previewed
      name - Title of document
      isPreview - true if preview
      fontName - optional font to use when printing document
      logoURL - optional pathname for logo
      printerName - optional default printer name
      orientation - Setup.LANDSCAPE, Setup.PORTRAIT, or Setup.HANDHELD
      fontSize - font size
      isPrintHeader - when true print page header
      sidesType - two sides long or short can be null