7-2
Chapter 7: Programming Guide
List of Commands and Location
Commands control all operations and functions of the printer. This
includes selecting the size and placement of characters and graphics on
the receipt or the slip and feeding and cutting the paper. Any of the
commands may be used in any combination to program a host
computer to communicate with the printer (unless otherwise noted).
Some commands listed and described here may not be implemented.
They will be identified as “not implemented”. If received, they are
ignored and not sent to the print buffer as data. Any non-legal
commands are sent to the print buffer as data.
By Command Code
All items in
BOLD
are new or have additional functionality when
compared to the 7156.
Code (Hexadecimal)
Command
Page
09 (HT)
Horizontal Tab
45
0A (LF)
Print and Feed Paper One Line
36
0C (FF)
Print and Return to Standard Mode
120
0C (FF)
Print and Eject Slip
36
0D (CR)
Print and Carriage Return
37
10 Clear
Printer
22
10 04 n
Real Time Status Transmission (DLE
Sequence)
103
10 05 n
Real Time Request to Printer (GS
Sequence)
107
11 Close
Form
23
12
Select Double-Wide Characters
53
13
Select Single-Wide Characters
53
14
n
Feed
n
Print Lines
37
15
n
Feed
n
Dot Rows
38
Summary of Contents for 7158
Page 1: ...NCR 7158 Thermal Receipt and Impact Printer Release 1 0 Owner s Guide B005 0000 1112 Issue D...
Page 26: ...1 8 Chapter 1 About the Printer...
Page 50: ...3 12 Chapter 3 Using the Printer Clearing Check Flip Paper Jams Check Check Flip Window Door...
Page 110: ...5 28 Chapter 5 Technical Specifications Code Page 437...
Page 111: ...Chapter 5 Technical Specifications 5 29 Code Page 850...
Page 112: ...5 30 Chapter 5 Technical Specifications Code Page 852...
Page 113: ...Chapter 5 Technical Specifications 5 31 Code Page 858...
Page 114: ...5 32 Chapter 5 Technical Specifications Code Page 860...
Page 115: ...Chapter 5 Technical Specifications 5 33 Code Page 863...
Page 116: ...5 34 Chapter 5 Technical Specifications Code Page 865...
Page 117: ...Chapter 5 Technical Specifications 5 35 Code Page 866...
Page 128: ...6 10 Chapter 6 Communication Interface...
Page 286: ...7 158 Chapter 7 Programming Guide...
Page 314: ...Index 8 W Weight of printer 5 36 X XON XOFF protocol 6 6...