On 23/02/2011, at 11:24 AM, Bruce Cresanta wrote:

> I'm trying to print an NSTextView of HTML code.    The right side is 
> truncated on the actual printout.    Suggestions to correct this are 
> appreciated.


What do you want it to do to be 'correct'? What have you tried?

It's typical for HTML code to not be wrapped, so long lines run on until a 
newline is encountered. I believe text views arrange for there to be one column 
of n pages for a print layout by default, so what you're getting is exactly 
what I'd expect.

If you want it to word-wrap, set up the text view to word wrap.

If you want it to tile across a number columns to accommodate the text, change 
the print parameters to do that.

--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to