• 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 and NSPageLayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPrintInfo and NSPageLayout


  • Subject: Re: NSPrintInfo and NSPageLayout
  • From: Torsten Curdt <email@hidden>
  • Date: Sat, 08 Oct 2011 15:29:45 +0200

>> So I have the panel and the preview is correct. Now I click to change
>> the orientation from portrait to landscape. Of course at a scaling
>> factor of 100% it should fill the page, but instead it's just sticks
>> to the previous size and centers it on the page.
>>
>> What am I missing there?
>
> Hard to know from just that description.

Well, the code is here

https://gist.github.com/919d845b2e1b5becbaac

Or do you mean you don't understand what I mean by "just sticks to the
previous size and centers it on the page". It's like the view is
rotated but not resized to the new width of the page. I made two
screenshots here:

 https://skitch.com/tcurdt/f986j/print
 https://skitch.com/tcurdt/f9861/print

>> Wish there was a proper example project available for this kind of stuff.
>
> It seems that both TextEdit and Sketch handle printing.  See /Developer/Examples.

Thanks for the pointers. They should be linked from docs.
Still need to try the orientations change with those examples to see
if it works there.

cheers,
Torsten
_______________________________________________

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: NSPrintInfo and NSPageLayout
      • From: Ken Thomases <email@hidden>
References: 
 >NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Ken Thomases <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Ken Thomases <email@hidden>)

  • Prev by Date: [Moderator] NDA and iOS 5 -- Re: Problem with AVFoundation
  • Next by Date: NSTableView - Drag/Drop not working
  • Previous by thread: Re: NSPrintInfo and NSPageLayout
  • Next by thread: Re: NSPrintInfo and NSPageLayout
  • Index(es):
    • Date
    • Thread