General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only