Results 1 to 2 of 2

Thread: Sending a text with format to the printer

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    14

    Post

    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!!

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Post

    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
    AIM: RYoni69

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width