Star Line Thermal/Dot Printer Specifications page 136

Line thermal/dot printer star line mode command specifications
Table of Contents

Advertisement

Command Transmission Example
1)
Set the Auto Logo function in advance and register to the non-volatile memory.
ESC GS / 1 n ( n = 0x01 ):
ESC GS / 2 n ( n = "/" ):
ESC GS / 3 nL nH d1 d2 ... dk:
nL = 4 nH = 0:
d1 = 0x1b d2 = 0x1d d2 = 0x61 d3 = 0x01:
ESC GS / 4 nL nH d1 d2 ... dk:
nL = 12 nH = 0:
d1 = 0x1b d2 = 0x64 d3 = 0x03:
d4 = 0x1b d5 = 0x1c d6 = 0x70 d7 = 0x01 d8 = 0x00:
d9 = 0x1b d10 = 0x1d d11 = 0x61 d12 = 0x00: <ESC GS a 0: Left alignment>
ESC GS / 5 n ( n = 0x01 ):
ESC GS / 6 n ( n = 0x01 ):
ESC GS / W:
2)
Embed registered command character in print data and transmit.
"CHEESE BURGER/2" → " /" is recognized as the command character.
The command character is converted to a space and "2" specifies logo 2.
STAR LIne Mode Command Specifications
Auto Logo Function ON
Auto Logo Command Character ("/") Specification
User macro 1 definition
Register macro data count = 4 bytes
Registration macro
<ESC GS a 1: Center alignment>
User macro 2 definition
Register macro data count = 12 bytes
Registered macro <ESC d 3: Cut position partial Cut>
<ESC FS p 1 0 : Logo 1 print>
Auto Logo command character, space conversion
Partial cut valid just prior to Auto Logo printing
Register Auto Logo definition data to
non-volatile memory.
3-124
Rev. 0.00

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsp7000

Table of Contents