|
-
Mar 14th, 2000, 06:34 AM
#1
Thread Starter
Addicted Member
hello I have a string that is about 300 characters long, and the page can hold about 98 characters wide when I print to the printer.. but it cuts off at 98 instead of wrapping it.. is there a way to wrap it? thanks
Thai
-
Mar 14th, 2000, 07:08 AM
#2
Addicted Member
Hi there it's me again (typo error),
So u said it can hold up 'till 98 chars, create a sub routine w/c checks your string that AFTER 98 char insert the constant vbCR & vbLF this would force the printer to line feed.. I know this works ?
Hope this can help you ...
-
Mar 14th, 2000, 10:35 AM
#3
Addicted Member
You'll probably also want to make sure you break your line at an appropriate spot and not in the middle of a word. You can use the InStr function to find the location of a space in your string at a location less than or equal to 98 characters and then insert the vbCRLF at that point.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|