Datamax 7A300007 Rev. 2 Magnetic Card Reader, Query Printer Model and Hardware Revision Level

Page 37

Query Printer Model and Hardware Revision Level

ESC P )

This command will cause the printer to send the hardware model to the host.

Escape Sequence:

ESC

P

)

Hexadecimal:

1B

50

29

Decimal:

27

80

41

After sending the previous command, the printer will respond with the ASCII sequence:

ASCII Sequence:<string> CR LF

The <string> field represents the hardware model.

Magnetic Card Reader

A three track Magnetic Card Reader is an option available on the Datamax-O’Neil printers. The MCR reader is designed to read magnetically encoded data from cards conforming to ANSI/ISO 7810, 7811 standards.

The MC reader converts the F2F encoded signals on the magnetic card, to ISO7811 compatible ASCII format and transmits the information to the host computer or terminal. Also, the MCR can read one, two or three tracks simultaneously and bi-directionally.

The table below summarizes the format of the data stored on each magnetic track.

Track Position

Track 1

 

Track2

Track3

ISO1 (IATA)

 

ISO2 (ABA)

ISO3(MINTS)

 

 

Recording Density

210 BPI

 

75 BPI

210 BPI

 

 

 

 

 

Recording Capacity

79 characters

 

40 characters

107 characters

Number of data bits

7

 

5

7

 

 

 

 

 

Card Thickness

 

.76 mm +/- 0.08 mm

 

Read Magnetic Card Data

ESC M n1 n2 t (CR) or ESC m n1 n2 t (CR)

This command activates the MRC reader and waits until the user swipes a card (or until the timer times out). The

<n1><n2> parameters are used to set the MC reader’s timer. "01" through "99" are valid timer settings. “00” disables the timer. The ‘t’ value indicates which MCR track number to read.

The printer aborts and transmits the time-out error message if the operator fails to swipe a card within the time period set by the host application.

If the timer times out, the printer aborts the swipe process, transmits the timeout error message and switches off the <READING> LED. A good magnetic card swipe automatically terminates the read process. The following table details the possible combinations for this command:

 

Magnetic Card Command String

 

 

Description

 

 

ESC M n1n2

1

CR (CR = Carriage Return) or

Read Track1 only

 

 

ESC m n1n2

1

CR (CR = Carriage Return)

 

 

 

 

 

 

 

 

 

 

 

 

 

ESC M n1n2

2

CR or ESC m n1n2

2

CR

Read Track2 only

 

 

ESC M n1n2

3

CR or ESC m n1n2

3

CR

Read Track3 only

 

 

ESC M n1n2

4

CR or ESC m n1n2

4

CR

Read Track1 and Track2 simultaneously

 

 

ESC M n1n2

5

CR or ESC m n1n2

5

CR

Read Track2 and Track3 simultaneously

 

 

 

 

 

 

 

 

 

 

ESC M n1n2

6

CR or ESC m n1n2

6

CR

Read Tracks 1,2 and 3 simultaneously

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

 

Image 37
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 P Printer Controls Power Printer Controls Reset Can 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