Click or drag to resize

PrinterErrorEvent Class

X#
Provide information about a PrinterErrorEvent, used to describe errors that occur during a print job (for example, insufficient memory or disk space).
Inheritance Hierarchy
Object
  Event
    PrinterErrorEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CLASS PrinterErrorEvent INHERIT Event
Request Example View Source

The PrinterErrorEvent type exposes the following members.

Constructors
  NameDescription
Public methodPrinterErrorEvent
Initializes a new instance of the PrinterErrorEvent class
Top
Properties
  NameDescription
Public propertyErrorType
One of the following events that are passed to the Printer:Expose() method, when the system requires another page to be painted and sent to the Print Manager:
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
Fields
  NameDescription
Public fieldhWnd (Inherited from Event.)
Public fieldlParam (Inherited from Event.)
Public fieldoWindow (Inherited from Event.)
Public fielduMsg (Inherited from Event.)
Public fieldwParam (Inherited from Event.)
Top
Remarks
By default, the event handler displays a text box for the "no disk space" message. The error handler does not abort automatically, but prompts the user to abort or retry. If the user retries, the system returns control to the Print Manager. However, the device drivers of some printers can prohibit such a message. All other errors should cause a printer abort.
See Also

Reference