Click or drag to resize
PMPrinter Methods

The PMPrinter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateCostProfile
Creates a cost profile by name, or returns existing profile by that name if already exists
Public methodDelete
Deletes this from database if application. I.e. is the non default cost profile. Thrown if the operation is invalid, such as deleting the default cost profile.
Public methodDisableRule
Disables the passed rule for this printer if enabled.
Public methodEnableRule
Enables the rule for this printer
Public methodStatic memberCode exampleGetCostProfile
Gets a PMPrinter object representing a cost profile
Public methodStatic memberGetCostProfiles
Returns all active cost profiles within the Print Manager Plus database
Public methodStatic memberGetDirectPrintQueue
Gets a PMPrinter object representing a tracked print queue
Public methodStatic memberGetPrintQueues
Returns all active direct print queues within the Print Manager Plus database
Public methodStatic memberGetPullPrintQueue
Gets a PMPrinter object representing a pull print queue
Public methodStatic memberGetPullPrintQueues
Returns all active pull print queues within the Print Manager Plus database
Public methodRefresh
Refreshes printer information, cost settings and restrictions
Protected methodRefreshRestrictions
Refreshes restriction list applied to this object
(Inherited from PMRestrictable.)
Public methodSetCostPerArea
Set basic costs per total square area.
Public methodSetCostPerLength
Set basic costs per total job length
Public methodSetCostPerPage
Set basic costs per page
Public methodCode exampleSetCostPerPageSize
Set cost per page size
Public methodSetCostProfile
Sets this printer or device to use the specified cost profile
Top
See Also