Need help by printing a datareport in landscape-format 
Author Message
 Need help by printing a datareport in landscape-format

Hello everyone,

I created a datareport, which is running correct. But if I change
the setting of the orientation of the printer to vbPRORLandscape,
the programm is still printing the documents in a portrait-format.

I tried it by changing the orientation with following code:

Dim X As Printer

For Each X In Printers
    If X.DeviceName="MY PRINTERNAME"
        Set Printer=X
        Printer.Orientation=vbPRORLandscape
    End If
Next

Does someone know how to change it correct?

Thank you,
Christian!



Sat, 11 Aug 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Need URGENT HELP! DataReport in Landscape Orientation

2. DataReport and landscape printing

3. Printing landscape in DataReports

4. VB6 DataReport - Landscape printing problems

5. VB6 DataReport - Landscape printing problems

6. DataReport Printing in Landscape mode

7. printing landscape report with VB6 datareport?

8. Getting DataReport to Print "Landscape"

9. Need help printing a form landscape

10. I need help rotating a picture of form 90 deg to print landscape

11. Help to make Landscape in DataReport

12. Printing a DataReport, need help !!

 

 
Powered by phpBB® Forum Software