Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Current printer selected
Message
 
 
À
09/09/2002 11:09:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00697773
Message ID:
00698309
Vues:
15
Did you try SYS(1037)?

>The GETPRINTERS() function produces both a different dialog and different results when querying printers from a machine running Windows 95 or 98 as opposed to Windows NT 4.0. (see Microsoft Knowledge Base Article - Q220157). It was causing a problem in my application. So I switched to use REPORT FORM…. PROMPT command, which is working just fine for me unless I have to print a batch of reports. In this case I want to ask the user to select a printer only once before the first report is printed and use the same printer when any of the following reports are printed in the batch. So I have a code that will look like
>If thisform.First
> REPORT FORM (repname) TO PRINTER PROMPT NOCONSOLE
>ELSE
> REPORT FORM (repname) TO PRINTER NOCONSOLE
>ENDIF
>IF the user selects non-default printer on the first report, the second statement will reset the selection to the default printer. I would like to know if there is any way to know what printer was selected the first time around.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform