Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing strings in external applications

Status
Not open for further replies.

PoppaStylez

Programmer
Jul 29, 2004
6
0
0
AU
Hi all,
I've got an old rs232 barcode scanner which plugs into the comm port. I'm developing an application to recieve the barcode, and print it in an external application which has focus at the point where the cursor is.
How would i go about printing the barcode in an external application?
Thanks
 
Usually the simplest answer is to use a barcode font. A lot depends on how you are printing, and what BC format you want to print. (Code 39, Interleaved 2/5. Code 128, UPC-A&E, Codabar, JAN, EAN 13&8, POSTNET, 3D, etc.) I found that is a good place to start when looking for barcoding products.

Rick
 
and there is a barcoding forum on this site.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
What a wonderfull world - Louis armstrong
 
Thanks guys, but what i'm really looking to do, is be able to print strings wherever the cursor may be.
I can already read the barcode using the scanner, and send it to my program, now it's just a matter of printing that somewhere on the screen, but at the moment i can only print it to a designated textbox because i'm writing txtBarcode.text = barcodeString
But i want to be able to print the barcode wherever the cursor may be (even if it's in another program)
Any ideas on that?
 
use the clip board instead of the text box.



if it is to be it's up to me
 
Don't worry, worked it out myself! For future reference it's "sendkeys.send()"

Thanks for your replies everyone, this is the only msg board people actually replied to me on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top