• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: printer user friendly paper name to internal paper name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printer user friendly paper name to internal paper name?


  • Subject: Re: printer user friendly paper name to internal paper name?
  • From: Daniel Demiss <email@hidden>
  • Date: Mon, 20 Apr 2009 10:56:27 +0200

Hi.
I'm not quite sure if I got you right but:

Am 17.04.2009 um 23:24 schrieb email@hidden:

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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: printer user friendly paper name to internal paper name?
      • From: "email@hidden" <email@hidden>
References: 
 >printer user friendly paper name to internal paper name? (From: "email@hidden" <email@hidden>)

  • Prev by Date: Creating table rows from XML
  • Next by Date: OpenGL
  • Previous by thread: printer user friendly paper name to internal paper name?
  • Next by thread: Re: printer user friendly paper name to internal paper name?
  • Index(es):
    • Date
    • Thread