Walter Meester
HoogkarspelNetherlands
General information
Category:
Reports & Report designer
Title:
How to change printersettings in a report
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only