|
-
Jul 13th, 2000, 06:54 AM
#1
Thread Starter
New Member
I am trying to print information from my database using the Printer.printer function. The printout is so small that I have to increase the size of the fonts to 35 using code, it then works fine on my system,but this is no good because as soon as I try the App on another computer the printout fonts are 3 times the size.
Has anyone got an anwser??
-
Jul 13th, 2000, 01:15 PM
#2
I noticed that on several versions of vb (eg vb5 without sp)
the printer object has problems with the fonts. I also noticed that this normally can be fixed by assuring that setting a font actually changes the font of the printer. So if I want to print in Arial i set the font to Courier New first (could be anything as long it isn't arial and it is present on the clients machine).
eg
Printer.Font = "Courier New"
Printer.Font = "Arial"
Printer.Font.Size = 9
Printer.Print "Hello World"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|