Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter() vs. report form printer prompt
Message
From
08/11/2022 07:36:55
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01685257
Message ID:
01685265
Views:
49
>>tl;dr;
>>
>>Does this work inside REPORT FORM for SET REPORTBEHAVIOR 80 ?
>
>Normally you would gather the output of the prompt, make a temporary copy of the report in a temp folder, hack the report and store this information in Expr field of the first record and print that report (and delete the copy)

This comes fancy, if the report runs on live tables in a multiuser or otherwise parallel environment. (I have background stuff operating on Eventbindung to folders).

I would suggest to force the output into pdf (what ends up figuring out the PDF printer, the MS one is removed from my systems by default ...), get the dialouge you suggest and delete the surplus from the PDF, print the PDF. (...)
Think how to implement if you you do not have a centralized report handler. Shudder

Anyway, thanks for the code, I will look up my 90 handler if I can introduce that. I have a handler for single pages anyway, but this is by interactive marking pages in the preview.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform