Datamax 7A300007 Rev. 2 Bluetooth Communications, Software Driver Installation, TeraTerm Example

Page 61

Software Driver Installation

You must install the USB driver before you can use USB communication on the printer. Turn on the printer and connect it to the PC with a USB cable. If the driver has never been installed before, a dialog box will appear. Reply by selecting "Install from a list or specific location" and indicating the location of the file usbprintercdc.inf supplied with the CD. The usbprintercdc.inf file points to the actual driver called msports.dll, which is a part of the Windows operating system.

Next, open the Windows Device Manager. (Control Panel > System > Hardware Tab > Device Manager) Under the Ports (COM & LPT), you should see an entry named "Datamax-O’Neil USB CDC Communications Port”

If you ever needed to uninstall the driver, you may do so by right-clicking on the "Datamax-O’Neil USB CDC Communications Port” from the Device Manager.

TeraTerm Example

TeraTerm is a free terminal emulator program. Make sure TeraTerm is not running when you connect the USB cable. Then run TeraTerm, select (Setup > Serial Port...) to configure it and save the configuration. There are only three items that you need to configure: Port, Data, and Flow control. All other parameters can be set to any value.

PORT

COM<n> where <n> is the port number where USB driver was installed

Data

8 bit

Baud rate

Any value

Parity

Any value

Stop

Any value

Flow control

None

Note: Select ENTER key on the keyboard to advance paper in the printer and to verify communication.

USB Technical Specifications

Pin

Name

Cable Color

Description

1

VCC

Red

+5V

2

D-

White

Data -

3

D+

Green

Data +

4

GND

Black

Ground

A to B type USB cable

Bluetooth™ Communications

The printer control card communicates with the Bluetooth™ base band interface at 115.2 K Baud/sec for serial interface printers and 57.6 K Baud/sec for USB interface printers, using no parity. To select the Bluetooth™ interface, Dip Switch # 2 must be ON and all other Dip Switches must be OFF. If required by the host application to enter 0 (digit zero) for PIN number while connecting to the BT module. Bluetooth settings can be changed via the AT command set (Refer to Developer’s CD for available AT commands).

The table below details the Bluetooth Datamax-O’Neil default settings:

55

Image 61
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 ExPCLEOT CommunicationsXON XoffCharacter Sets Select Character Pitch Mode ESC K n CRCharacter Size and Line Spacing Select Character Set Esc F nApex APEX4 Select Character Pitch Mode ESC k nAndes3 Character Size and Line Spacing Width and Height Underline Printing Mode ESC U n Emphasized Printing Mode ESC U nSelection U Underline Mode on u Underline Mode OFF Character AttributesRight to Left and Left to Right Printing ESC F n Reverse Print ESC U nSelection R Reverse printing on n Reverse printing OFF Carriage ReturnCR Horizontal PositionBackspace Horizontal TabLine FeedLF Vertical PositionVariable Size Line Feed ESC J n Variable Size Reverse Line Feed ESC Q J nSet Vertical Tab Height ESC T V n Bar CodesForm Feed Set Form Feed Length in Dot Lines ESC T F n1 n2Print 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 Disable Buffer Mode Select Online Mode Enable Buffer ModePrinter Controls Data Processing ESC P $Print Buffer Contents Buffer Mode Printer Controls Printed Output AdjustESC P + ESC PPrinter Controls Power Printer Controls ResetCan ESC @Command String Printer Response Extended Auto Power Down CommandSTX Printer Status CommandsSYN Magnetic Card Reader Magnetic Card Command String DescriptionQuery Printer Model and Hardware Revision Level Track Position Track2 Track3Error # Magnetic Card Read Error MessagesMagnetic Card Data Output Format Interfacing to the Magnetic Card ReaderESC C Black Mark Sensing Control CommandsESC Q R CR Black Mark Sensing Auto Mode Black Mark Sensing Command ModeDisable Back Black Mark Sensor ESC Q b d CR Enable Back Black Mark Sensor ESC Q b e CRPrinted Receipt/Label Presenter Positive Adjust ESC Q D + n Printed Receipt/Label Presenter Positive Adjust ESC Q P nPrinted Receipt/Label Presenter Negative Adjust ESC Q D n Print Commands ConfigurationEnter the Page Printing Mode ESC P PPrint 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 Start Hardware Information download process Download Self test Message Hardware InformationESC S Print Hardware Information ESC L gESC D L CR LF Download LogoDownload Fonts Enable Font DownloadingESC D F CR Display Tables InformationDisplay Font Download Current Settings ESC F S m t k f CR Disable Font Download ModeESC D I CR ESC FFlash 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 ’Neil Line Print modeSelect Emulation ESC E n Emulation LanguageEsc C n Esc a n Can Esc V n1 n2 Dip Switch Settings Communications SettingsOFF OFF 2USBSerial Communication RS232C RJ25 Connector PIN # Functional Description Signal NameSerial Busy Protocol XON/XOFF ProtocolDip switch setting RS232C Technical SpecificationsUSB Communication USB OverviewSoftware Driver Installation Bluetooth CommunicationsUSB Technical Specifications TeraTerm ExampleManual Power OFF Mode Bluetooth Interface Power ModificationAutomatic Power OFF Mode SettingsPrinter Status Indicator LED Panel Wi-Fi Communication OptionLED Status Condition FunctionLED Color/ Status Description LED # LED #Action Required Replaceable Fonts Tables Appendix a Flash Font TablesFactory Fonts Replaceable FontsCourier PC Line Graphic Table Courier International Font TableRotated Font Table Monospace Font Table