Datamax 7A300007 Rev. 2 Printer Controls Printed Output Adjust, Print Buffer Contents Buffer Mode

Page 33

Print Buffer Contents (Buffer Mode)

EOT

This command allows the printer to process all of the commands stored in the printer buffer. This command is valid only when the printer is in the buffer mode.

Control Code:

EOT

 

Hexadecimal:

04

 

Decimal

04

 

Enable EOT Control Character Transmission (Currently Not Available)

ESC P +

When enabled, the printer transmits the EOT command character when the print buffer is empty. The End Of Text (EOT) control character is transmitted once when the printer buffer is empty.

Escape Sequence:

ESC

P

+

 

Hexadecimal:

1B

50

2B

 

Decimal:

27

80

43

 

Disable EOT Control Character Transmission (Currently Not Available)

ESC P –

This command disables the EOT control character transmission. Therefore, the control character EOT is not transmitted when the printer buffer is empty

Escape Sequence:

ESC

P

-

Hexadecimal:

1B

50

2D

Decimal:

27

80

45

Printer Controls – Printed Output Adjust

Print Contrast

ESC P n

This command sets the printer level of contrast or darkness of the printer. The parameter n is the level of contrast. 1 ≤ n ≤ 9.

The printed text or graphics contrast depends on the type of thermal paper used, the printer battery voltage and the printer contrast setting (selected by the host application).

The table below specifies recommended n values according to the media used.

Paper type

Low

Medium

High

P390

1

2 (*)

3

P300

4

5

6

Reserved (currently P300)

7

8

9

* The printer defaults to a contrast of ‘2’.

Note that the print speed and power consumption is affected by the contrast setting.

Example: The following escape sequence set the printer contrast to “7”.

Escape Sequence:

ESC

P

7

Hexadecimal:

1B

50

37

Decimal:

27

80

55

27

Image 33
Contents Apex & Andes Series Page Copyrights Document Revision History Contents Communications Settings ’Neil Line Print modeDip 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 nSelect Character Pitch Mode ESC k n Apex APEX4Andes3 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 AttributesReverse Print ESC U n Right to Left and Left to Right Printing ESC F 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 SpecificationsCode 128 Specifications Description Character set Elements per symbolHEX DEC Code a Code B Code C Description UCC/EAN-128 SpecificationsUPC/EAN/JAN Specifications Interleaved 2 of 5 SpecificationsCodabar Specifications Symbol Character densityElements per Character set QR Code Models GS1 DataBar SpecificationsDecimal Page Page Page QR Code Specifications Error correction Symbol Character/symbolCompaction Mode Description Encoding Capability Security Level # Error-Check Code WordsElement Width Value Length in mil Graphics Barcode Height Multiplier ESC z h n Bit Graphics Bit Compressed Graphics Graphic String ComponentFunction 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 CommandPrinter Status Commands STXSYN 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 ReaderBlack Mark Sensing Control Commands ESC CESC 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 Download Printer Default Setup ESC D SESC 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 # LED Color/ Status Description 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