Datamax 7A300007 Rev. 2 Printer Controls Data Processing, Enable Buffer Mode, Esc P $, Esc P #

Page 32

This data may be represented in hexadecimal:

0x55

0x55

0x00

0x00

0xAA

0x11

 

 

 

 

 

 

0x55

0x00

0x55

0x55

0x55

0x55

 

 

 

 

 

 

The RLE compressed graphics command:

 

ESC

‘v’

height

width

counter

data…

 

 

 

 

 

 

 

 

 

DEC

27

118

2

6

255

85

255

0

3

170

17

85

0

253

85

HEX

0x1B

0x76

0x02

0x06

0xFF

0x55

0xFF 0x00 0x03

0xAA

0x11

0x55

0x00

0xFD

0x55

Printer Controls – Data Processing

The printer can be operated in two modes, Online and Buffer mode. In online mode, the characters are printed as they are received. In buffer mode, the characters received are stored in the print buffer and printed upon receipt of the EOT character (^D). Also if the printer is in Buffer Mode and the print buffer is full, the printer will start printing but will remain in the Buffer Mode until the Online Mode command is sent to the printer.

Enable Buffer Mode

ESC P $

This command selects the printer buffer mode.

Escape Sequence:

ESC

P

$

 

Hexadecimal:

1B

50

24

 

Decimal:

27

80

36

 

Disable Buffer Mode (Select Online Mode)

ESC P #

This command disables the printer buffer mode and selects the online mode. The online mode is the default mode of operation of the printer.

Escape Sequence:

ESC

P

#

Hexadecimal:

1B

50

23

Decimal:

27

80

35

26

Image 32
Contents Apex & Andes Series Page Copyrights Document Revision History Contents Dip Switch Settings Communications Settings’Neil Line Print mode 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 nAndes3 Select Character Pitch Mode ESC k nApex APEX4 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 AttributesSelection R Reverse printing on n Reverse printing OFF Reverse Print ESC U nRight to Left and Left to Right Printing ESC F n 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 TextHEX DEC Code a Code B Code C Code 128 SpecificationsDescription Character set Elements per symbol UCC/EAN-128 Specifications DescriptionInterleaved 2 of 5 Specifications UPC/EAN/JAN SpecificationsElements per Codabar SpecificationsSymbol Character density GS1 DataBar Specifications Character set QR Code ModelsDecimal Page Page Page QR Code Specifications Symbol Character/symbol Error correction Element Width Value Length in mil Compaction Mode Description Encoding Capability Security Level # Error-Check Code Words Bit Graphics GraphicsBarcode Height Multiplier ESC z h n Function Bit Compressed GraphicsGraphic String Component 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 ResponseSYN Printer Status CommandsSTX 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 ReaderESC Q R CR Black Mark Sensing Control CommandsESC C 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 ESC S L Download Printer Default SetupESC D S 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 FunctionAction Required LED #LED Color/ Status Description LED # Appendix a Flash Font Tables Replaceable Fonts TablesFactory Fonts Replaceable FontsCourier International Font Table Courier PC Line Graphic TableMonospace Font Table Rotated Font Table