Creating And Printing Barcodes Using Visual Basic
Hi all,
I'm trying to use Microsoft Visual Basic to:
1: Create a new Barcode using Visual Basic & Bartender
2: Print the newly created .dll file to one of our Zebra Printers.
I've already created a Command Button in VB that takes all of the inputted values and numbers. Just that I also need the same Command Button to find the newly created .dll file; and send that file to a Zebra Printer.
All comments are appreciated!
-
It sounds like you wish to know how to control BarTender programmatically to produce a print job that gets sent to your Zebra printer. Naturally when you use a Seagull printer driver for a Zebra printer in your print job the content of that print job will be in Zebra's native ZPL print language. I suggest you read through the below white papers to get you started:
0 -
Ian,
I've looked over what you've sent me and none of it really helped me. I'm new at visual basic; and programming for that matter.
Let me add some images for you to better convey what I'm trying to do:From the first image attached; as soon as you click the "Add New Record" Command button, the data that was entered in is now saved. Apparently it saves as a .dll file. This whole thing is to create bar codes.
My boss wants the button to not only save the data; but for the button to immediately print the bar code to one of our Zebra Printers. So I need to integrate Visual Basic with Bartender; so it can print correctly to the Zebra Printer.
I'll attach the coding so you can see what's going on..
I'm an intern; and I've scowered the internet to find any step by step instructions.. he says it's somewhere on the internet; but I've yet to find it. Also, I don't think the program has Microsoft Visual Basic Power Pack; so a lot of the videos online don't help.
If you can give me any insight or starters; that would be extremely helpful.
Thanks!
0 -
This is where I've gotten to:
0 -
It looks like you're best off using ActiveX automation programming for the OnClick event in the Access database form. Here is an example from the full BarTender ActiveX automation reference: http://help.seagullscientific.com/10.1/en/#../Subsystems/ActiveX/Content/Changing_data.htm
The use of VB script inside BarTender, as in your last screen capture, is not relevant to want you're trying to achieve.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare