Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter() vs. report form printer prompt
Message
From
07/11/2022 19:56:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Getprinter() vs. report form printer prompt
Miscellaneous
Thread ID:
01685257
Message ID:
01685257
Views:
112
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!
Next
Reply
Map
View

Click here to load this message in the networking platform