Re: Printing doc file using cocoa
Re: Printing doc file using cocoa
- Subject: Re: Printing doc file using cocoa
- From: Ramesh P <email@hidden>
- Date: Thu, 7 Jan 2010 11:33:22 +0530
I solved that.. It printing in multiple pages.
I added the following line.
[printInfoDict setObject:filename forKey:NSPrintSavePath];
Thanks,
Ramesh.P
On Thu, Jan 7, 2010 at 10:46 AM, Ramesh P <email@hidden>wrote:
> Thanks Scott and Daniel,
>
> I tried using NSTextview. Now i can print the doc file. But it printing as
> a single page.
> My doc file has 5 pages. But it printing as a single page in very small
> size of letters.
> How to solve this?
>
> Thanks,
> Ramesh.P
>
>
>
>
> On Wed, Jan 6, 2010 at 11:34 PM, Scott Ribe <email@hidden>wrote:
>
>> > Is it possible to print a doc file using cocoa application?
>>
>> Yes, but. It is possible to load a doc file into an attributed string, put
>> it into a text view, and print that. But support is limited--it can't deal
>> with all features of doc files, so you'd need to test for your
>> application.
>>
>>
>> --
>> Scott Ribe
>> email@hidden
>> http://www.killerbytes.com/
>> (303) 722-0567 voice
>>
>>
>>
>
_______________________________________________
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