Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get printer name where report is printed
Message
De
19/04/2017 10:07:15
 
 
À
19/04/2017 04:18:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2016
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01650360
Message ID:
01650411
Vues:
69
Hi!

>Even if you did find some other function to duplicate the options missing in GETPRINTER(), you'll likely end up with something like the following:
>1. dialog presenting choice for printer
>2. user selects printer, then clicks OK
>3. dialog presenting page selection
>4. user selects information then clicks OK
>5. report runs
>(there are two dialog boxes in the course of printing a report)
>
>On the other hand, using that class using ActiveX control you have:
>1. dialog presenting printer selection and page range selection, etc. (i.e. same one you would get if you use PROMPT clause in REPORT)
>2. user can select printer, select page range, set printer defaults etc. then click Print
>3. report runs
>(there is only one dialog box in the course of printing a report)
>
>In short with the Common Dialog ActiveX control -- the user interface looks and behaves pretty much the same as if you had used the PROMPT clause. The other method relying on GETPRINTER() requires you present two separate dialogs in sequence.


Downlaod link you gave does not contain source code. class library contains only compiled code.

Where to find source code for this functionality ?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform