• 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: Printing issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing issues


  • Subject: Re: Printing issues
  • From: Frank Fenn <email@hidden>
  • Date: Fri, 22 Apr 2005 00:49:41 -0600

Hi Andrew,

Second, I also hand coded the paper size, because I can't figure out how to determine the available paper sizes for a particular printer. Is there a way to do this?

NSPrinter

pageSizeForPaper:

<x-tad-bigger>- (</x-tad-bigger><x-tad-bigger>NSString</x-tad-bigger><x-tad-bigger> *)</x-tad-bigger><x-tad-bigger>paperName
</x-tad-bigger>
Returns the size of the page for the paper type paperName. Possible values for paperName are contained in the printer’s PPD file. Typical values are Letter and Legal. Returns a zero size if paperName is not recognized, or its entry in the PPD cannot be parsed.

Sincerely,
Frank Fenn

--

Bright Light Software - http://www.brightlightsoftware.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Printing issues (From: Andrew Kinnie <email@hidden>)

  • Prev by Date: iconForFile for folders/volumes
  • Next by Date: Re: Memory management with nibs
  • Previous by thread: Printing issues
  • Next by thread: Re: Printing issues
  • Index(es):
    • Date
    • Thread