Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Result from Report Form Printer Prompt
Message
De
29/06/2010 19:14:09
 
 
À
29/06/2010 12:31:53
Joel Whitehead
Ccs Central Computer Services Inc.
Thunder Bay, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Divers
Thread ID:
01470972
Message ID:
01471020
Vues:
50
>Hi all,
>
>Is it possible to find out which printer a user selects when the command "Report Form... To Printer Prompt" is run?
>
>Users have access to a PDF printer. If they print the report there, a couple of extra reports are not needed. However, I am wondering if there is a way I can tell that they chose the PDF printer from the Windows dialogue.
>
>Thanks for any help!
>
>Joel

You could use APRINTER
lnCount = APRINTERS(laPrinters)
and then poplate the list into a listbox, have the user select their printer to a variable

or use
lcSelectedPrinter = GETPRINTER()
and then print the report.
SET PRINTER TO (lcSelectedPrinter)
REPORT FORM <myform> TO PRINT NODIALOG
with this you will know which printer the user selected and perform neccessary processing.
Carsten M. Thode
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform