Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getprinter() vs. report form printer prompt
Message
De
08/11/2022 01:12:21
 
 
À
07/11/2022 19:56:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01685257
Message ID:
01685259
Vues:
55
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform