|
Q: What is the difference between the Printer Name that is visible in the print dialog and the name of a Printer Queue?A: The printer name is the user's chosen name for a print queue, and is displayed by the Print & Faxes Preferences Pane and in Print Dialogs. This name should always be presented to the user when referencing a printer queue. There are no guarantees of uniqueness among printer names. The name of a Printer Queue is a unique internal representation that specifies that specific print queue. This name is also known as, and hereafter referred to as, the Printer ID. It is a unique name that can always be used to reference a specific print queue. No matter how many print queues the user creates the Printer IDs created will always be unique. To reliably reference a particular print queue, and therefore a specific printer, it is necessary to always use a Printer ID. You can reference a printer by Printer ID by creating a Typically you do not need to know the Printer ID to print. However in some limited situations it makes sense to save the selected printer and automatically use it when needed (for example to print receipts for a point-of-sale application). The Printer ID provides the necessary persistent reference, since you cannot save a The For an example of using these APIs to save and restore printer settings, visit Technical Note TN2155: Saving Printer Settings for Automatic Printing Document Revision History
Posted: 2007-04-26 |
|