Underline Specific Characters In A Humanreadable String Of Bar Code Follow

0
Avatar
Legacy Poster

Underline specific characters in a human readable string of bar code...


I need to underline the first 7 and last 5 characters of a 17 digit string that is the "human readable" part of the bar code.

Basically...

[u]WT445Y7[/u]GHJ[u]12345[/u] <<< Human readable string that needs to be underlined as per above
|| ||| | || |||||| |||| ||| || |||| <<< Bar code for that Human readable string


Thank you so so much in advance and I really hope there is someone who can help me out.

3 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

Disable human readable in the barcode, but share the data source under a define share name.

Create a separate text object to act as the human readable using multiple data sources for each "style" part of the text.

Set the type to be single line VB Script for each data source. Use the expression "Format.NamedSubStrings("btBarcode").Value" in the VB script assuming that you gave the barcode a share name of "btBarcode".

You can then use the "Transforms" tab of the particular data source to truncate those parts of the data source that you don't need for that part of the font style.

Select the font dialog of the text object and click the "Font per data source" button to choose the font and style you want for each data source in the text object.
0
Avatar
Legacy Poster
Comment actions Permalink

[quote name='Ian C - Seagull Support' timestamp='1349254331' post='3387']
Disable human readable in the barcode, but share the data source under a define share name.

Create a separate text object to act as the human readable using multiple data sources for each "style" part of the text.

Set the type to be single line VB Script for each data source. Use the expression "Format.NamedSubStrings("btBarcode").Value" in the VB script assuming that you gave the barcode a share name of "btBarcode".

You can then use the "Transforms" tab of the particular data source to truncate those parts of the data source that you don't need for that part of the font style.

Select the font dialog of the text object and click the "Font per data source" button to choose the font and style you want for each data source in the text object.
[/quote]

Thank you so much for the reply...

The problem I run into then is spacing. The font that I am required to use is Verdana which is not mono-spaced. Any suggestions?
0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

Well you could use a monospaced font like Courier (and others), otherwise, if using BarTender v10.0 you can specify a paragraph text object (instead of a single line) and specify "Distributed" justification.

Please sign in to leave a comment.