public interface PrintPanelInt
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAvailablePaperSizes() |
int |
getCopies() |
int |
getPageScaling()
return setting for type of scaling to use
PAGE_SCALING_NONE,PAGE_SCALING_FIT_TO_PRINTER_MARGINS,PAGE_SCALING_REDUCE_TO_PRINTER_MARGINS
see org.jpedal.objects.contstants.PrinterOptions for all values
|
String |
getPrinter() |
SetOfIntegerSyntax |
getPrintRange()
return range as SetOfIntegerSytax
- if you try to do something silly like print all
even pages in rage 1-1 you will get null returned
|
PrinterResolution |
getResolution() |
MarginPaper |
getSelectedPaper()
return selected Paper
|
int |
getSelectedPrinterOrientation()
return printers default orientation
|
boolean |
isAutoRotateAndCenter() |
boolean |
isEvenPagesOnly() |
boolean |
isMonochrome() |
boolean |
isOddPagesOnly() |
boolean |
isPagesReversed() |
boolean |
isPaperSourceByPDFSize() |
boolean |
isPrintingCurrentView() |
boolean |
isVisible() |
boolean |
okClicked() |
void |
resetDefaults(String[] printersList,
String defaultPrinter,
int pageCount,
int currentPage) |
void resetDefaults(String[] printersList, String defaultPrinter, int pageCount, int currentPage)
PrinterResolution getResolution()
SetOfIntegerSyntax getPrintRange()
int getCopies()
int getPageScaling()
String getPrinter()
boolean okClicked()
boolean isAutoRotateAndCenter()
boolean isPaperSourceByPDFSize()
boolean isPrintingCurrentView()
String[] getAvailablePaperSizes()
MarginPaper getSelectedPaper()
int getSelectedPrinterOrientation()
boolean isPagesReversed()
boolean isOddPagesOnly()
boolean isEvenPagesOnly()
boolean isMonochrome()
boolean isVisible()
Copyright © 2017. All rights reserved.