Zum Hauptinhalt gehen

Suche

Suche

Need Serial Count To Reset Each Day - Possible?

Kommentare

9 Kommentare

  • Avatar
    Domingo Rodriguez
    Moderator

    BT v10.1 now supports advanced Serialization options, such as resetting a serial number on day change:

    http://www.bartenderbarcodesoftware.com/label-software/whitepapers/whitepaper_whatsnewinbt101.pdf

    0
  • Avatar
    Legacy Poster
    BT V9.4,How would you reset the serialization count for everytime you send a new batch print job? Thanks for your time.
    0
  • Avatar
    Domingo Rodriguez
    Moderator

    With v9.4, you would write a VBScript to reset the serial number when you want (this would emulate what the 10.1 feature does)

    0
  • Avatar
    Legacy Poster
    Is there any topic or manual regarding VBScripting? thanks
    0
  • Avatar
    Legacy Poster
    Could you please show me how to write this script? Thank you
    I would presume that it will be event driven with new print trigger as the event?
    0
  • Avatar
    Domingo Rodriguez
    Moderator

    You've a full reference on VBScript in BarTender's "Help > Visual Basic Script Help" dialog. I've attached an old VBScript example which resets a serial number (which is read and written to an external text file) on day change. Hope this helps.

    0
  • Avatar
    Legacy Poster

    thank you for your reply, is there a way to reference the text (screen data) for serialization so that I can use VB script to reset that? 

    0
  • Avatar
    Fernando Ramos Miracle

    Hello charcc63,

     

    To reference a sub string from within a VB script you only need to give it a name (from the "Share/Name" sub tab when selecting that data source) and use the below command in your code:

     

    Format.NamedSubStrings("<SubStringName>").Value 

     

    In any case, please note that in the "Script Assistant" Category menu, you've got an option called "Named Sub Strings" where you'll find all the available named sub strings, and by double clicking on any them you can directly add a reference in your code.

    0
  • Avatar
    Legacy Poster
    Thank you very much!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.