Export (0) Print
Expand All

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 PrintServer type exposes the following members.

  NameDescription
Public method PrintServer Overloaded. Initializes a new instance of the PrintServer class.
Top

  NameDescription
Public method Commit 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. (Overrides PrintSystemObject.Commit().)
Public method Static member DeletePrintQueue Overloaded. Removes a print queue from the print server.
Public method Dispose Overloaded. Releases the resources used by the PrintSystemObject.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases the resources that are being used by the PrintSystemObject. (Inherited from PrintSystemObject.)
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.)
Protected method Initialize Initializes the properties of the PrintSystemObject. (Inherited from PrintSystemObject.)
Public method InstallPrintQueue Overloaded. Installs a print queue, and its associated printer driver, on the print server.
Protected method InternalDispose Releases the unmanaged resources that are used by the PrintServer and optionally releases the managed resources. (Overrides PrintSystemObject.InternalDispose(Boolean).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Refresh 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. (Overrides PrintSystemObject.Refresh().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
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.
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.)
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 Gets the name of the print server. (Overrides PrintSystemObject.Name.)
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

Community Additions

ADD
Show:
© 2015 Microsoft