| PMPrinter Class | 
Namespace: PM90SettingsAPI.Printer
public class PMPrinter : PMRestrictable
The PMPrinter type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateCostProfile | 
            Creates a cost profile by name, or returns existing profile by that name if already exists
              | |
| Delete | 
            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.  | |
| DisableRule | 
            Disables the passed rule for this printer if enabled. 
              | |
| EnableRule | 
            Enables the rule for this printer
              | |
| GetCostProfile | 
            Gets a PMPrinter object representing a cost profile
              | |
| GetCostProfiles | 
            Returns all active cost profiles within the Print Manager Plus database
              | |
| GetDirectPrintQueue | 
            Gets a PMPrinter object representing a tracked print queue
              | |
| GetPrintQueues | 
            Returns all active direct print queues within the Print Manager Plus database
              | |
| GetPullPrintQueue | 
            Gets a PMPrinter object representing a pull print queue
              | |
| GetPullPrintQueues | 
            Returns all active pull print queues within the Print Manager Plus database
              | |
| Refresh | 
            Refreshes printer information, cost settings and restrictions
              | |
| RefreshRestrictions | 
            Refreshes restriction list applied to this object
              (Inherited from PMRestrictable.) | |
| SetCostPerArea | 
            Set basic costs per total square area.
              | |
| SetCostPerLength | 
            Set basic costs per total job length
              | |
| SetCostPerPage | 
            Set basic costs per page
              | |
| SetCostPerPageSize | 
            Set cost per page size
              | |
| SetCostProfile | 
            Sets this printer or device to use the specified cost profile
              | 
| Name | Description | |
|---|---|---|
| DEFAULT_COST_SETTINGS | 
            null is used to request the default cost settings
              | |
| DEFAULT_PULL_PRINT_QUEUE | 
            null is used to request the default pull print queue
              | 
| Name | Description | |
|---|---|---|
| BlackAndWhiteRestriction | 
            The current black and white restriction on this object
              (Inherited from PMRestrictable.) | |
| ColorCostPerUnit | 
            Current color cost per page, inch, or square inch depending on CostOption
              | |
| ColorRestriction | 
            The current Color restriction on this object
              (Inherited from PMRestrictable.) | |
| CopiesRestriction | 
            The current Copies restriction on this object
              (Inherited from PMRestrictable.) | |
| CostLocation | 
            The current location this printer or device gets its settings from.
              | |
| CostOption | 
            The currently used cost option for this queue or device
              | |
| CostProfile | 
            If the object is using a cost profile, this will hold a reference to it.  
              | |
| DatabaseID | 
            The printer's unique database identifier
              (Overrides PMRestrictableDatabaseID.) | |
| DayTimeRestriction | 
            The current DayTime restriction on this object
              (Inherited from PMRestrictable.) | |
| DuplexDiscount | 
            Indicates how much percentage of cost will be taken off the total cost when job is duplex
              | |
| DuplexRestriction | 
            The current Duplex restriction on this object
              (Inherited from PMRestrictable.) | |
| DuplicateRestriction | 
            The current Duplicate restriction on this object
              (Inherited from PMRestrictable.) | |
| EconomodeDiscount | 
            Indicates how much percentage of cost will be taken off the total cost when job is economode
              | |
| IsDefault | 
            Returns true if is the default for it's type, i.e. Default cost profile.  
             Always false for queues where default is not applicable.  | |
| JobCostRestriction | 
            The current Page Costrestriction on this object
              (Inherited from PMRestrictable.) | |
| JobSizeRestriction | 
            The current Job Size restriction on this object
              (Inherited from PMRestrictable.) | |
| MachineName | 
            Server or Workstation name queue resides on.
              | |
| MonoCostPerUnit | 
            Current black and white cost per page, inch, or square inch depending on CostOption
              | |
| OverriddenPageSizeCosts | 
            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
              | |
| PageCountRestriction | 
            The current Page Count restriction on this object
              (Inherited from PMRestrictable.) | |
| PageSizeRestriction | 
            The current PageSize restriction on this object
              (Inherited from PMRestrictable.) | |
| PrinterName | 
            The name of the print queue within Windows
              | |
| PrinterType | 
            The type of printer this instance represents
              | |
| Restrictions | 
            Full list of all generic restrictions.
              (Inherited from PMRestrictable.) | |
| Rules | 
            Returns all rules enabled on this printer
              | |
| ShareName | 
            The sharename of the print queue.  Test for null prior to using
              | |
| TitleRestriction | 
            The current Title restriction on this object
              (Inherited from PMRestrictable.) |