|
Print the entire view.
syntax
PrintThumbnail(
[title]
[,printerName]
[,paperType]
[,orientation]
[,docName]
[,footer]
[,width = -1]
[,height = -1]
)
Parameters
title
|
|
Type:
|
character
|
|
Title. This will be printed in the header when printing.
|
printerName
|
|
Type:
|
character
|
|
Printer name. If not specified, the default printer will be selected. To specify a printer on the network, use the following:
"\\Node\PrinterName"
|
paperType
|
|
Type:
|
character
|
|
Paper type, supports the following: If not specified, the default paper specified by the default printer will be selected.
A3 / A4 / A4Small / A5 / B4 / B5 / Letter / LetterSmall / Tabloid / Ledger / Legal / Statement / Executive / Folio / Quarto / 10X14 / 11X17 / Note
|
orientation
|
|
Type:
|
character
|
|
Paper orientation. If not specified, the page will be printed in the default orientation specified by your default printer.
"portrait" - portrait orientation.
"landscape" - landscape.
|
docName
|
|
Type:
|
character
|
|
If the printer is Adobe Acrobat and you want to specify a file name, specify the file name in docName. If not specified, "image" will be used.
|
footer
|
|
Type:
|
character
|
|
The string to display in the footer.
|
width
|
|
Type:
|
Number
|
|
Image width in pixels. -1 means true size.
|
height
|
|
Type:
|
Number
|
|
Image height in pixels. -1 means native size.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Print the view, limitation is that the WebControl is not shown.
If you are printing from a browser compiled into an executable file (exe), copy the "printimage.exe" file to the same folder as the executable file.
If you want to display it in IE, please copy the "printimage.exe" file to a folder with a valid path, such as the Windows system folder, for each client.
However, if you generate a CAB file using the setup function, the "printimage.exe" file will be downloaded automatically, so this does not apply. The "printimage.exe" file is located in the installation folder for this product.
|
reference
OpenForm
GetCurrentBasedForm
GetCurrentForm
SetStretch
GetZoom
SetZoom
ResetZoom
TakeThumbnail
PrintThumbnail
GetFormHeight
GetFormWidth
GetDialogSize
KillCurrentFocus
MoveTabStop
RefreshTabOrder
OpenHomeForm
OpenPrevForm
OpenNextForm
IsHavePrevForm
IsHaveNextForm
ClearFormHistory
MoveWindow
|