Discussion Locked

VB wrapping when printing

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
OK, here's the dilema - Visual Basic. I have a RTF textbox in the form, which wraps text in itself. But, when I tell the printer to print it, it prints directly across and doesn't wrap the text down to the next line, instead just acts as if the paper was wide enough to print it all. How do I get the printer to automatically break it down to the next line??

1 reply

by madestroitsolutions

This is a well known bug, and I have the code to make it work. This is gonna cost you more points man, its a lot of code :), lol, just kidding... its too much code, it doesnt fit in here, so send me an e-mail, and I will reply to you with the code.
My e-mail address is:
juanja01@optonline.net

You need to make a module with a number of functions and some API calls. I got the code straight from the MSDN library (why doesnt microsoft take care of it instead???...)

Good Luck!

This discussion is closed to new replies.