encoding - VB6 program on Windows 8.1 fails to print Hebrew with Printer.Print -
I have an old program written in VB6. I'm trying to do the right thing on Windows 8.1
Everything works, besides sending text to Hebrew on the printer, the printer "???" It prints out instead of Hebrew characters that it is an encoding problem, but I have not found any way to solve it. This program works on Windows 7 without any problem!
Relevant code:
printer.fonts.churset = 177 'Hebrew encoding printer. Print '& lt; , "Printer.EndDoc If anyone has advice, I would appreciate it very much. Thanks!
This usually means that the font used does not have those characters in. Arial in stuff like ¬ μ® ÖÖÖÖÖÖÖ§§.
object. Font Name [= font] Font Name property syntax has these parts:
Extra details
Object is an object acne for an object List on the insell
Name
Note
Specify the default font for this property to use the string expression used to specify font fonts. The fonts available with Visual Basic vary depending on your system configuration, display devices and printing devices. Font-related properties can be set for values only for those Fonts are present.
Generally, you should change the font name before setting size and style attributes with FontSize, FontBold, FontItalic, FontStrikethru, and FontUnderline properties. / P>
Comments
Post a Comment