Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change printersettings in a report
Message
From
06/01/1999 03:36:57
Walter Meester
HoogkarspelNetherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
How to change printersettings in a report
Miscellaneous
Thread ID:
00173036
Message ID:
00173036
Views:
90
The printersettings in a report are stored in the EXPR, TAG and TAG2 fields of a report.
The meaning of the field EXPR is clear, but how about the other two ???


The reason for this queston is that i want to write a custom printer dialog box from which a can set the printer and document properties (Like the Word print dialogbox). Therefor i must be able to write a procedure or class to :
- Select a printer
(Easy with SET PRINTER TO NAME)
- Popup and let the user choose the document properties (printerdriver depended)
(some apicalls: openprinter and documentproperties)
- Write the appropriate settings to the report (in the EXPR, TAG and TAG2 fields)
(TAG2 looks to me as the data of a DEVMODE data structure, please can anyone confirm this ?)
- Run the report

I realize this could be a question that can only be answered by the VFP team. If so what's the most succesfull way to ask this microsoft ?



Best regards,

Walter
Next
Reply
Map
View

Click here to load this message in the networking platform