|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IReportPrinterOptions
This interface allows you to set the printer options for a report.
| Nested Class Summary | |
|---|---|
static interface |
IReportPrinterOptions.CePageSize
Specified Report Page Size. |
static interface |
IReportPrinterOptions.CePrintCollateType
Specifies the report print collation. |
static interface |
IReportPrinterOptions.CePrintScaleOption
|
static interface |
IReportPrinterOptions.CeReportLayout
Specifies Report Layout. |
| Method Summary | |
|---|---|
int |
getCopies()
Returns the number of copies of the report to print. |
int |
getFromPage()
Returns the start of the print range. |
short |
getPageHeight()
Returns the page height in 0.1 millimeter increments. |
int |
getPageLayout()
Returns the page layout for report. |
int |
getPageSize()
Returns the page size for report. |
short |
getPageWidth()
Returns the page width in 0.1 millimeter increments. |
int |
getPrintCollationType()
Returns the print collation type for the report. |
java.lang.String |
getPrinterName()
Returns the name of the printer. |
int |
getPrintScaleOption()
Returns the print scale option for the report. |
int |
getToPage()
Returns the end of the print range. |
boolean |
isAlwaysPrintToPDF()
Determines if the report should always print to PDF. |
boolean |
isEnabled()
Returns whether or not to print a report at a scheduled time. |
boolean |
isFitHorizontalPages()
Returns the print fit horizontal pages option for the report. |
boolean |
isLandscapeMode()
Returns true if the report will print in landscape mode, and false
otherwise. |
boolean |
isPrintCenter()
Returns the print layout center option for the report. |
void |
setAlwaysPrintToPDF(boolean printToPDF)
Sets whether the report should always print to PDF. |
void |
setCopies(int numCopies)
Sets the number of copies of the report to print. |
void |
setEnabled(boolean DoPrint)
Sets whether or not to print a report at a scheduled time. |
void |
setFitHorizontalPages(boolean FitHorizontalPages)
Sets the print fit horizontal pages option for the report. |
void |
setFromPage(int FromPage)
Sets the start of the print range. |
void |
setLandscapeMode(boolean bLandscope)
Sets whether the report will print in landscape mode, and false
otherwise. |
void |
setPageHeight(short PageHeight)
Sets the page height in 0.1 millimeter increments. |
void |
setPageLayout(int PageLayout)
Sets the page layout for report. |
void |
setPageSize(int PageSize)
Sets the page size for report. |
void |
setPageWidth(short PageWidth)
Sets the page width in 0.1 millimeter increments. |
void |
setPrintCenter(boolean CenterThePage)
Sets the print layout center option for the report. |
void |
setPrintCollationType(int PrintCollateType)
Sets the print collation type for the report. |
void |
setPrinterName(java.lang.String PrinterName)
Sets the name of the printer. |
void |
setPrintScaleOption(int PrintScaleOption)
Sets the print scale option for the report. |
void |
setToPage(int ToPage)
Sets the end of the print range. |
| Method Detail |
|---|
boolean isEnabled()
throws SDKException
Returns whether or not to print a report at a scheduled time.
true if the report will print at a scheduled time, false
otherwise.
SDKException - This is thrown if the process is unsuccessful.
void setEnabled(boolean DoPrint)
throws SDKException
Sets whether or not to print a report at a scheduled time.
DoPrint - true if the report will print at a scheduled time,
false otherwise.
SDKException. - This is thrown if IReportPrinterOptions.CeReportLayout.NO_PRINTER_SETTING is specified for the
report page layout, the user has no right, or the process is unsuccessful.
SDKException
java.lang.String getPrinterName()
throws SDKException
Returns the name of the printer.
String specifying the name of the printer.
SDKException - This is thrown if the process is unsuccessful.
void setPrinterName(java.lang.String PrinterName)
throws SDKException
Sets the name of the printer.
PrinterName - A String specifying the name of the printer.
SDKException - This is thrown if user has no right
int getCopies()
throws SDKException
Returns the number of copies of the report to print.
int that specifies the number of copies of the report to print.
SDKException - This is thrown if the process is unsuccessful.
void setCopies(int numCopies)
throws SDKException
Sets the number of copies of the report to print.
numCopies - An int specifying the number of copies of the report to print.
SDKException - This is thrown if user has no right
int getFromPage()
throws SDKException
Returns the start of the print range.
int specifying the start of the print page.
SDKException - This is thrown if the process is unsuccessful.
void setFromPage(int FromPage)
throws SDKException
Sets the start of the print range.
FromPage - An int specifying the start of the print page.
SDKException - This is thrown if user has no right.
int getToPage()
throws SDKException
Returns the end of the print range.
int specifying the end of the print range.
SDKException - This is thrown if the process is unsuccessful.
void setToPage(int ToPage)
throws SDKException
Sets the end of the print range.
ToPage - An int specifying the end of the print range.
SDKException - This is thrown if user has no right.
int getPageLayout()
throws SDKException
Returns the page layout for report.
int containing page layout type, this will be of type CeReportLayout.
SDKException - This is thrown if the process is unsuccessful.IReportPrinterOptions.CeReportLayout
void setPageLayout(int PageLayout)
throws SDKException
Sets the page layout for report.
PageLayout - An int specifying the layout of the report, this will be of type CeReportLayout.
SDKException - This is thrown if printer destination is enabled or the process is unsuccessful.IReportPrinterOptions.CeReportLayout
int getPageSize()
throws SDKException
Returns the page size for report. The default setting is 0.
int specifying page size of the report. This will be of type CePageSize.
SDKException - This is thrown if the process is unsuccessful.IReportPrinterOptions.CePageSize
void setPageSize(int PageSize)
throws SDKException
Sets the page size for report. The default setting is 0.
PageSize - An int specifying the page size of the report.
This will be of type CePageSize.
SDKException - This is thrown if the process is unsuccessful.IReportPrinterOptions.CePageSize
short getPageWidth()
throws SDKException
Returns the page width in 0.1 millimeter increments. The default setting is 0.
short specifying the page width in 0.1 millimeter increments.
SDKException - This is thrown if the process is unsuccessful.void setPageWidth(short PageWidth)
Sets the page width in 0.1 millimeter increments. The default setting is 0.
PageWidth - A short specifying the page width in 0.1 millimeter increments.
short getPageHeight()
throws SDKException
Returns the page height in 0.1 millimeter increments.
short specifying the page height in 0.1 millimeter increments.
SDKException - This is thrown if the process is unsuccessful.void setPageHeight(short PageHeight)
Sets the page height in 0.1 millimeter increments.
PageHeight - A short specifying the page height in 0.1 millimeter increments.
boolean isLandscapeMode()
throws SDKException
Returns true if the report will print in landscape mode, and false
otherwise. The default value is false.
true if the report will print in landscape mode, and false
otherwise.
SDKException - This is thrown if the process is unsuccessful.void setLandscapeMode(boolean bLandscope)
Sets whether the report will print in landscape mode, and false
otherwise. The default value is false.
bLandscope - true if the report will print in landscape mode, and false
otherwise.
int getPrintCollationType()
throws SDKException
Returns the print collation type for the report.
int that contains the print collation type. This will be of type CePrintCollateType.
SDKException - This is thrown if the process is unsuccessful.IReportPrinterOptions.CePrintCollateType.void setPrintCollationType(int PrintCollateType)
Sets the print collation type for the report.
PrintCollateType - An int that specifies the collation type.IReportPrinterOptions.CePrintCollateType.
int getPrintScaleOption()
throws SDKException
Returns the print scale option for the report.
int that contains the print scale option. This will be of type CePrintScaleOption.
SDKException - This is thrown if the process is unsuccessful.IReportPrinterOptions.CePrintScaleOption.void setPrintScaleOption(int PrintScaleOption)
Sets the print scale option for the report.
PrintScaleOption - An int that specifies the scale option.IReportPrinterOptions.CePrintScaleOption.
boolean isPrintCenter()
throws SDKException
Returns the print layout center option for the report.
boolean that contains the print layout center option.
SDKException - This is thrown if the process is unsuccessful.void setPrintCenter(boolean CenterThePage)
Sets the print layout center option for the report.
PrintScaleOption - An boolean that specifies the print layout center option.
boolean isFitHorizontalPages()
throws SDKException
Returns the print fit horizontal pages option for the report.
boolean that contains the print fit horizontal pages option.
SDKException - This is thrown if the process is unsuccessful.void setFitHorizontalPages(boolean FitHorizontalPages)
Sets the print fit horizontal pages option for the report.
FitHorizontalPages - An boolean that specifies the fit horizontal pages option.
boolean isAlwaysPrintToPDF()
throws SDKException
Determines if the report should always print to PDF.
This setting only has an effect if the report is printed using a DHTML viewer.
true if the report should always print to PDF; otherwise follow the viewer's default printing behavior.
SDKException - Thrown if the process is unsuccessful.void setAlwaysPrintToPDF(boolean printToPDF)
Sets whether the report should always print to PDF.
This setting only has an effect if the report is printed using a DHTML viewer.
printToPDF - true to set the report to always print to PDF; false to use the viewer's default printing behavior.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||