jiyad
asked on
how to make a form A4 size
how can I make a vb form A4 using inches and print some textboxes in it.
can I get an idea how to do this .
thanx
ASKER
I have set the forms Scalemode property to inches and i use this code in the load event
Private Sub Form_Load()
Form1.ScaleMode = 5
Form1.Height = 8.5
Form1.Width = 11
End Sub
I dont get the result I need , I dont know what the poblem is !!
thanx
Private Sub Form_Load()
Form1.ScaleMode = 5
Form1.Height = 8.5
Form1.Width = 11
End Sub
I dont get the result I need , I dont know what the poblem is !!
thanx
ASKER
the form shows as it was minimised somewhat.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I don't thisnk the 8.5 by 11 is A4. 8.5 by 11 is the standard US page size.
A4 is 210 mm by 287 mm
and that translates to 8.2677 inches by 11.2992
try those dimension and that should get you close.
AW
A4 is 210 mm by 287 mm
and that translates to 8.2677 inches by 11.2992
try those dimension and that should get you close.
AW
A4 paper size is 210mm x 297 mm - 8.267 x 11.692 inches
US letter size is 8.5 x 11 inches
Remember when setting your form size that your printer can never print over the whole page. There is always an unprintable area on left/right and top/bottom. This varies from printer to printer but you should be safe if you assume a 5 mm (0.2 inch) margin. so your form size in inches should be 8 x 11.5 which should do the trick and be pritable without the "outside the printable area" error
US letter size is 8.5 x 11 inches
Remember when setting your form size that your printer can never print over the whole page. There is always an unprintable area on left/right and top/bottom. This varies from printer to printer but you should be safe if you assume a 5 mm (0.2 inch) margin. so your form size in inches should be 8 x 11.5 which should do the trick and be pritable without the "outside the printable area" error
You should be able to set the Form Height and Width, in design mode.
AW