borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Printing using with \"Printer\" object) New Topic New Poll Post Reply
AndreaVB Forum : Printing : USB Port Access ?
Poster Message
SDurai
Level: Trainee

Registered: 23-05-2008
Posts: 2

icon USB Port Access ?

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
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1640
icon 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?

Or even: http://support.microsoft.com/kb/77060


____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

23-05-2008 at 01:56 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
SDurai
Level: Trainee

Registered: 23-05-2008
Posts: 2
icon Re: USB Port Access ?

Thanks for your reply.

I am working in VB.


Please can you briefly explain it.

24-05-2008 at 05:04 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : USB Port Access ?
Next Topic (Printing using with \"Printer\" object) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder