pvsbandi
asked on
VBScript to Change the font
Hi,
I have a text file that has some formatted content.
I want to change the font of this text file using vbscript.
Can someone kindly help with the sample code?
I have a text file that has some formatted content.
I want to change the font of this text file using vbscript.
Can someone kindly help with the sample code?
A plain text file has no font information. Please explain your context.
ASKER
Thanks!
It is a text file. When trying to print, the text is wrapping because of the font size. So, the idea is to decrease the font and be able to display the information without wrapping.
It is a text file. When trying to print, the text is wrapping because of the font size. So, the idea is to decrease the font and be able to display the information without wrapping.
How do you print it?
ASKER
it's the users who print it manually. Letter -> Portrait
I can ask them to change the layout but not everyone knows to do it.
I can ask them to change the layout but not everyone knows to do it.
Well, let them use Wordpad or Word.. As long as they print it manually, you cannot do much.
ASKER
i need to somehow change the text content so it doesn't wrap in certain places
Then you need to reformat it. Insert line breaks after 72 characters.
ASKER
any example code you can help me with?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!