Presently, i am working in a project in which barcode has to be printed. My printed is connected via usb port from my laptop/computer.
I am struck to open the usb port for sending data to the printer.
I have tried to open the usb port using mscomm control. But, it says an errror.
Please give a clue / code, which i can use.
Thanks in advance.
S. Durai
23-05-2008 at 04:56 AM
|
JLRodgers Level: Moderator Registered: 04-04-2002 Posts: 1640
Re: USB Port Access ?
Not sure if you mean VB or VB.NET (as I only have VB.NET now and not the MS gui for it I can't check), but can't you just use a picture control or similar -- "paint" the barcode on it, and use some built-in print property or something?