Hi,

I have a specific problem with printer settings. I have developed some reports using VB6.0 Data Reports. When the printer orientation setting is 'Portrait', my reports looks fine. However, when the windows printer setting is changed to 'Landscape', the report print preview shows disturbance in the placement of fields.

To solve this problem, I tried to change the setting at runtime by using 'Printer.Orientation=VBProrLandscape', before the report is displayed. But this did not worked out. Even I tried an api 'Escape' to set the printer setting to 'Portrait' but in vain.

I would appreciate, if you could give me solution to this problem.

Waiting for an early reply.

Bye

PCS