• 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: NSPrintInfo bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPrintInfo bug?


  • Subject: Re: NSPrintInfo bug?
  • From: Ken Victor <email@hidden>
  • Date: Wed, 21 Sep 2005 09:59:18 -0700

At 10:15 PM -0500 9/20/05, Fritz Anderson wrote:
On 20 Sep 2005, at 2:43 PM, Ken Victor wrote:

if i define and set my default paper to be wider than it is tall, and set my orientation to be [portrait], NSPrintInfo still reports the orientation as landscape. note that if i use the carbon apis to examine the page format, they describe things properly, ie, with the width and height as i set them and with the orientation as portrait. i believe this to be a bug. or do i misunderstand something? if it is a bug, is it known?

Cure my ignorance, please. I had thought that there was no intelligible definition of "portrait orientation" _other_ than that the image is taller than it is wide?


-- F

as far as i know, portrait and landscape specify how the image is actually printed on the page. portrait implies that the top of the image is printed at the top of the page, whereas landscape (and reverse landscape) imply that the image is rotated 90 degrees. consider the situation where a person has some pre-printed paper (with a letter head or logo at the top of the page) and this paper is wider that it is tall when viewed normally. the paper would in all liklihood be fed into a printer top edge (ie, the edge with the logo at the top) first. thus, in this case, the paper would want to be specified with a width greater than its height, but its normal printing would be in portrati mode.


ken
_______________________________________________
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: 
 >NSPrintInfo bug? (From: Ken Victor <email@hidden>)
 >Re: NSPrintInfo bug? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Standard Input/Output
  • Next by Date: Re: Mysterious warning (initialization from distinct Objective-C type)
  • Previous by thread: Re: NSPrintInfo bug?
  • Next by thread: Core Video, anyone?
  • Index(es):
    • Date
    • Thread