PrintServer Members
.NET Framework 3.0
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.
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| BeepEnabled | Gets or sets a value that indicates whether the print server beeps in response to an error condition in the printer. |
| DefaultPortThreadPriority | Do not use. |
| DefaultSchedulerPriority | Do not use. |
| DefaultSpoolDirectory | Gets or sets the path where the print server's spool files are located. |
| EventLog | Gets or sets the type of events that the print server logs. |
| MajorVersion | Gets the major version of the operating system. |
| MinorVersion | Gets the minor version within the major version of the operating system. |
| Name | Overridden. Gets the name of the print server. |
| 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. |
| Parent | Gets the parent of the object. (inherited from PrintSystemObject) |
| PortThreadPriority | Gets or sets the thread priority for the process that manages I/O through the printer ports. |
| PropertiesCollection | Gets a collection of attribute and value pairs. (inherited from PrintSystemObject) |
| RestartJobOnPoolEnabled | Gets or sets a value that indicates whether users can restart jobs after an error occurs if printer pooling is enabled. |
| 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. |
| SchedulerPriority | Gets or sets the thread priority for the process that routes print jobs from applications to print queues. |
| SubSystemVersion | Gets the version of the print spooler system. |
| Name | Description | |
|---|---|---|
| IsDelayInitialized | Gets or sets a value that indicates whether initialization of the PrintServer properties has been postponed. |
| IsDisposed | Gets or sets a value that indicates whether the object has been disposed. (inherited from PrintSystemObject) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| 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. |
| DeletePrintQueue | Overloaded. Removes a print queue from the print server. |
| Dispose | Overloaded. Releases the resources that are being used by the PrintSystemObject. (inherited from PrintSystemObject) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetPrintQueue | Overloaded. Gets a specified print queue from the print server. |
| GetPrintQueues | Overloaded. Gets the collection of print queues that the print server hosts. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InstallPrintQueue | Overloaded. Installs a print queue, and its associated printer driver, on the print server. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| 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. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| BaseAttributeNames | Gets the names of the attributes of the derived class. (inherited from PrintSystemObject) |
| Dispose | Overloaded. Releases the resources that are being used by the PrintSystemObject. (inherited from PrintSystemObject) |
| Finalize | Releases the resources that are being used by the PrintSystemObject. (inherited from PrintSystemObject) |
| Initialize | Initializes the properties of the PrintSystemObject. (inherited from PrintSystemObject) |
| InternalDispose | Overridden. Releases the unmanaged resources that are used by the PrintServer and optionally, releases the managed resources. |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Reference
PrintServer ClassSystem.Printing Namespace
PrintQueue
LocalPrintServer