Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16044

[RESOLVED] Printing a Form

$
0
0
I am running VB6 on WIN10.

I found I can print a form using the following code

" Printer.Orientation = 2 'LANDSCAPE Printer.PrintQuality = vbPRPQHigh '-4
Printer.ColorMode = vbPRCMColor '2
Me.PrintForm
"

How can I center the form horizontally on the paper?
The data is already centered when displayed on the screen.

Also, all the 'text' (really label boxes are printing correctly except for one. The page title is printing with a larger font size. I need the original font size for screen display. Do I just change the font size temporarily for printing and then change it back?

Thanks

Viewing all articles
Browse latest Browse all 16044

Trending Articles



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