Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Result from Report Form Printer Prompt
Message
De
17/11/2011 14:41:35
 
 
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:
01529153
Vues:
33
>>Try this:
>>
>>....
>> if not empty(m.lcPrinter)
>>      scan for layout==m.lcLayout
>>           set printer to name (m.lcPrinter)
>>           report form (lcLayout)  to printer  noconsole nodialog
>>           set printer to
>>      endscan
>>   endif
>>
>>
>
>Nope, still does not work. Both labels were printed in one file :(
>
>What could be a problem and how to make sure each command runs as a separate print job?

Instead of "Set printer to" I suggest "Set Printer to file ' '" or something similar. The main point is to get VFP and/or Windows to close the printjob, so that a new will be started.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform