• 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: Fake NSView dimensions for fake printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fake NSView dimensions for fake printing


  • Subject: Re: Fake NSView dimensions for fake printing
  • From: Joshua Scott Emmons <email@hidden>
  • Date: Tue, 28 Jun 2005 17:24:20 -0400


On Jun 28, 2005, at 1:59 PM, Scott Garner wrote:

On Jun 28, 2005, at 12:42, Joshua Scott Emmons wrote:

Why not just make your PDF using the Cocoa printing architecture instead of -dataWithPDFInsideRect:?



Using dataWithPDFInsideRect to avoid pagination seemed like the easiest approach unless there's some way to tell the printing architecture to not vertically paginate.

Well, like I said. You can tell NSPrintInfo to paginate, to clip, or to scale to fit. If its set to clip or scale, pagination has been effectively disabled, because it's not breaking anything on to pages anymore! Each of these behaviors can be assigned horizontally, vertically, or both.


But whatever works best for you.


-Joshua Emmons _______________________________________________ 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: 
 >Fake NSView dimensions for fake printing (From: Scott Garner <email@hidden>)
 >Re: Fake NSView dimensions for fake printing (From: Scott Garner <email@hidden>)

  • Prev by Date: OpenGL
  • Next by Date: NSTokenField
  • Previous by thread: Re: Fake NSView dimensions for fake printing
  • Next by thread: RE: Convert PICT to NSImage (SOLVED)
  • Index(es):
    • Date
    • Thread