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:17:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
23/03/2007 04:57:10
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:
01207555
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>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
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform