
- 87 -
followingnotationisused:
h Hours in 12-hour format (AM/PM will be added if they follow the time). Can
occupy one or two characters.
hh Hours in 12-hour format (AM/PM will be added if they follow the time). Always
occupies two characters. (leading zeros will be added as necessary).
H Hours in 24-hour format. Can occupy one or two characters.
HH Hours in 24-hour format. Always occupies two characters.
mm Used for minutes.
ss Used for seconds.
The examples:
Format How the time will look
h:mm {AM/PM} 8:25PM
H:mm 20:25
hh:mm:ss 08:25:36
Using Contents Mask
Contentsmaskisveryusefulwhenyoumustdisplaytheinputdatadifferentlyonthelabel.Withcon-
tentsmaskyoucansimplyreformatthedatatosuityourneeds.
Forexample,youmustusedifferentlyformattedhumaninterpretationtextbelowbarcodethanthe
dataisformattedinthebarcode.Youdonotwanttodefinetwovariablesforthispurposeandenter
thesimilardatatwice.
Themaskcharacterwillbereplacedbytheactualdataandanyotherusedcharacterwillbeusedas-
is.Ifthecurrentbarcodevalueis
"AD951"
andthecontentsmaskis
"**C-**/*/"
theresultingoutputwillbe
"ADC-95/1/"
PowerfulformattingstructurescanbedefinedusingContentsmask,butitisonlyavailablewithbar
codesthatallowcustomformattingofthehumaninterpretation.Youshouldalsomakesuretoprint
barcodesasgraphics,otherwisethecontentsmaskisnotavailable.
Note:
Ifyourdatacontainstheasterisk"*"character,thenyouwillhavetochangethedefaultmaskchar-
actertosomethingelse.Itshouldbeauniquevalue,notappearinganywhereinthedata.
ThecontentsmaskfunctionalityisavailablewithTextandBarcodeobjects.
Work with Visual Basic Expressions
VisualBasicexpressionsallowsyoutomanipulatethedatavaluesonthelabel.InputtoVisual
Basiccanbefixedvaluesorvariablefieldsfromthelabel.Theoutputisalwaysadatavaluethatis
usedascontentforthecurrentobject.
Comentarios a estos manuales