daniel,
thanx for the response. its not clear from the documentation whether
or not the name specified for pageSizeForPaper is an internal name or
a user name.
in any case, i've solve my problem via methods i posted yesterday to
this email list.
ken
At 10:56 AM +0200 4/20/09, Daniel Demiss wrote:
Hi.
I'm not quite sure if I got you right but:
Am 17.04.2009 um 23:24 schrieb kvic...@pobox.com:
my app is fully recordable and scriptable. when the user changes
the page setup, i am able to successfully record it and indicate
the paper name chosen via -[NSPrintInfo localizedPaperName].
How about saving the return value of "paperName" instead, which
you could use in conjunction with NSPrinter's "pageSizeForPaper:"?
Validation of the string would be as simple as
NSZeroSize != [myPrinter pageSizeForPaper:userSuppliedPaperName]
HTH
Daniel
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com