Re: Printing issues
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