I have created a form with horizontal and vertical lines and text to fill in the difference cells. I need to have some of the text to be printed in landscape rather than portrait orientation. When I try to change the orientation with the following, I get an error that says I cannot do that within a page. How is this possible. I am using VB5 to write the code.

Printer.Orientation = 2     'Landscapt orientation

Rubiconlwb

Use printer.print to print the standard aligned text, and take a snapshot (use friends (yahoo, google, ask, answers, bing)) of what you want to be rotated and use printer.paintpicture...

Good Luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.