Chapter 2 -- 150
Programmer’s Guide
"
"
"
"
Document.EndPrinting
VTS_NONE
EndPrinting
(
Reason
).
Infoms the user of the end of the printing process for current
document with anotification code.
Reason VT_I2 or Integer or enumEndPrinting type. Code for
the reason for the end of the process.
The value can be one of the following:
lppxEndOfJob
= 1
lppxCancelled
= 2
lppxSystemFailure
= 3
"
"
"
"
Document.PausedPrinting
VTS_NONE
PausedPrinting
(
Reason, refCancel
).
Informs the user of a problem during printing process for the
current document.
Reason VT_I2 or Integer or enumPausedReasonPrinting type.
Reason for the end of the process.
The value can be one of the following:
lppxGenericError
= 0
lppxNoPaper
= 2
lppxNoRibbon
= 3
lppxPortNotAvailable
= 4
lppxPrinterNotReady
= 5
lppxCommunicationError = 6
lppxHeadLifted
= 7
lppxPrinterMemory
= 8
lppxPrinterSettings
= 9
lppxSetupCommunication = 10
Parameters:
refCancel
VT_I2 or Integer. User must assign this parameter
to 1 to abort process.