Datamax 7A300007 Rev. 2 manual Bluetooth & WiFi Setup Command

Page 55

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 Bluetoothor 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.

49

Image 55
Contents Apex & Andes Series Page Copyrights Document Revision History Contents ’Neil Line Print mode Communications SettingsDip Switch Settings Introduction Datamax-O’Neil Printer Command Language ExPCLXoff CommunicationsEOT XONSelect Character Set Esc F n Select Character Pitch Mode ESC K n CRCharacter Sets Character Size and Line SpacingApex APEX4 Select Character Pitch Mode ESC k nAndes3 Character Size and Line Spacing Width and Height Character Attributes Emphasized Printing Mode ESC U nUnderline Printing Mode ESC U n Selection U Underline Mode on u Underline Mode OFFRight to Left and Left to Right Printing ESC F n Reverse Print ESC U nSelection R Reverse printing on n Reverse printing OFF Horizontal Tab Horizontal PositionCarriage ReturnCR BackspaceVariable Size Reverse Line Feed ESC Q J n Vertical PositionLine FeedLF Variable Size Line Feed ESC J nSet Form Feed Length in Dot Lines ESC T F n1 n2 Bar CodesSet Vertical Tab Height ESC T V n Form FeedPrint Bar Code with Human Readable Text Code 39 SpecificationsDescription Character set Elements per symbol Code 128 SpecificationsHEX DEC Code a Code B Code C Description UCC/EAN-128 SpecificationsUPC/EAN/JAN Specifications Interleaved 2 of 5 SpecificationsSymbol Character density Codabar SpecificationsElements per Character set QR Code Models GS1 DataBar SpecificationsDecimal Page Page Page QR Code Specifications Error correction Symbol Character/symbolSecurity Level # Error-Check Code Words Compaction Mode Description Encoding CapabilityElement Width Value Length in mil Barcode Height Multiplier ESC z h n GraphicsBit Graphics Graphic String Component Bit Compressed GraphicsFunction ESC P $ Enable Buffer ModeDisable Buffer Mode Select Online Mode Printer Controls Data ProcessingESC P Printer Controls Printed Output AdjustPrint Buffer Contents Buffer Mode ESC P +ESC @ Printer Controls ResetPrinter Controls Power CanCommand String Printer Response Extended Auto Power Down CommandSTX Printer Status CommandsSYN Track Position Track2 Track3 Magnetic Card Command String DescriptionMagnetic Card Reader Query Printer Model and Hardware Revision LevelInterfacing to the Magnetic Card Reader Magnetic Card Read Error MessagesError # Magnetic Card Data Output FormatESC C Black Mark Sensing Control CommandsESC Q R CR Black Mark Sensing Auto Mode Black Mark Sensing Command ModePrinted Receipt/Label Presenter Positive Adjust ESC Q P n Enable Back Black Mark Sensor ESC Q b e CRDisable Back Black Mark Sensor ESC Q b d CR Printed Receipt/Label Presenter Positive Adjust ESC Q D + nESC P P Print Commands ConfigurationPrinted Receipt/Label Presenter Negative Adjust ESC Q D n Enter the Page Printing ModePrint Commands Draw Commands Draw Rectangle DrawRectangle x1, y1, x2, y2,color,width Command NameHeight Type Value Barcode typeForm FiestaTM ESC D S Download Printer Default SetupESC S L Print Hardware Information ESC L g Download Self test Message Hardware InformationStart Hardware Information download process ESC SESC D L CR LF Download LogoDisplay Tables Information Enable Font DownloadingDownload Fonts ESC D F CRESC F Disable Font Download ModeDisplay Font Download Current Settings ESC F S m t k f CR ESC D I CRFlash Select Load Operating Mode ESC F M m CRESC F B CR Important Font Downloading NotesExample 2 BBX 08 23 0 Example 1 BBX 08 23 0Select Pass-Thru Command Mode ESC P U n1 U n2 T t0 t1 t2 CR Bluetooth & WiFi Setup CommandEmulation Language ’Neil Line Print modeEmulation Select Emulation ESC E nEsc C n Esc a n Can Esc V n1 n2 OFF 2USB Communications SettingsDip Switch Settings OFFXON/XOFF Protocol RJ25 Connector PIN # Functional Description Signal NameSerial Communication RS232C Serial Busy ProtocolOverview RS232C Technical SpecificationsDip switch setting USB Communication USBTeraTerm Example Bluetooth CommunicationsSoftware Driver Installation USB Technical SpecificationsSettings Bluetooth Interface Power ModificationManual Power OFF Mode Automatic Power OFF ModeStatus Condition Function Wi-Fi Communication OptionPrinter Status Indicator LED Panel LEDLED Color/ Status Description LED # LED #Action Required Replaceable Fonts Appendix a Flash Font TablesReplaceable Fonts Tables Factory FontsCourier PC Line Graphic Table Courier International Font TableRotated Font Table Monospace Font Table