public class PrintUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NUMBER_COPIES_KEY |
static String |
PRINTER_JOB_NAME_KEY |
Modifier and Type | Method and Description |
---|---|
static int |
getNumberOfCopies(Configuration configuration) |
static boolean |
print(MasterReport report) |
static boolean |
print(MasterReport report,
ReportProgressListener progressListener) |
static void |
printDirectly(MasterReport report) |
static void |
printDirectly(MasterReport report,
ReportProgressListener progressListener) |
public static final String PRINTER_JOB_NAME_KEY
public static final String NUMBER_COPIES_KEY
public static void printDirectly(MasterReport report) throws PrinterException, ReportProcessingException
public static void printDirectly(MasterReport report, ReportProgressListener progressListener) throws PrinterException, ReportProcessingException
public static boolean print(MasterReport report) throws PrinterException, ReportProcessingException
public static boolean print(MasterReport report, ReportProgressListener progressListener) throws PrinterException, ReportProcessingException
public static int getNumberOfCopies(Configuration configuration)
Copyright © 2017 Hitachi Vantara. All rights reserved.