I've tried word wrap, but I haven't tried character wrap yet.    I thought it 
might have to do with layout in IB, but that is false because of the underlying 
text system/pdf.    I don't understand your comment about tiling.

Bruce
On Feb 22, 2011, at 4:44 PM, Graham Cox wrote:

> 
> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to