Axel AX3000 65 User's Manual - firmware 0632 User Manual
Page 253

Appendix
AX3000 - User's Manual
239
Substitution Commands
axname_encoding_string=
(yes | no)
Enabling "axname_encoding_string" allows some set-up parameters to contain
'substitution commands'. This allows variables such as the terminal name and
the session number. The substitution is done when a set-up file is sent to the
terminal.
☺
: this function is useful when multiple terminals are configured with the same
set-up file, but each terminal requires certain unique parameters.
Notes:
- It works only through the remote set-up function. (It's not available with
the interactive set-up).
- Some set-up parameters are not supported by this function: the terminal
name, the passwords, the pre and post-printing sequences and the
transparent mode sequences.
The substitution commands are:
- <$> is the parameter "ethernet_axname"
- <#> is the screen session number (1 to 6) or the port session number
(AUX1=1, AUX2=2, PARALLEL=3, USB1=4, USB2=5, USB3=6,
USB4=7, NET1=8, NET2=9).
- <$(X,Y)> is an "ethernet_axname" sub-string (start X, length Y).
Notes:
- If X is greater than the "ethernet_axname" length, the substring is
empty.
- If X+Y is greater than the "ethernet_axname" length the substring
is truncated.
- In event of syntax error the substitution is not done.
Example: if the terminal name is "axel201234":
TERM<$(7,4)> =>
TERM1234
TERM<$(7,10)> =>
TERM1234
TERM<$(20,7)> =>
TERM
TERM<$(20,A)>
=> TERM<$(20,A)>
<$(1,2)><$(7,4)>-<#>
=> ax1234-2 (ex.: session 2 or AUX2)