|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFullClientPrinterOptions
This interface allows you to set the printer options for a Desktop Intelligence document.
| Nested Class Summary | |
|---|---|
static interface |
IFullClientPrinterOptions.CePageSize
Specified Report Page Size. |
static interface |
IFullClientPrinterOptions.CePrintCollateType
Specifies the report print collation. |
static interface |
IFullClientPrinterOptions.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 |
getToPage()
Returns the end of the print range. |
boolean |
isEnabled()
Returns whether or not to print a report at a scheduled time. |
boolean |
isLandscapeMode()
Returns true if the report will print in landscape mode, and false
otherwise. |
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 |
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 |
setPrintCollationType(int PrintCollateType)
Sets the print collation type for the report. |
void |
setPrinterName(java.lang.String PrinterName)
Sets the name of the printer. |
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 IFullClientPrinterOptions.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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||