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 wrote:
> Thanks Scott and Daniel,
>
> I tried using NSTextview. Now i can print the doc file. But it
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 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.
--
Scot
Le 6 janv. 2010 à 14:55, Ramesh P a écrit :
> Hi all,
>
> Is it possible to print a doc file using cocoa application?
> If possible please give some suggestions.
> I printed pdf and image files.. But i didn't get any solution for doc files.
>
FWIW, the sources of TextEdit are available in Xco
Hi all,
Is it possible to print a doc file using cocoa application?
If possible please give some suggestions.
I printed pdf and image files.. But i didn't get any solution for doc files.
Thanks in advace,
Ramesh.P
___
Cocoa-dev mailing list (Cocoa-dev