Re: Printing an NSDocument
Re: Printing an NSDocument
- Subject: Re: Printing an NSDocument
- From: Jenny M <email@hidden>
- Date: Thu, 18 Mar 2010 16:17:29 -0700 (PDT)
Sorry, no answer, I'm just having a similar issue. I need to print
columns of text, and all the examples I see indicate a manual creation
and placement of EACH line of text in an NSRect inside the view. ...
Is there really no better way to place objects in the view?
Jenny
On Mar 18, 12:47 pm, Brian Postow <email@hidden> wrote:
> I'm trying to print a document. The document is an array of NSImageReps, or a single NSPDFImageRep, which has multiple pages. I'm having trouble figuring out how to use the NSPrintOperation class to print this.
>
> The NSPrintOperation seems to need an NSView to print. Do I need to manually add each image into the view at a calculated position and then let it do the pagination? that seems like it isn't in the spirit of Cocoa... is there some technique that I'm missing?
>
> Brian Postow
> Senior Software Engineer
> Acordex Imaging Systems
>
> _______________________________________________
>
> 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
>
>
> This email sent to email@hidden
_______________________________________________
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