Link to home
Start Free TrialLog in
Avatar of mscannell
mscannell

asked on

Prinitng error on Bulletin Board

Hi,
I am trying to print some text which has been typed into
a text box.If I use printer.print the text comes out as one
long line and runs onto new pages. I basically need to wrap the text around. I wrote a function to wrap the text
onto the next line breaking on spaces however I seem to be losing the last word on each sentence when I print this does not happen in the debug window.To cut a long story short is there an easier way to print text from a large text box to a printer.
Cheers
Avatar of clifABB
clifABB

Simple answer, use the Rich Textbox and use it's SelPrint method.

As you are probably not looking for this type of answer, I'm only posting it as a comment.
Avatar of mscannell

ASKER

Thank you this will do it...
ASKER CERTIFIED SOLUTION
Avatar of clifABB
clifABB

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial