Class PrintUtilities.JythonPrintJob
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.script.builtin.PrintUtilities.JythonPrintJob
-
- Enclosing class:
- PrintUtilities
public static class PrintUtilities.JythonPrintJob extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JythonPrintJob(java.awt.Component c)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description float
getBottomMargin()
float
getLeftMargin()
int
getOrientation()
float
getPageHeight()
float
getPageWidth()
java.lang.String
getPrinterName()
float
getRightMargin()
float
getTopMargin()
double
getZoomFactor()
boolean
isFitToPage()
boolean
isShowPrintDialog()
void
print()
void
setBottomMargin(float bottomMargin)
void
setFitToPage(boolean fitToPage)
void
setLeftMargin(float leftMargin)
void
setMargins(float m)
void
setOrientation(int orientation)
void
setPageHeight(float pageHeight)
void
setPageWidth(float pageWidth)
void
setPrinterName(java.lang.String printerName)
void
setRightMargin(float rightMargin)
void
setShowPageFormat(boolean showPageFormat)
Deprecated.void
setShowPrintDialog(boolean showPrintDialog)
void
setTopMargin(float topMargin)
void
setZoomFactor(double zoomFactor)
-
-
-
Method Detail
-
print
public void print()
-
setMargins
public void setMargins(float m)
-
getBottomMargin
public float getBottomMargin()
-
setBottomMargin
public void setBottomMargin(float bottomMargin)
-
setPrinterName
public void setPrinterName(java.lang.String printerName)
-
getPrinterName
public java.lang.String getPrinterName()
-
isFitToPage
public boolean isFitToPage()
-
setFitToPage
public void setFitToPage(boolean fitToPage)
-
getLeftMargin
public float getLeftMargin()
-
setLeftMargin
public void setLeftMargin(float leftMargin)
-
getOrientation
public int getOrientation()
-
setOrientation
public void setOrientation(int orientation)
-
getPageHeight
public float getPageHeight()
-
setPageHeight
public void setPageHeight(float pageHeight)
-
getPageWidth
public float getPageWidth()
-
setPageWidth
public void setPageWidth(float pageWidth)
-
getRightMargin
public float getRightMargin()
-
setRightMargin
public void setRightMargin(float rightMargin)
-
setShowPageFormat
@Deprecated public void setShowPageFormat(boolean showPageFormat)
Deprecated.
-
isShowPrintDialog
public boolean isShowPrintDialog()
-
setShowPrintDialog
public void setShowPrintDialog(boolean showPrintDialog)
-
getTopMargin
public float getTopMargin()
-
setTopMargin
public void setTopMargin(float topMargin)
-
getZoomFactor
public double getZoomFactor()
-
setZoomFactor
public void setZoomFactor(double zoomFactor)
-
-