Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing Crystal Reports OCX to print landscape.
Message
From
20/06/1999 03:34:52
Walter Meester
HoogkarspelNetherlands
 
 
To
19/06/1999 17:08:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00231712
Message ID:
00231873
Views:
18
Craig,

>If you design your report as landscape in the first place, it will print that way.


Sadly, it doesn't. I designed the report without printer information stored in the report. In run-time I direct the report to a user-choosen printer. When I design the report in landscape it will print in portrait.

The reports are printer from many different clients with very limmited user rights regarding printing. Though I know you can simply add a printer with the default setting of printing landscape, but I don't find this to be a suitable solution.

Basicly i'm looking for a way to control all printer settings at run time. Within VFP reports your can control a lot of the printersettings by hacking the tag field in the .FRX Im looking for a way within a Crystal Report to do the same.

I've looked in the Seagate knowledge base and came to the conclusion it is not directly possible by using the OCX. When I make use of the known API calls for CR it is theorecly possible by hacking the DEVMODE structure, but I did not succeed in a succesfull implementation of thin manner. In my opinion the only way to solve this problem is to write a DLL in C or C++, but unfortunately i'm not too comfortable within VC.

I was hoping someone did find a workarround to tackle this problem.... no luck so far.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform