Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer and VB5

Status
Not open for further replies.

Ludwig777

Programmer
Mar 17, 2012
1
DE

HELP !!!!

I'm having a huge problem with VB5 and my printer.
I want to read a database and make a data-printout.

the printer is initialized with:

Set cPrn = Printer

cPrn.ScaleMode = 4 (or 6 in vbMillimeters is the same)
cPrn.Orientation = vbPRORPortrait
cPrn.PaperSize = vbPRPSA4

cPrn.FontName = "Courier New"
cPrn.FontSize = 7

then a heaeder is printed and everything is fine.
but as soon as the data-lines are printed fontsize and
fontname are getting very small

Can anybody tell me, what's going wrong ?

Ludwig


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top