Destroy the current object.
A promise that resolves when the object is destroyed.
do modal
A promise that resolves when the modal operation is completed.
enum printer name
A promise that resolves to the array of printer names.
get default print printer name
A promise that resolves to the default print printer name.
Get the print auto center.
A promise that resolves to whether to auto center.
Get the print copies.
A promise that resolves to the number of copies.
get print page array
A promise that resolves to the print page array.
get print reverse
A promise that resolves to whether the print reverse is set.
Get the print subset.
A promise that resolves to the print subset mode. the valid values are: DefineConst.FR_PRINT_SUBSET_ALL, DefineConst.FR_PRINT_SUBSET_OLD, DefineConst.FR_PRINT_SUBSET_EVEN
get print range mode
A promise that resolves to the print range mode.
set default print printer by name
printer name
A promise that resolves when the default print printer is set.
set print as image
whether to set print as image, default is false
A promise that resolves when the print as image is set.
Set the print auto center.
Whether to auto center.
A promise that resolves when the print auto center is set.
Set the print auto rotate.
Whether to auto rotate.
A promise that resolves when the print auto rotate is set.
Set the print copies. Displayed as the number of print copies in the UI.
The number of copies, must be greater than 0 and less than or equal to 10000.
A promise that resolves when the print copies is set.
set print page array
page array
A promise that resolves when the print page array is set.
set print paper size by page
whether to set paper size by page, default is false
A promise that resolves when the print paper size by page is set.
set print preview
whether to set print preview, default is false
A promise that resolves when the print preview is set.
Set the print what mode.
The print what mode. The valid values are: DefineConst.FR_PRINT_WHAT_DOCUMENT, DefineConst.FR_PRINT_WHAT_DOCUMENT_MAKEUPS, DefineConst.FR_PRINT_WHAT_DOCUMENT_STAMPS, DefineConst.FR_PRINT_WHAT_FORM_FIELDS_ONLY
A promise that resolves when the print what mode is set.
Set the print range.
The range mode. The valid values are: DefineConst.FR_PRINT_RANGE_ALL, DefineConst.FR_PRINT_RANGE_CURRENT_VIEW, DefineConst.FR_PRINT_RANGE_CURRENT_PAGE, DefineConst.FR_PRINT_RANGE_PAGES
Optionalfrom: numberThe starting page number. if rangeMode is not DefineConst.FR_PRINT_RANGE_PAGES, this parameter will be ignored.
Optionalto: numberThe ending page number. if rangeMode is not DefineConst.FR_PRINT_RANGE_PAGES, this parameter will be ignored.
A promise that resolves when the print range is set.
set print reverse
whether to set reverse, default is false
A promise that resolves when the print reverse is set.
Set the print subset.
The print subset mode. The valid values are: DefineConst.FR_PRINT_SUBSET_ALL, DefineConst.FR_PRINT_SUBSET_OLD, DefineConst.FR_PRINT_SUBSET_EVEN
A promise that resolves when the print subset is set.
set progress display
whether to set progress display, default is true
A promise that resolves when the progress display is set.
set simulate overprinting
whether to set simulate overprinting, default is false
A promise that resolves when the simulate overprinting is set.
StaticcreateCreate a PrintMgr instance.
Create a PrintMgr instance with the specified options.
A promise that resolves to the created PrintMgr instance.
Create a PrintMgr instance. Instead of creating an instance in new mode, use create to create an instance.