Re: Printing an NSDocument
Re: Printing an NSDocument
- Subject: Re: Printing an NSDocument
- From: Scott Anguish <email@hidden>
- Date: Fri, 19 Mar 2010 02:33:45 -0400
well, getting that old demo to work seems more trouble than it’s worth.
have you looked at the Printing Programming Topics for Cocoa in the documentation?
On Mar 18, 2010, at 7:17 PM, Jenny M wrote:
> 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
_______________________________________________
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