|
-
Mar 12th, 2000, 05:15 PM
#1
Thread Starter
Junior Member
I need to print direct to LPT1 from VB for label printing - Help I need to send control codes and data
-
Mar 12th, 2000, 05:41 PM
#2
You can use the Printer type to print to the default printer.
Code:
Printer.Print "Greetings fellow vb programmers"
Printer.EndDoc
-Kayoca Mortation
-
Mar 12th, 2000, 05:51 PM
#3
Thread Starter
Junior Member
That's fine for normal text but it also prints all the configuration settings - the control characters,everything!
I managed to do this with com1 using "Open "COM2" For Output As #1" but cannot get this to work using lpt1 - any ideas
-
Mar 12th, 2000, 07:59 PM
#4
Thread Starter
Junior Member
Consider this one dead - I stupidly omitted the quotes around "lpt1" - doh
thanks for your help though
-
Mar 30th, 2000, 08:15 PM
#5
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|