How can I print directly to the printer with an specific font and size (say Arial 12) and in a number of column and row that are not necesarily integers (say 10.3,12.2)?
Thanks!!
Printable View
How can I print directly to the printer with an specific font and size (say Arial 12) and in a number of column and row that are not necesarily integers (say 10.3,12.2)?
Thanks!!
With Printer
.ScaleMode = vbCentimeters ' Or vbPixels or vbInches or vbMillimeters, etc.
.CurrentX = 10.3 ' Row, in Centimeters
.CurrentY = 12.2 ' Column, in Centimeters
.Font.Name = "Arial"
.Font.Size = 12
.Print Text1.Text
.EndDoc
End With
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
AIM: RYoni69