Zum Hauptinhalt gehen

Suche

Suche

Creating And Printing Barcodes Using Visual Basic

Kommentare

4 Kommentare

  • Avatar
    Ian Cummings
    Moderator

    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:

     

    http://www.seagullscientific.com/label-software/whitepapers/controlling-barcode-label-software-using-c-sharp-and-vb.net(english).pdf

     

    http://www.seagullscientific.com/label-software/whitepapers/controlling-barcode-label-software-using-activex-automation.pdf

    0
  • Avatar
    Legacy Poster

    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
  • Avatar
    Legacy Poster

    This is where I've gotten to:

    0
  • Avatar
    Ian Cummings
    Moderator

    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.