Information générale
Catégorie:
Codage, syntaxe et commandes
Open the printer like a file...
Open "LPT1" For Output AS #1
Print #1, Tab(10); "Hello"
Print #1, Spc(3); "World
Close #1
If you put a comma at the end of the line, the printer will stay on the same line
You can also, instead of the "LPT1", give the name of your printer or even a remote printer by specifing the path like: "Machine1\LaserJet"
Hope this help..
Patrice Merineau
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement