513
[ESC+/X] Set XML Variable Name
ESC /X ParameterHexadecimal code
<1B>
16
<2F>
16
< 58>
16
,a,b,n~n
Initial value a = 0
When the power is OFF The set parameter is maintained.
Valid range within items The set parameter becomes invalid.
Valid range and term of
command
Valid range between items The set parameter becomes invalid.
[Function]
To set the XML variable field name for the format field number.
[Format]
</X>,a,b,n~n
• Parameter
a [Field number] = 01 - 99
b [Max field length] = 01 - 99
n~n [Print Template name] = Up to maximum 60 ASCII characters
[Coding Example]
Assign XML variable name ProductID to the field number 14, with Maximum input field length up to
10 characters.
<A>
<CC>1
<YS>,1
</Y>,Material Label
</X>,14,10,ProductID
<%>0<V>100<H>200<P>2<L>0101<XM>
<Z>
[Supplementary Explanation]
• This command should be used together with the template format registration command <YS>.
• Please refer to valid command list from Registration of Field command </N> command.
Parent topic XML Command