Chapter 13— Configuration/Control Commands
Communications Port Parameters
124
getvar result
Returns the friendly name.
Example
Description
Syntax
Result
setvar choices
Any string of 20 characters or less. Default = printer serial number
Example
Description
Syntax
Result
bluetooth.local_name
Type: getvar
This parameter is the local name that is provided during service discovery.
It is a combination of the printer model name and the friendly name.
getvar result
Returns the printer's local name.
Example
Description
Syntax
Result
bluetooth.version
Type: getvar
This parameter is the Bluetooth library version number.
getvar result
Returns the Bluetooth module version in the format x.y.z.
Example
Description
Syntax
Result
comm.parity
Type: getvar; setvar
This parameter refers to the printer's communications port parity.
Note: Once you change the printer's port parameters, you must configure
the host terminal to match the new printer settings before the host can
communicate with the printer again.
EasyCoder PL-Series Printer Programmer's Reference Manual
Get printer friendly name.
! U1 getvar "bluetooth.
"SYGN01-11-0389"
Set the friendly name.
! U1 setvar "bluetooth.friendly_name"
"16314A"
The printer friendly name becomes PL4 16314A and
the authentication PIN changes.
Get printer's local name.
! U1 getvar "bluetooth.name"
"PL4 XXEN02-01-0317"
Get Bluetooth module version.
! U1 getvar "bluetooth.version"
"1.1.0"
friendly_name
"