43
2-inch Label Technical Manual
11. Configuration/Control Commands
The following section covers a set of commands to configure and query printer parameters and perform
various printer control functions. For example, this set of commands include querying printer’s baud rate
or setting the specified value of baud rate. This set of commands is referred to as the set/get/do
command.
A.
Command Format
2.
setvar command
This command are used to configure printer operating parameters to specified values.
Format
setvar “{parameter name}”
{parameter name}”
Please refer to the parameter list below.
3.
getvar command
The getvar command is used to get the current value of printer parameter.
Format
getvar “{parameter name}” “{value}”
{parameter name}”
Please refer to the parameter list below.
{value}
The customized value
4.
do command
The do command can be used to instruct the printer to the specified parameter
Format
Do “{parameter name}”
{parameter name}”
Please refer to the parameter list below.
5.
Usage
This set/get/do command is used in combination with “U1” Command
Format
! U1 setvar “{parameter name}”
! U1 getvar “{parameter name}” “{value}”
! U1 do “{parameter name}”
B.
Commands/Parameters
parameter
command
value
description
Application Parameters
appl.date
getvar
Printer’s application date
appl.name
getvar
Printer’s application name
appl.version
getvar
Printer’s application version
Bluetooth Parameters
bluetooth.address
getvar
Bluetooth device address
getvar
bluetooth.authentication
setvar
“off”
“default”
“setpin”
This parameter sets Bluetooth authentication mode and
works in combination with the
“bluetooth.bluetooth_pin”
parameter.
default “off”
bluetooth.bluetooth_pin
setvar
text string
up to 10
This parameter is used to connect to the printer only
when the “bluetooth.authentication” parameter is set to