Datamax 7A300007 Rev. 2 manual Printer Status Commands, Stx, Syn

Page 36

Printer Status Commands

Query Print Buffer & Timer-MCR Status

 

STX

This command will cause the printer to print the battery status

 

 

 

 

 

 

 

 

Printer Response

 

 

Print Buffer Status

 

ESC B <4 ASCII digits> CR LF

 

 

Timer-MCR Status

 

ESC M <4 ASCII digits> CR LF

 

 

 

 

 

 

Note that the first three digits of the Timer-MCR field correspond to the printer times. The last byte indicates that the MRC track is currently activated in the printer.

Query Print Buffer, Battery Voltage, Timer-MCR & Print Head Temperature

SYN

This command will cause the printer to send the following information to the host:

 

Printer Response

Print Buffer Status

 

ESC B <4 ASCII digits> CR LF

Battery Voltage Status

 

ESC V <4 ASCII digits> CR LF

Timer-MCR Status

 

ESC M <4 ASCII digits> CR LF

 

 

 

Print Head Temperature

 

ESC T <4 ASCII digits> CR LF

Note that the first three digits of the Timer-MCR field correspond to the printer times. The last byte indicates that the MRC track is currently activated in the printer.

Print Battery Voltage

ESC P ^

This command will enable the printer to output the battery voltage reading.

Escape Sequence:

ESC

P

^

 

Hexadecimal:

1B

50

5E

 

Decimal:

27

80

94

 

Query Printer Firmware Version

ESC P (

This command will cause the printer to send the Firmware Version to the host.

Escape Sequence:

ESC

P

(

Hexadecimal:

1B

50

28

Decimal:

27

80

40

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

ASCII Sequence:

<string>

CR LF

The <string> field represents the firmware version.

30

Image 36
Contents Apex & Andes Series Page Copyrights Document Revision History Contents Communications Settings ’Neil Line Print modeDip Switch Settings Datamax-O’Neil Printer Command Language ExPCL IntroductionCommunications EOTXON XoffSelect Character Pitch Mode ESC K n CR Character SetsCharacter Size and Line Spacing Select Character Set Esc F nSelect Character Pitch Mode ESC k n Apex APEX4Andes3 Character Size and Line Spacing Width and Height Emphasized Printing Mode ESC U n Underline Printing Mode ESC U nSelection U Underline Mode on u Underline Mode OFF Character AttributesReverse Print ESC U n Right to Left and Left to Right Printing ESC F nSelection R Reverse printing on n Reverse printing OFF Horizontal Position Carriage ReturnCRBackspace Horizontal TabVertical Position Line FeedLFVariable Size Line Feed ESC J n Variable Size Reverse Line Feed ESC Q J nBar Codes Set Vertical Tab Height ESC T V nForm Feed Set Form Feed Length in Dot Lines ESC T F n1 n2Code 39 Specifications Print Bar Code with Human Readable TextCode 128 Specifications Description Character set Elements per symbolHEX DEC Code a Code B Code C UCC/EAN-128 Specifications DescriptionInterleaved 2 of 5 Specifications UPC/EAN/JAN SpecificationsCodabar Specifications Symbol Character densityElements per GS1 DataBar Specifications Character set QR Code ModelsDecimal Page Page Page QR Code Specifications Symbol Character/symbol Error correctionCompaction Mode Description Encoding Capability Security Level # Error-Check Code WordsElement Width Value Length in mil Graphics Barcode Height Multiplier ESC z h nBit Graphics Bit Compressed Graphics Graphic String ComponentFunction Enable Buffer Mode Disable Buffer Mode Select Online ModePrinter Controls Data Processing ESC P $Printer Controls Printed Output Adjust Print Buffer Contents Buffer ModeESC P + ESC PPrinter Controls Reset Printer Controls PowerCan ESC @Extended Auto Power Down Command Command String Printer ResponsePrinter Status Commands STXSYN Magnetic Card Command String Description Magnetic Card ReaderQuery Printer Model and Hardware Revision Level Track Position Track2 Track3Magnetic Card Read Error Messages Error #Magnetic Card Data Output Format Interfacing to the Magnetic Card ReaderBlack Mark Sensing Control Commands ESC CESC Q R CR Black Mark Sensing Command Mode Black Mark Sensing Auto ModeEnable Back Black Mark Sensor ESC Q b e CR Disable Back Black Mark Sensor ESC Q b d CRPrinted Receipt/Label Presenter Positive Adjust ESC Q D + n Printed Receipt/Label Presenter Positive Adjust ESC Q P nPrint Commands Configuration Printed Receipt/Label Presenter Negative Adjust ESC Q D nEnter the Page Printing Mode ESC P PPrint Commands Draw Commands Command Name Draw Rectangle DrawRectangle x1, y1, x2, y2,color,widthType Value Barcode type HeightForm FiestaTM Download Printer Default Setup ESC D SESC S L Download Self test Message Hardware Information Start Hardware Information download processESC S Print Hardware Information ESC L gDownload Logo ESC D L CR LFEnable Font Downloading Download FontsESC D F CR Display Tables InformationDisable Font Download Mode Display Font Download Current Settings ESC F S m t k f CRESC D I CR ESC FSelect Load Operating Mode ESC F M m CR FlashImportant Font Downloading Notes ESC F B CRExample 1 BBX 08 23 0 Example 2 BBX 08 23 0Bluetooth & WiFi Setup Command Select Pass-Thru Command Mode ESC P U n1 U n2 T t0 t1 t2 CR’Neil Line Print mode EmulationSelect Emulation ESC E n Emulation LanguageEsc C n Esc a n Can Esc V n1 n2 Communications Settings Dip Switch SettingsOFF OFF 2USBRJ25 Connector PIN # Functional Description Signal Name Serial Communication RS232CSerial Busy Protocol XON/XOFF ProtocolRS232C Technical Specifications Dip switch settingUSB Communication USB OverviewBluetooth Communications Software Driver InstallationUSB Technical Specifications TeraTerm ExampleBluetooth Interface Power Modification Manual Power OFF ModeAutomatic Power OFF Mode SettingsWi-Fi Communication Option Printer Status Indicator LED PanelLED Status Condition FunctionLED # LED Color/ Status Description LED #Action Required Appendix a Flash Font Tables Replaceable Fonts TablesFactory Fonts Replaceable FontsCourier International Font Table Courier PC Line Graphic TableMonospace Font Table Rotated Font Table