public final class Printer extends AbstractPrinter
PrintManager
.AbstractPrinter.BasicPageable
cfg, currentPageIndex, errorHandler, lastPage, myPageable, printerExceptionList
Constructor and Description |
---|
Printer(PrintJobConfiguration cfg)
Creates a default instance of this printer.
|
Modifier and Type | Method and Description |
---|---|
void |
setPrintService(PrintService service)
Associate this printer with a new
PrintService . |
addException, doPrint, firePrintEvent, getAnnotationsToDisable, getErrorHandler, getPrinterExceptions, getPrinterJob, getPrintJobConfiguration, getPrintRequestAttributeSet, initializePrintCache, isPrintAllAnnotationsUsed, isPrinting, reset, resetPrintCache, resetPrinterExceptions, setAnnotationsToDisable, setErrorHandler, setPrintAllAnnotations, setPrinterJob, setPrinting, setPrintRequestAttributeSet, validatePageFormat
public Printer(PrintJobConfiguration cfg) throws JadiceException
cfg
- basic print job configurationJadiceException
- if printer could not be created (for example if permissions prohibit
export or print).public void setPrintService(PrintService service) throws PrinterException
PrintService
.service
- a print service that supports 2D printing.PrinterException
- Pageable
and
Printable
interfaces necessary to support 2D printing, Copyright © 2024 levigo holding gmbh. All rights reserved.