Results 1 to 3 of 3

Thread: printing question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    Israel
    Posts
    79

    Post

    hi,

    i want to print a square, and i want it to be a specific size(like 10 sm for example)

    how can i print a form(like square) ?
    how do i make it to be the same size no matter what printer it is ?

    thanx...

  2. #2
    Junior Member
    Join Date
    Feb 2000
    Posts
    21

    Post

    This code will print a 1cm X 1cm square at 1cm from the top of the sheet and 1cm from the left of the sheet. I know there is a more efficient way to draw shapes with the line method but I do not have VB help at home...

    Printer.ScaleMode = vbCentimeters
    Printer.Line (1, 1)-(1, 2)
    Printer.Line (1, 2)-(2, 2)
    Printer.Line (2, 2)-(2, 1)
    Printer.Line (2, 1)-(1, 1)
    Printer.EndDoc

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    Israel
    Posts
    79

    Post

    Thanx, it really helped

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