7156 Owner’s Guide
Chapter 6: Commands
September 1997
67
Print and Reverse Feed
n Minimum Units (Slip Station)
Prints one line from the buffer and reverse feeds the paper n/144 of an inch on the slip
station. The receipt station cannot be reverse fed. If the receipt station is selected, the paper
is fed forward n/360 of an inch.
Hex
Decimal
ASCII
Value of
n
1B 4B n
27 75 n
ESC K n
0-255
Set or Cancel Unidirectional Print (Slip Station)
Toggles between unidirectional and bidirectional printing on the slip station.
Unidirectional printing reduces column alignment tolerances and provides higher quality
printing. Printing is normally bidirectional because of the faster speed.
Hex
Decimal
ASCII
Value of
n
Defaul
t
1B 55 n
27 85 n
ESC U n
0 = select bi-directional
1 = select unidirectional
0
Set Relative Starting Position
Moves the print starting position the specified number of dots either right (up to the right
margin) or left (up to the left margin) of the current position.
The print starting position is reset to the first column after each line.
Hex
Decimal
ASCII
Value of
n
1B 5C n1 n2
27 92 n1 n2
ESC \ n1 n2
See examples below
To Move the Relative Starting Position Right of the Current Position
n = Number of dots to be moved right of the current position
n1 = Remainder after dividing n by 256
n2 = Integer after dividing n by 256
The values for n1 and n2 are two bytes in low byte, high byte word orientation.
Determine the value of n by multiplying the number of columns to move right of the
current position by 10 (slip, or receipt standard pitch) or 8 (receipt compressed pitch). The
example shows how to set the relative position two columns in standard pitch (10 dots per
column) to the right of the current position.
2 x 10 = 20 dots (two columns to be moved right of the current position)
20/256 = 0, remainder of 20
n1 = 20
n2 = 0
To Move the Relative Starting Position Left of the Current Position
n = Number of dots to be moved left of the current position
n1 = Remainder after dividing (65,536-n) by 256
n2 = Integer after dividing (65,536-n) by 256
Содержание 7156
Страница 1: ...BD20 1436 A Issue B September 1997 NCR 7156 Thermal Receipt and Impact Slip RS232 Owner s Guide...
Страница 6: ...Contents 7156 Owner s Guide September 1997 iv...
Страница 31: ...7156 Owner s Guide Chapter 2 Setting Up and Using the Printer September 1997 25 Sample Print Test...
Страница 38: ...Chapter 3 Solving Problems 7156 Owner s Guide September 1997 32...
Страница 118: ...Chapter 6 Commands 7156 Owner s Guide September 1997 112...
Страница 122: ...Appendix A Specifications 7156 Owner s Guide September 1997 116...
Страница 129: ...7156 Owner s Guide Appendix B Print Characteristics September 1997 123...
Страница 130: ...Appendix B Print Characteristics 7156 Owner s Guide September 1997 124...
Страница 136: ...Index 7156 Owner s Guide September 1997 6...