I need code to wrap data from a database field into a text file. I can do short fields just fine but the long ones need wrapped.

the code i have will appear to wrap ok when viewing with Wordpad, Notepad or on Email attachments but when printed it is broken up into funny sections.

I heard that the API can do this.

ANY info on where i can get info on printing would be a big help also. printing seems to be tricky with VB6.

can someone help me?

Ron