Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter() vs. report form printer prompt
Message
From
08/11/2022 01:12:21
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01685257
Message ID:
01685259
Views:
54
>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!

I strongly recommend FoxyPreviewer. Don't be mislead by the name.
Previous
Reply
Map
View

Click here to load this message in the networking platform