Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO doesn't work?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00124375
Message ID:
00196206
Views:
31
Jim, SET PRINTER TO NAME is not working for me. The output will always be sent to whatever is the current WINDOWS default printer. Do you know an EASY way to do this ?

I have tried the following:

- REPORT FORM frmname TO PRINT PROMPT. OK, but if the user prints form the preview window, no cigar.
- Hacking .FRX fields EXPR, TAG and TAG2. So, So, as different drivers have different parameters causing intense pain with different metrics.

I figure the best way out is to change the default printer in Windows itself, now, if this can be done through the registry, well, I'll take the chance as soon as I know which key control the default printer. If this has to be done through the API, I'm out of luck since we don't have acces to MFC or have any decent knowledge of the WinAPI itself Anyway.

Thank you in advance for you time.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform