0

I know how to print forms in vb but i wanted to change the page orientation to landscape but the code in the help file is

:evil:form1.orientation=1 '1 for landscpe and 2 for prtrait:evil:

this doesn't work please help

4
Contributors
8
Replies
13
Views
11 Years
Discussion Span
Last Post by agrothe
0

I think you have to manipulate the printer object directly.....

This is correct. Use:

Printer.Orientation = 2
Form1.PrintForm

1 for Portrait and 2 for Landscape.

0

Yup, that's write... do me a favor and toss in some code tags ;)

write or right?? LOL code tags it is . . .

0

Thanx alot . I was really frustrated.

It worked!!!!!!!!!!!!!

0

How can i use the data grid for in putting data in the database when you are using visual basic 6.0? Please help

0

How can i use the data grid for in putting data in the database when you are using visual basic 6.0? Please help

Robbin, this thread is 5 years old. Please start a new thread.

PS: try giving more information too, like what you have already tried, what type of database, etc.

Cheers,

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.