Specifications

Rev. A Application 2-1
TM–U375/U375P Information Manual
Chapter 2
Application
This chapter presents an example illustrating ESC/POS command functions and printing results. The
example shows procedures and a program for combining system processes with the TM-U375,
DM-D202II, and a drawer.
System Processing and Procedures
Print Sample
Procedure Commands Used Description
1. Define stamp data
GS
Defines a downloaded bit image to be used as a stamp.
2. Stamp ESC =, ESC c 0, ESC a, GS /,
ESC J
Prints the specified stamp (downloaded bit image) in the
center of the receipt at the print position defined by ESC a.
3. Display a message ESC = Selects only the customer display using ESC =. Displays a
message and the time.
4. Print date and time ESC =, ESC d Selects only the printer using ESC =. Selects left justification
after printing the date and time in the center of the
receipt.
5. Print item A
Display item A
ESC a, ESC =, ESC !, LF Selects both the printer and customer display using ESC =.
Prints and displays item A.
6. Print item B
Display item B
ESC =, ESC !, LF, ESC p, ESC d Selects only the printer using ESC = and prints item B.
Displays the amount paid only on the customer display.
7. Display the amount of
change and a message
ESC = Selects only the customer display using ESC = and displays
the amount of change and a message.
8. Stamp ESC =, ESC a, GS /, ESC J Prints the stamp (downloaded bit image) for the next
receipt and advances the paper to the cut position.
Uses the manual cutter to cut the paper.
YOUR RECEIPT
Thank you
MARCH 1, 1996, 10:30
TM-U375
PS-150
TOTAL
-----------------------------------------
PAID
CHANGE
YOUR RECEIPT
Thank you
96.0
15.0
111.0
120.0
9.0
Stamp
Item A
Stamp for the next receipt
Item B
Cut (manual cut)
-----------------------------------------