Skip to main content

Search

Search

Converting Decimal Screen Prompt Data To Hexadecimal Label Output

Comments

4 comments

  • Avatar
    Domingo Rodriguez
    Moderator

    Have you tried using the "Hex(number)" VBScript function which will return a string representing the hexadecimal value of the number? In order to do this, you will need to choose "Visual Basic Script" as the "Data Source" type for your text object on the label.

    0
  • Avatar
    Legacy Poster

    Hi Domingo, Thanks for the info,  I have been able to convert single numbers into Hexadecimal using the HEx(number) function... However, I want to be able to input a number via the screen prompt ( any decimal number) and then convert to Hexadecimal when printing. any ideas ?

    0
  • Avatar
    Domingo Rodriguez
    Moderator

    The Hex() function should still be able to do what you want. Can you attach your BarTender document (.btw) to this topic and also let me know what decimal value you will be entering at print time and what HEX output you expect?

    0
  • Avatar
    Marco Dominguez

    Can you please tell me how I can access that Hex() function you mention? Or whare should I input it so I can change "EOT" into hex "04" for example?

    0

Please sign in to leave a comment.