DataReport and landscape printing 
Author Message
 DataReport and landscape printing

Hello,

How can I set my printerOrientation of a datareport ?
I 've tried to set the Printer object to Landscape but this does not change
the Orientation for my datareport.
The error I get is that the reportwidth is greater than th paperwidth.
When I change my printer settings in the control panel to landscape my
report prints fine.

Thanks in advance.
Frederik.

--

======================================================
Frederik Van Lierde
Academic Hospital - Free University Brussels
Laarbeeklaan 101
1090 Brussels
Belgium

======================================================



Fri, 09 Aug 2002 03:00:00 GMT  
 DataReport and landscape printing
Hi Frederik!

Quote:

> How can I set my printerOrientation of a datareport ?
> I 've tried to set the Printer object to Landscape but this does not change
> the Orientation for my datareport.
> The error I get is that the reportwidth is greater than th paperwidth.
> When I change my printer settings in the control panel to landscape my
> report prints fine.

The datareport is quite nice, but this bug suxx hard...
When printing a datareport, it only makes use of the actual printer
settings
of your standard printer. So if you want to print it to a different
printer
than your standard printer OR set a different page orientation, you have
to
adjust the values of your printer.

Instead of adding some more methods and properties to the datareport
(since setting
page orientation and printer works fine from the datareport preview),
they offer
a DLL as workaround on their site. Search for "Pageset.dll" on the
Microsoft site.

This solution suxx, since it changes the default printer values and you
have to set them
back after printing your report. BTW, when using pageset.dll on NT, the
user needs to have
administrative rights to change the default printer settings. [arghh...]

MICROS~1 rulezz... :(

greetings
Christoph Brylka



Sat, 10 Aug 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Need help by printing a datareport in landscape-format

2. Printing landscape in DataReports

3. VB6 DataReport - Landscape printing problems

4. VB6 DataReport - Landscape printing problems

5. DataReport Printing in Landscape mode

6. printing landscape report with VB6 datareport?

7. Getting DataReport to Print "Landscape"

8. Help to make Landscape in DataReport

9. VB6 DataReport Landscape

10. DataReport in landscape on NT

11. VB6 DataReport Object - Displaying Landscape Reports

12. How to design report in VB6 DataReport in landscape orientation

 

 
Powered by phpBB® Forum Software