9. CONTROL CODES/ESC/POS MODE

Control Code

Hexadecimal Code

Function

 

 

 

 

 

 

 

 

 

HT

09

 

 

Horizontal tab

 

 

LF

0A

 

 

Print line feed

 

 

FF

0C

 

 

Page mode print and return

 

 

DLE EOT

10

04

 

Real time transmission of status

 

 

DLE ENQ

10

05

 

Real time request to printer

 

 

CAN

18

 

 

Cancel print data in page mode

 

 

ESC FF

1B

FF

 

Print page mode data

 

 

ESC SP

1B

20

 

Set right space amount of character

 

 

ESC !

1B

21

 

Universal print mode designation

 

 

ESC #

1B

23

 

Set memory switch

 

 

ESC $

1B

24

 

Designate absolute printing

 

 

ESC %

1B

25

 

Designate/cancel download character set

 

 

ESC &

1B

26

 

Define download characters

 

 

 

 

ESC/POS

ESC *

1B

2A

 

Designate bit image mode

 

ESC -

1B

2D

 

Designate/cancel underline

 

 

ESC 2

1B

32

 

Set 1/6 inch line feed amount

 

 

ESC 3

1B

33

 

Set line feed amount

 

 

ESC =

1B

3D

 

Select peripheral equipment

 

 

ESC ?

1B

3F

 

Delete download characters

 

 

ESC @

1B

40

 

Initialize printer

 

 

ESC D

1B

44

 

Set horizontal tab position

 

 

ESC E

1B

45

 

Designate/cancel emphasized print

 

 

ESC G

1B

47

 

Designate/cancel double print

 

 

ESC J

1B

4A

 

Print and paper feed

 

 

ESC L

1B

4C

 

Select page mode

 

 

ESC R

1B

52

 

Select international characters

 

 

ESC S

1B

53

 

Select standard mode

 

 

ESC T

1B

54

 

Select character print direction in print mode

 

 

ESC V

1B

56

 

Designate/cancel 90° character rotation

 

 

ESC W

1B

57

 

Set print range in page mode

 

 

ESC \

1B

5C

 

Designate relative position

 

 

ESC a

1B

61

 

Align position

 

 

ESC c4

1B

63

34

Select no valid paper detector at print stop

 

 

ESC c5

1B

63

35

Enable/disable panel switch

 

 

ESC d

1B

64

 

Print and paper feed “n” lines

 

 

ESC i

1B

69

 

Partial cut (one section remaining)

 

 

ESC p

1B

70

 

Designate pulse generation

 

 

ESC t

1B

74

 

Select character code table

 

 

– 57 –

Page 61
Image 61
Star Micronics RS232 manual Control CODES/ESC/POS Mode

RS232 specifications

Star Micronics RS232 is a versatile and widely used connectivity standard that enables seamless communication between peripheral devices and computers, particularly in point-of-sale (POS) environments. This technology is renowned for its robustness and reliability, making it a preferred choice for businesses in various sectors, including retail, hospitality, and healthcare.

One of the main features of Star Micronics RS232 is its ability to facilitate serial communication, allowing devices to exchange data one bit at a time over a single communication line. This enables simple and effective connections between devices like printers, cash registers, and barcode scanners. The standard typically operates at data rates ranging from 300 to 115200 bits per second, accommodating various application needs.

The RS232 interface is characterized by its 9-pin (DB9) or 25-pin (DB25) connectors, with the DB9 being the more commonly used in modern applications. It provides a straightforward plug-and-play experience, allowing devices to be easily connected and configured without extensive technical knowledge. This simplicity is particularly beneficial for retail staff who may not possess in-depth IT expertise.

Another significant aspect of RS232 technology is its point-to-point architecture. This means each connected device operates independently, enhancing overall system performance. Moreover, RS232 supports long-distance communication, with the ability to transmit data over cable lengths of up to 50 feet (15 meters), which is advantageous in larger retail settings.

In terms of compatibility, Star Micronics RS232 devices are designed to work seamlessly with various operating systems, including Windows, macOS, and Linux. This widespread compatibility ensures that businesses can continue to leverage their existing infrastructure without the need for costly upgrades.

Additionally, Star Micronics has incorporated advanced technologies into their RS232 products, such as built-in error checking and data control features. These enhancements help minimize data transmission errors and ensure that the information exchanged between devices remains accurate and reliable.

In summary, Star Micronics RS232 offers a robust set of features, including simple connectivity, point-to-point architecture, and compatibility with various systems. Its proven performance and reliability make it a trusted choice for businesses looking to enhance their operational efficiency and streamline their processes. As POS technology continues to evolve, the Star Micronics RS232 standard remains a foundational component for effective device communication.