This topic has not yet been rated - Rate this topic

PrintServer Members

Manages the print queues on a print server, which is usually a computer, but can be a dedicated hardware print server appliance.

The following tables list the members exposed by the PrintServer type.

  Name Description
Public method PrintServer Overloaded. Initializes a new instance of the PrintServer class.
Top
(see also Protected Properties )
  Name Description
Public property BeepEnabled Gets or sets a value that indicates whether the print server beeps in response to an error condition in the printer.
Public property DefaultPortThreadPriority Do not use.
Public property DefaultSchedulerPriority Do not use.
Public property DefaultSpoolDirectory Gets or sets the path where the print server's spool files are located.
Public property EventLog Gets or sets the type of events that the print server logs.
Public property MajorVersion Gets the major version of the operating system.
Public property MinorVersion Gets the minor version within the major version of the operating system.
Public property Name Overridden. Gets the name of the print server.
Public property NetPopup Gets or sets a value that indicates whether notifications that a print job has finished are sent to either the print server or the client computer.
Public property Parent  Gets the parent of the object. (inherited from PrintSystemObject)
Public property PortThreadPriority Gets or sets the thread priority for the process that manages I/O through the printer ports.
Public property PropertiesCollection  Gets a collection of attribute and value pairs. (inherited from PrintSystemObject)
Public property RestartJobOnPoolEnabled Gets or sets a value that indicates whether users can restart jobs after an error occurs if printer pooling is enabled.
Public property RestartJobOnPoolTimeout Gets or sets a value that indicates the wait time before a job can be restarted, if an error occurs when printer pooling is also enabled.
Public property SchedulerPriority Gets or sets the thread priority for the process that routes print jobs from applications to print queues.
Public property SubSystemVersion Gets the version of the print spooler system.
Top
  Name Description
Protected property IsDelayInitialized Gets or sets a value that indicates whether initialization of the PrintServer properties has been postponed.
Protected property IsDisposed  Gets or sets a value that indicates whether the object has been disposed. (inherited from PrintSystemObject)
Top
(see also Protected Methods )
  Name Description
Public method Commit Overridden. Commits any changes that your program made to the properties of the print server object by writing them to the print server that the object represents.
Public method Static DeletePrintQueue Overloaded. Removes a print queue from the print server.
Public method Dispose  Overloaded. Releases the resources that are being used by the PrintSystemObject. (inherited from PrintSystemObject)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetPrintQueue Overloaded. Gets a specified print queue from the print server.
Public method GetPrintQueues Overloaded. Gets the collection of print queues that the print server hosts.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InstallPrintQueue Overloaded. Installs a print queue, and its associated printer driver, on the print server.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Refresh Overridden. Updates the properties of the PrintServer object so that each property value matches the corresponding attribute value of the print server that the object represents.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method Static BaseAttributeNames  Gets the names of the attributes of the derived class. (inherited from PrintSystemObject)
Protected method Dispose  Overloaded. Releases the resources that are being used by the PrintSystemObject. (inherited from PrintSystemObject)
Protected method Finalize  Releases the resources that are being used by the PrintSystemObject. (inherited from PrintSystemObject)
Protected method Initialize  Initializes the properties of the PrintSystemObject. (inherited from PrintSystemObject)
Protected method InternalDispose Overridden. Releases the unmanaged resources that are used by the PrintServer and optionally, releases the managed resources.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.