Epson TM-U220 Guide for right side up printing - Page 18

Instant commands, 2.3.4 Required to transmit at Beginning of the line command

Page 18 highlights

Confidential 2.3.3 Instant commands The commands in the following table are processed as soon as they are received by the printer during right side up printing mode. Therefore, if a printer receives a GS r, GS I, or GS a command, the printer transmits the required status before printing the currrent stored text data. Command name Function ESC p Generate pulse GS I Transmit printer ID GS a Enable/disable Automatic Status Back (ASB) GS r Transmit status 2.3.4 Required to transmit at Beginning of the line command The commands in the following table must be transmitted to the printer at "Beginning of the line" when the printer isin the right side up mode. If any of these commands is transmitted except at "Beginning of the line," the printed result is incorrect. Command name Function ESC a Select justification ESC i Partial cut (one point left cut) [Obsolete command] ESC m Partial cut (three points left cut) [Obsolete command] ESC r Select print color GS ( z 2 0 0 S Start reverse block. (specific command) GS ( z 2 0 0 E End reverse block. (specific command) GS V m Select cut mode and cut paper GS V m n Select cut mode and cut paper Note: The above commands except ESC i, ESC m are described as "This command is enabled only when processed at the beginning of the line" in the ESC/POS Application Programming Guide. The ESC i and ESC m commands are also obsolete commands (See "Obsolete commands:" on page 4.) Definition of Beginning of the line The beginning of the line meets all of the following conditions: • No data exists in the print buffer. • No spaces are skipped by HT in the print buffer. 10 Rev. A

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22

10
Rev. A
Confidential
2.3.3
Instant commands
The commands in the following table are processed as soon as they are received by the printer
during right side up printing mode. Therefore, if a printer receives a
GS r
,
GS I
, or
GS a
command, the printer transmits the required status before printing the currrent stored text data.
2.3.4
Required to transmit at Beginning of the line command
The commands in the following table must be transmitted to the printer at “Beginning of the
line“ when the printer isin the right side up mode. If any of these commands is transmitted
except at “Beginning of the line,“ the printed result is incorrect.
Note:
The above commands except
ESC i
,
ESC m
are described as “This command is enabled only when
processed at the beginning of the line“ in the ESC/POS Application Programming Guide. The
ESC i
and
ESC m
commands are also obsolete commands (See “Obsolete commands:” on page 4.)
Command name
Function
ESC p
Generate pulse
GS I
Transmit printer ID
GS a
Enable/disable Automatic Status Back (ASB)
GS r
Transmit status
Command name
Function
ESC a
Select justification
ESC i
Partial cut (one point left cut)
[Obsolete command]
ESC m
Partial cut (three points left cut)
[Obsolete command]
ESC r
Select print color
GS ( z 2 0 0 S
Start reverse block. (specific command)
GS ( z 2 0 0 E
End reverse block. (specific command)
GS V m
Select cut mode and cut paper <Function A>
GS V m n
Select cut mode and cut paper <Function B>
Definition of Beginning of the line
The beginning of the line meets all of the following conditions:
No data exists in the print buffer.
No spaces are skipped by HT in the print buffer.