public class PrintHelper extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PrintHelper.PrintAccessor |
Modifier and Type | Method and Description |
---|---|
static JobSettings |
createJobSettings(Printer printer) |
static Paper |
createPaper(String paperName,
double paperWidth,
double paperHeight,
Units units) |
static PaperSource |
createPaperSource(String name) |
static Printer |
createPrinter(PrinterImpl impl) |
static PrintResolution |
createPrintResolution(int fr,
int cfr) |
static PrinterImpl |
getPrinterImpl(Printer printer) |
static void |
setPrintAccessor(PrintHelper.PrintAccessor newAccessor) |
public static PrintResolution createPrintResolution(int fr, int cfr)
public static Paper createPaper(String paperName, double paperWidth, double paperHeight, Units units)
public static PaperSource createPaperSource(String name)
public static JobSettings createJobSettings(Printer printer)
public static Printer createPrinter(PrinterImpl impl)
public static PrinterImpl getPrinterImpl(Printer printer)
public static void setPrintAccessor(PrintHelper.PrintAccessor newAccessor)
Copyright © 2020. All rights reserved.