Re: Obtaining printer info
Re: Obtaining printer info
- Subject: Re: Obtaining printer info
- From: Chris Hanson <email@hidden>
- Date: Thu, 1 Apr 2004 15:42:40 -0600
On Apr 1, 2004, at 12:12 PM, Mark Woollard wrote:
How do I get the printable bounds of a page and the output resolution
in dpi for a given printer?
You can use NSPrintInfo to get the imageable bounds of a page for a
particular device. Why do you want the output DPI? Unless you
absolutely need to do your own rasterization, you should generally work
in a resolution-independent coordinate system and let Quartz handle
things like scaling for you.
-- Chris
--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
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.