Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select printer and save printer name in a field
Message
De
23/03/2007 08:30:39
 
 
À
23/03/2007 08:17:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01207341
Message ID:
01207562
Vues:
23
Hilmar,

you forgot the NAME keyword, set printer to name (lcPrinter)

>>Thanks Hilmar. Would you have a small example ???
>
>To print directly, the commands would be something like this:
>
>
>local lcPrinter
>lcPrinter = GetPrinter()
>if empty(lcPrinter) && User pressed ESC
>  wait window "Cancelled" nowait
>else
>  set printer to (lcPrinter)
>  report form ...
>endif
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform