PDA

Click to See Complete Forum and Search --> : Sending a text with format to the printer


willye
Nov 17th, 1999, 11:46 AM
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!!

Yonatan
Nov 17th, 1999, 11:57 AM
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: RZvika@netvision.net.il
ICQ: 19552879 (http://www.icq.com/19552879)
AIM: RYoni69