|
-
Feb 13th, 2000, 03:34 PM
#1
Thread Starter
Lively Member
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...
-
Feb 14th, 2000, 12:54 PM
#2
Junior Member
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
-
Feb 14th, 2000, 02:41 PM
#3
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|