I need to print direct to LPT1 from VB for label printing - Help I need to send control codes and data
Printable View
I need to print direct to LPT1 from VB for label printing - Help I need to send control codes and data
You can use the Printer type to print to the default printer.
-Kayoca MortationCode:Printer.Print "Greetings fellow vb programmers"
Printer.EndDoc
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
Consider this one dead - I stupidly omitted the quotes around "lpt1" - doh
thanks for your help though