Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21096

Printer font not setting correctly

$
0
0
I have a program in VB4 16bit thats giving me trouble. I'm trying to get it to print to a modern printer with a fixed width font. If I set the font and font size in the code it works for one page and then goes to "MS Sans Serif" after that. I've tried adding the font name and size to the beginning of every print item but VB4 seems to ignore it after the first page.

The program is a front end for a access database. Due to calling add-ins it's stuck in 16bit land unless I rewrite large parts of the program. The program was originally meant to print to a dot matrix printer. All the reports are designed with a fixed font width in mind.

Viewing all articles
Browse latest Browse all 21096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>