STAR MODE

Control codes

Hexadecimal

Function

Page

codes

 

 

 

<ESC> “4”

1B 34

Select highlight printing

33

 

 

 

 

<ESC> “5”

1B 35

Cancel highlight printing

33

 

 

 

 

 

<SI>

0F

 

Inverted printing

33

 

 

 

 

 

<DC2>

12

 

Cancel inverted printing

33

 

 

 

 

 

<ESC> “ E”

1B

45

Select emphasized printing

34

<ESC> “ G”

1B

47

 

 

<ESC> “ F”

1B

46

Cancel emphasized printing

34

<ESC> “ H”

1B

48

 

 

Commands to Set the Page Format

Control codes

Hexadecimal

Function

Page

codes

 

 

 

 

<ESC> “C”

n

1B

43 n

Set page length in lines

35

 

 

 

 

 

<ESC> “C” <0> n

1B

43 00 n

Set page length in inches

35

 

 

 

 

 

 

<ESC> “N”

n

1B

4E n

Set bottom margin

35

 

 

 

 

 

<ESC> “O”

 

1B 4F

Cancel bottom margin

35

 

 

 

 

 

 

<ESC> “l”

n

1B

6C n

Set left margin

36

 

 

 

 

 

 

<ESC> “Q”

n

1B

51 n

Set right margin

36

 

 

 

 

 

 

Commands to Move the Print Position

Control codes

 

Hexadecimal

Function

Page

 

codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<LF>

 

 

0A

 

 

Line feed

37

 

 

 

 

 

 

 

 

<CR>

 

 

0D

 

 

Carriage Return

37

 

 

 

 

 

 

 

<ESC> “a”

n

 

1B

61 n

Feed paper n lines

37

 

 

 

 

 

 

 

 

<FF>

 

 

0C

 

 

Form feed

37

 

 

 

 

 

 

 

 

 

<HT>

 

 

09

 

 

 

Horizontal tab

37

 

 

 

 

 

 

 

 

<VT>

 

 

0B

 

 

Vertical tab

38

 

 

 

 

 

<ESC> “z” “1”

1B 7A 31

Set line spacing to 4 mm

38

<ESC> “z” <1>

 

1B

7A 01

 

 

 

 

 

 

 

 

 

 

 

<ESC> “0”

 

 

1B

30

 

Set line spacing to 3 mm

38

 

 

 

 

 

 

 

<ESC> “J” n

 

1B

4A

n

One time n/4 mm feed

38

 

 

 

 

 

 

 

 

<ESC> “j” n

 

 

1B

6A

n

One time n/4 mm backfeed

39

 

 

 

 

 

 

 

 

<ESC>“I” n

 

 

1B

49

n

One time n/8 mm feed

39

 

 

 

 

 

 

<ESC> “B”

n1 n2 ... <0>

1B

42 n1 n2 ... 00

Set vertical tab stops

39

 

 

 

 

 

 

<ESC> “D”

n1 n2 ... <0>

1B

44 n1 n2 ... 00

Set horizontal tab stops

40

 

 

 

 

 

 

 

 

 

– 22 –

Page 26
Image 26
Star Micronics RS232 manual Commands to Set the Page Format, Commands to Move the Print Position

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.