Version: 2.0

Posted: 2009-02-13

Build Requirements: Xcode 3.1, Mac OS X 10.5

Runtime Requirements: Mac OS X 10.4

View Source Code:

Download Sample (“PMPrinterTest.zip”, 40.8K)
Download Sample (“PMPrinterTest.dmg”, 52.3K)



Description

Demonstrates how you can use the PMPrinter APIs to obtain the list of connected printers and obtain information such as the user and CUPS queue names, the printer model and the printer URI as well as current printer state.

Document Revision History

Date Notes
2009-02-13Now uses a table view to display the results, and bindings to fill the table view. Cleaned up numerous memory leaks.
2004-11-05Removed unnecessary calls to CFRelease.
2004-10-13minor editorial changes and spelling corrections.
2004-10-01Demonstrates using the PMPrinter APIs to obtain information about the connected printers.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.