RE: Obtaining printer info
RE: Obtaining printer info
- Subject: RE: Obtaining printer info
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Thu, 1 Apr 2004 14:48:35 -0500
>
How do I get the printable bounds of a page and the output resolution
>
in dpi for a given printer?
[[NSPrintInfo sharedPrintInfo] imageablePageBounds]
gets you the printable rect, given the paper size selected in Page Setup...
The "Programming Topic" for printing includes a section on accessing printer
information.
<
http://developer.apple.com/documentation/Cocoa/Conceptual/Printing/index.ht
ml#//apple_ref/doc/uid/10000083i>
Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.