Datamax 7A300007 Rev. 2 manual Select Character Pitch Mode ESC k n, Apex APEX4, Andes3

Page 10

This command (ESC K n CR) must be sent prior to any printable characters on the line in order to take effect. Example 1: The following escape sequence set the pitch to 12 CPI (Courier Font):

Escape Sequence:

ESC

K

1

CR

 

Hexadecimal:

1B

4B

31

0D

 

Decimal:

27

75

49

13

 

Example 2: The following escape sequence set the pitch to 25 CPI Verin Font:

Escape Sequence:

ESC

K

1

1

CR

Hexadecimal:

1B

4B

31

31

0D

Decimal:

27

75

49

49

13

Select Character Pitch: Mode 2

ESC k n

This command is used for backward compatibility when Legacy or Factory fonts are selected. The command sets the font size based on the number of character per inch. The parameter n can have the following values:

n

Character Pitch/Font

Character size

 

Columns Per Line

 

 

 

 

 

 

 

 

 

APEX 2

APEX 3

APEX4

 

 

 

Andes3

 

 

 

 

 

0

~13 cpi Rotated / Courier mode 0

16 x 14

24 (rows/line)

36 (rows/line)

52 (rows/line)

 

 

 

 

 

 

1

~12 cpi Normal / Courier mode 1

16 x 23

24

36

52

 

 

 

 

 

 

2

~16 cpi Normal / Courier mode 2

12 x 23

32

48

69

 

 

 

 

 

 

3

~19 cpi Normal / Courier mode 3

10 x 23

38

57

83

 

 

 

 

 

 

4

~21 cpi Normal / Courier mode 4

09 x 23

42

64

92

 

 

 

 

 

 

5

~24 cpi Normal / Courier mode 5

08 x 23

48

72

104

 

 

 

 

 

 

6

~10 cpi Normal / Monospace 821BT

20 x 23

19

28

40

 

 

 

 

 

 

7

~20 cpi Normal / Monospace 821BT

10 x 23

38

57

80

 

 

 

 

 

 

8

~20 cpi Bold / Monospace 821BT

10 x 23

38

57

80

 

 

 

 

 

 

9

~20 cpi Short / Monospace 821BT

10 x 18

38

57

80

 

 

 

 

 

 

This command (ESC k n) must be sent prior to any printable characters on the line in order to take effect. Example: The following escape sequence set the pitch to 12 CPI (Courier font):

Escape Sequence:

ESC

k

1

Hexadecimal:

1B

6B

31

Decimal:

27

107

49

4

Image 10
Contents Apex & Andes Series Page Copyrights Document Revision History Contents ’Neil Line Print mode Communications SettingsDip Switch Settings Datamax-O’Neil Printer Command Language ExPCL IntroductionXON CommunicationsEOT XoffCharacter Size and Line Spacing Select Character Pitch Mode ESC K n CRCharacter Sets Select Character Set Esc F nApex APEX4 Select Character Pitch Mode ESC k nAndes3 Character Size and Line Spacing Width and Height Selection U Underline Mode on u Underline Mode OFF Emphasized Printing Mode ESC U nUnderline Printing Mode ESC U n 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 Backspace Horizontal PositionCarriage ReturnCR Horizontal TabVariable Size Line Feed ESC J n Vertical PositionLine FeedLF Variable Size Reverse Line Feed ESC Q J nForm Feed Bar CodesSet Vertical Tab Height ESC T V n Set Form Feed Length in Dot Lines ESC T F n1 n2Code 39 Specifications Print Bar Code with Human Readable TextDescription Character set Elements per symbol Code 128 SpecificationsHEX DEC Code a Code B Code C UCC/EAN-128 Specifications DescriptionInterleaved 2 of 5 Specifications UPC/EAN/JAN SpecificationsSymbol Character density Codabar SpecificationsElements per GS1 DataBar Specifications Character set QR Code ModelsDecimal Page Page Page QR Code Specifications Symbol Character/symbol Error correctionSecurity 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 Printer Controls Data Processing Enable Buffer ModeDisable Buffer Mode Select Online Mode ESC P $ESC P + Printer Controls Printed Output AdjustPrint Buffer Contents Buffer Mode ESC PCan Printer Controls ResetPrinter Controls Power ESC @Extended Auto Power Down Command Command String Printer ResponseSTX Printer Status CommandsSYN Query Printer Model and Hardware Revision Level Magnetic Card Command String DescriptionMagnetic Card Reader Track Position Track2 Track3Magnetic Card Data Output Format Magnetic Card Read Error MessagesError # Interfacing to the Magnetic Card ReaderESC C Black Mark Sensing Control CommandsESC Q R CR Black Mark Sensing Command Mode Black Mark Sensing Auto ModePrinted Receipt/Label Presenter Positive Adjust ESC Q D + n Enable Back Black Mark Sensor ESC Q b e CRDisable Back Black Mark Sensor ESC Q b d CR Printed Receipt/Label Presenter Positive Adjust ESC Q P nEnter the Page Printing Mode Print Commands ConfigurationPrinted Receipt/Label Presenter Negative Adjust ESC Q D n ESC P PPrint Commands Draw Commands Command Name Draw Rectangle DrawRectangle x1, y1, x2, y2,color,widthType Value Barcode type HeightForm FiestaTM ESC D S Download Printer Default SetupESC S L ESC S Download Self test Message Hardware InformationStart Hardware Information download process Print Hardware Information ESC L gDownload Logo ESC D L CR LFESC D F CR Enable Font DownloadingDownload Fonts Display Tables InformationESC D I CR Disable Font Download ModeDisplay Font Download Current Settings ESC F S m t k f 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 CRSelect Emulation ESC E n ’Neil Line Print modeEmulation Emulation LanguageEsc C n Esc a n Can Esc V n1 n2 OFF Communications SettingsDip Switch Settings OFF 2USBSerial Busy Protocol RJ25 Connector PIN # Functional Description Signal NameSerial Communication RS232C XON/XOFF ProtocolUSB Communication USB RS232C Technical SpecificationsDip switch setting OverviewUSB Technical Specifications Bluetooth CommunicationsSoftware Driver Installation TeraTerm ExampleAutomatic Power OFF Mode Bluetooth Interface Power ModificationManual Power OFF Mode SettingsLED Wi-Fi Communication OptionPrinter Status Indicator LED Panel Status Condition FunctionLED Color/ Status Description LED # LED #Action Required Factory Fonts Appendix a Flash Font TablesReplaceable Fonts Tables Replaceable FontsCourier International Font Table Courier PC Line Graphic TableMonospace Font Table Rotated Font Table