Dear Sir,
I would like to change page setup to be landscape to print a data report in VB6.
I need the full details.Is there is procedure or function pls. help me how to make it, where to write the code
Thank you in advance
A.jabbar
Dear Sir,
I would like to change page setup to be landscape to print a data report in VB6.
I need the full details.Is there is procedure or function pls. help me how to make it, where to write the code
Thank you in advance
A.jabbar
You might get away with
Printer.Orientation = vbPRORLandscape
Or via the use of the common dialog control but if not you will have to go around the hard way with the SetPrinter API.
Good Luck
hey, thats my problem too.please help.
you simply need to follow the post #2
This has been answered as well in the other post. vb5prgrmr is correct -
Printer.Orientation = 2
report1.Orientation = rptOrientLandscape
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.