Click or drag to resize
PMPrinter Properties

The PMPrinter type exposes the following members.

Properties
  NameDescription
Public propertyBlackAndWhiteRestriction
The current black and white restriction on this object
(Inherited from PMRestrictable.)
Public propertyColorCostPerUnit
Current color cost per page, inch, or square inch depending on CostOption
Public propertyColorRestriction
The current Color restriction on this object
(Inherited from PMRestrictable.)
Public propertyCopiesRestriction
The current Copies restriction on this object
(Inherited from PMRestrictable.)
Public propertyCostLocation
The current location this printer or device gets its settings from.
Public propertyCostOption
The currently used cost option for this queue or device
Public propertyCostProfile
If the object is using a cost profile, this will hold a reference to it.
Public propertyDatabaseID
The printer's unique database identifier
(Overrides PMRestrictableDatabaseID.)
Public propertyDayTimeRestriction
The current DayTime restriction on this object
(Inherited from PMRestrictable.)
Public propertyDuplexDiscount
Indicates how much percentage of cost will be taken off the total cost when job is duplex
Public propertyDuplexRestriction
The current Duplex restriction on this object
(Inherited from PMRestrictable.)
Public propertyDuplicateRestriction
The current Duplicate restriction on this object
(Inherited from PMRestrictable.)
Public propertyEconomodeDiscount
Indicates how much percentage of cost will be taken off the total cost when job is economode
Public propertyIsDefault
Returns true if is the default for it's type, i.e. Default cost profile.
Remarks
Always false for queues where default is not applicable.
Public propertyJobCostRestriction
The current Page Costrestriction on this object
(Inherited from PMRestrictable.)
Public propertyJobSizeRestriction
The current Job Size restriction on this object
(Inherited from PMRestrictable.)
Public propertyMachineName
Server or Workstation name queue resides on.
Public propertyMonoCostPerUnit
Current black and white cost per page, inch, or square inch depending on CostOption
Public propertyOverriddenPageSizeCosts
Provides a list of page sizes that have a custom cost for this printer or cost profile. Will return null when cost by page size is not enabled, or if costs come from a profile
Public propertyPageCountRestriction
The current Page Count restriction on this object
(Inherited from PMRestrictable.)
Public propertyPageSizeRestriction
The current PageSize restriction on this object
(Inherited from PMRestrictable.)
Public propertyPrinterName
The name of the print queue within Windows
Public propertyPrinterType
The type of printer this instance represents
Public propertyRestrictions
Full list of all generic restrictions.
(Inherited from PMRestrictable.)
Public propertyRules
Returns all rules enabled on this printer
Public propertyShareName
The sharename of the print queue. Test for null prior to using
Public propertyTitleRestriction
The current Title restriction on this object
(Inherited from PMRestrictable.)
Top
See Also