Class definition file: wprprint.idl
Class hierarchy SOMObject
WPObject
WPAbstract
WPPrinter
WPRPrinter
Description
This is the remote (network) printer object class. An instance of this class represents a print resource on another computer or server. For proper behavior, a network must be installed. Each instance has a title corresponding to the remote resource and resides on the desktop.
Instance methods
The following list shows all the WPRPrinter methods:
WPObject instance methods
The following list shows all the methods overridden by the WPRPrinter class. These methods are overridden in order to modify the behavior defined by an ancestor class.
The following table shows the keyname-value pairs added by the WPRPrinter class.
┌─────────────────┬─────────────────┬──────────────────────────┐│KEYNAME │VALUE │DESCRIPTION │ ├─────────────────┼─────────────────┼──────────────────────────┤ │ICON │filename │The name of the .ICO file │ │ │ │to be used as the icon for│ │ │ │this object. │ ├─────────────────┼─────────────────┼──────────────────────────┤ │NETID │<network> │The full name of the │ │ │ │printer resource as it is │ │ │ │known to the network. For │ │ │ │example: │ │ │ │LS:\\DEPTSERV\DEPTPRNT │ │ │ │The NETID key will be │ │ │ │ignored and FALSE will be │ │ │ │returned if this object │ │ │ │has already been assigned │ │ │ │a NetId. │ ├─────────────────┼─────────────────┼──────────────────────────┤ │REFRESHINTERVAL │value │Time interval, in seconds,│ │ │ │when the printer object is│ │ │ │refreshed. │ ├─────────────────┼─────────────────┼──────────────────────────┤ │SHOWJOBS │ALL │All jobs are displayed in │ │ │ │the printer object. │ ├─────────────────┼─────────────────┼──────────────────────────┤ │ │OWN │Only the current user's │ │ │ │jobs are displayed in the │ │ │ │printer object. │ ├─────────────────┼─────────────────┼──────────────────────────┤ │TAKEDEFAULTS │YES │This specifies that the │ │ │ │printer object takes the │ │ │ │default values when it is │ │ │ │created. │ ├─────────────────┼─────────────────┼──────────────────────────┤ │ │NO │This specifies that the │ │ │ │printer object does not │ │ │ │take default values when │ │ │ │it is created. This will │ │ │ │cause the "Access another │ │ │ │network printer" dialog to│ │ │ │be displayed. │ └─────────────────┴─────────────────┴──────────────────────────┘
Class methods
There are currently no class methods defined for the WPRPrinter Workplace class object.
WPObject class methods
The following list shows all the class methods overridden by the WPRPrinter class. These methods are overridden to modify the behavior defined by an ancestor class.