Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help me in Coding
Message
From
03/03/2000 13:16:14
 
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00334584
Message ID:
00341348
Views:
23
I have use a technic of printing on a past project. It consist of openning the printer as if it was a file. Explanation:


Private Sub Print()
Open "HP694C" for Output as #1 'can be lpt1 or the share name of the printer
Print #1, "Hello World"; ' use comma (;) to stay on the same line
Print #1, "Bye bye world"
Close #1
End Sub

Windows Guru won't like this because your not using Windows Interface to print. But, for me, it was the only way that i could print without skipping page (on a old point printer that they where using to print invoices). Use Space() ant Tab() function to position the cursor



Patrice Merineau
Previous
Reply
Map
View

Click here to load this message in the networking platform