Chapter 13— Configuration/Control Commands
122
bluetooth.authentication
Type: getvar; setvar
This parameter sets Bluetooth authentication mode. When authentication
is to default, a PIN is required to connect to the printer that is based on
the friendly name.
When authentication is set to setpin, the PIN required to connect is set in
the bluetooth.bluetooth_pin parameter.
getvar result
Returns the current authentication mode setting of off, default, or
setpin.
Example
Description
Syntax
Result
setvar choices
off, default, setpin. Default = off
Example
Description
Syntax
Result
bluetooth.bluetooth_pin
Type: getvar; setvar
This parameter sets the Bluetooth PIN when bluetooth.authentication is
set to setpin. This PIN is not used when bluetooth.authentication is set to
default or off.
getvar result
Returns the current PIN
Example
Description
Syntax
Result
setvar choices
Text string from 4 to 10 characters. Default = ""
Example
Description
Syntax
Result
EasyCoder PL-Series Printer Programmer's Reference Manual
Get the current Bluetooth authentication mode.
! U1 getvar "bluetooth.authentication"
"off"
Set Bluetooth authentication to setpin.
! U1 setvar "bluetooth.authentication"
"setpin"
Printer enables Bluetooth authentication with user
defined PIN set in the bluetooth.bluetooth_pin
parameter.
Get the current Bluetooth PIN.
! U1 getvar "bluetooth.bluetooth_pin"
""
Set Bluetooth PIN to MyPin.
! U1 setvar "bluetooth.bluetooth_pin"
"MyPin"
Printer changes the PIN to MyPin.
Need help?
Do you have a question about the EasyCoder PL3 and is the answer not in the manual?