• 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
how to print a NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to print a NSView


  • Subject: how to print a NSView
  • From: Linea Tessile srl <email@hidden>
  • Date: Fri, 10 Dec 2004 12:34:38 +0100



Hi people,
I have a window which contains a NSImageView and a NSView subclassed with a NSScrollView.
In the NSImageView I have put a .tif image and in the view an array of NSBezierPath that realize a design.
I needed to print this window, so I have used the Print item of MainMenuNib and I have connected it to NSWindow throught the print method.

Well, I have 3 problems:

1) the image .tif is not printed

2) the size of window is grater than A4 format, so it is reduced to permit to fit it in the page. In this way I have lost the real size of my design!!!


3) if my design size is greater than the size of NSScrollView, I can see the design moving the horizontal and vertical scroller, but I can't print it because only the part of design visible is printed!


Does anyone know how to help me?

Best regards ,

Alessandra
 _______________________________________________
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

  • Follow-Ups:
    • Re: how to print a NSView
      • From: Jonathan Jackel <email@hidden>
  • Prev by Date: drag and drop workarounds?
  • Next by Date: [OT] Objective-C history
  • Previous by thread: drag and drop workarounds?
  • Next by thread: Re: how to print a NSView
  • Index(es):
    • Date
    • Thread