• 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 with exotic margins (a basic example)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing with exotic margins (a basic example)


  • Subject: Re: Printing with exotic margins (a basic example)
  • From: Brian Stern <email@hidden>
  • Date: Sun, 13 May 2007 23:51:07 -0400


On May 10, 2007, at 3:28 AM, Ewan Delanoy wrote:

the (rather simple) code below produces a blank page instead of the
expected yellow rectangle. Is it a bug or have I done something wrong ?
(the point of this example is to test printing with exotic margins)

You don't show in your code where yellowView comes from. In my printing code I alloc/init the NSView subclass that is passed to printOperationWithView and then release it at the end of the printShowingPrintPanel method.


Is yellowView already added to another window? If so that probably won't work.

--
Brian Stern
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Printing with exotic margins (a basic example)
      • From: "Ewan Delanoy" <email@hidden>
    • Re: Printing with exotic margins (a basic example)
      • From: "Ewan Delanoy" <email@hidden>
References: 
 >Printing with exotic margins (a basic example) (From: "Ewan Delanoy" <email@hidden>)

  • Prev by Date: Force a sleep
  • Next by Date: entity referencing self in relationship attribute
  • Previous by thread: Re: Printing with exotic margins (a basic example)
  • Next by thread: Re: Printing with exotic margins (a basic example)
  • Index(es):
    • Date
    • Thread