Link to home
Start Free TrialLog in
Avatar of powerfool
powerfool

asked on

print proportional font

Hi, how to set printer to print proportional font, so character like "I" and "M" should has same width printed. Thx and Rgds.
ASKER CERTIFIED SOLUTION
Avatar of QJohnson
QJohnson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of QJohnson
QJohnson

You want a fixed width font NOT A PROPORTIONAL font.

You simply have to know the names of the ones available that are fixed width.  The one everyone uses for safety's sake is Courier New

If you want to be polite and re-set it the way you found it:

dim strFoundFontName as string
dim sglFoundFontSize as single

with Printer
   ' get existing values
   strFoundFontName = .FontName
   sglFoundFontSize = .FontSize
   ' set ours
   .FontName = "Courier New"
   .FontSize = 10
   '  print our stuff here
   < your printing code >
   '  set them back like we found them
   .FontName = strFoundFontName
   .FontSize = sglFoundFontSize
end with

Good luck.

Q
powerfool:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
Avatar of DanRollins
Moderator, my recommended disposition is:

    Accept QJohnson's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer