Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter() vs. report form printer prompt
Message
From
08/11/2022 05:17:11
 
 
To
08/11/2022 00:11:08
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01685257
Message ID:
01685261
Views:
50
Hi Lutz,

What is the URL for VFPA -- I found one online, and it seems dodgy. The PayPal link, e.g., leads to a web scraper. And the downloads say "too many attempts. Try next month."

???

Hank

>>Ok, we're not using ReportBehavior 90 aka the ReportListener.
>>
>>I need to let the user select a printer to print, say, labels to. And they want the fancy rich printer dialog that allows setting the number of copies and things like that. So, for that you'd use something like "report form myreport to printer prompt". In that command the printer dialog is a rich dialog that allows setting number of copies.
>>
>>But, the problem is we need to get the name of the printer for auditing purposes.
>>
>>So, then you got the old getprinter() where the user can select the name of the printer followed by a "set printer to". Ok, but the user cannot specify number of copies and other settings.
>>
>>Question: How can we have our cake and eat it to by letting the user pick a printer and set their fancy settings and we get the name of the printer?
>>
>>I've looked at some VBA examples and Windows C examples and really don't want to go down the C avenue. I couldn't get this one VBA to work.
>>
>>Help!
>
>Try VFPA. It runs stable. I have not checked how to get the information, but at least the dialogue from File / Print shows all of that.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform