Bluetooth™ & wifi setup command – Datamax-O'Neil APEX Series Programmer’s Manual User Manual

Page 55

Advertising
background image

49

Bluetooth™ & WiFi Setup Command

Datamax-O’Neil printers can be placed in pass-thru mode. In pass-thru mode, data communication will only occur between the
two selected UARTS. This mode of operation is used to setup the Bluetooth™ or 802.11b/g interface parameters. While in this
mode, printing is disabled.

Select Pass-Thru Command Mode

ESC P U n1 U n2 T t0 t1 t2 (CR)

This command sets the printer in pass-thru mode. In most serial applications the command can be sent manually or as a file. For
UART selection only use ECU application.

Parameter Description

n1

Source UART, values 0 – 4
UART0 = Serial Interface
UART1 = Wireless Interface (BT, WiFi)
UART2 = Wireless Interface (BT, WiFi)
UART3 = IrDA Interface
UART4 = USB Interface

n2

Destination UART, values 0 – 4
UART0 = Serial Interface
UART1 = Wireless Interface (BT, WiFi)
UART2 = Wireless Interface (BT, WiFi)
UART3 = IrDA Interface
UART4 = USB Interface

t0

Pass-thru timeout, value 0 – 9

t1

Pass-thru timeout, value 0 – 9

t2

Pass-thru timeout, value 0 – 9


Note:

Pass-thru timeout value 000 is not a valid entry



Example 1: The Pass-thru sequence below is used to put Apex2 printer is Pass-thru mode from serial to Wireless with timeout
value set to 999 seconds.

Escape

Sequence:

ESC

P U 0 U 2 T 9 9 9 CR

Hexadecimal:

1B 50 55 00 55 32 54 09 09 09 0D

Decimal:

27 80 85 0 85 50 84 9 9 9 13


Example 2: The Pass-thru sequence below is used to put Apex3 printer is Pass-thru mode from serial to Wireless with timeout
value set to 999 seconds.

Escape

Sequence:

ESC

P U 0 U 1 T 9 9 9 CR

Hexadecimal:

1B 50 5 00 55 31 54 09 09 09 0D

Decimal:

27 80 85

0 85 49 84 9 9 9 13


Example 3: The Pass-thru sequence below is used to put Apex4 printer is Pass-thru mode from USB to Wireless with timeout
value set to 999 seconds.

Escape

Sequence:

ESC

U 4 U 2 T 9 9 9 CR

Hexadecimal:

1B 50 55 55 32 54 09 09 09 0D

Decimal:

27 80 85 85 50 84 9 9 9 13

Note:

Pass-thru command is not available when Source (n1) = Destination (n2)

The Pass-thru mode terminates under three conditions:
After pressing the FEED button
After TIMEOUT duration specified in the pass-thru command has EXPIRED
After receiving three consecutive “#” characters.

Advertising
This manual is related to the following products: