7167 Owner’s Manual
Chapter 6: Commands
November 2002
117
Set Relative Print Position
ASCII:
ESC \
n1 n2
Hexadecimal:
1B 5C
n1 n2
Decimal:
27 92
n1 n2
Value of
n
:
To Move the Relative Starting Position Right of the Current Position by
n
dots:
n
1 =
Remainder after dividing
n
by 256.
n
2 =
Integer after dividing
n
by 256.
The values for
n
1 and
n
2 are two bytes in low byte, high byte word orientation.
To Move the Relative Starting Position Left of the Current Position by
n
dots:
n
1 =
Remainder after dividing (65,536-
n
) by 256
n
2 =
Integer after dividing (65,536-
n
) by 256
The values for
n
1 and
n
2 are two bytes in low byte, high byte word orientation.
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.
Formulas:
To move to the left:
Determine the value of
n
by multiplying the number of columns to move left of the current
position by 13 (receipt standard pitch) or 10 (slip or receipt compressed pitch). The
example shows how to set the relative position two columns in standard pitch (10 dots per
column) to the left of the current position.
2 x 10 = 20 dots (two columns to be moved left of the current position)
65,536-20 = 65516
65,516/256 = 255, remainder of 236
n1
= 236
n2
= 255
To move to the right:
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
n
2 = 0
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H5C) & Chr$(n1) & Chr$(n2)
Related Information:
Содержание 7167
Страница 1: ...NCR 7167 Two Station POS Printer Release 1 0 Owner s Manual B005 000 1406 Revision C November 2002...
Страница 26: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 16 Bottom of the Printer...
Страница 34: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 24...
Страница 39: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 29...
Страница 41: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 31...
Страница 57: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 47 Guide Extended Slip Table LED...
Страница 59: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 49 LED Guide Extended Slip Table...
Страница 244: ...7167 Owner s Manual Appendix A Specifications November 2002 214...
Страница 256: ...7167 Owner s Manual Appendix C November 2002 226 Code Page 950 Code Page 437 850 852 and 858...
Страница 257: ...7167 Owner s Manual Appendix C November 2002 227 Code Page 860 862 863 and 864...
Страница 258: ...7167 Owner s Manual Appendix C November 2002 228 Code Page 865 866 874 and 1252...
Страница 259: ...7167 Owner s Manual Appendix C November 2002 229 Code Page Katakana...
Страница 260: ...7167 Owner s Manual Appendix C November 2002 230 Code Page 932...
Страница 261: ...7167 Owner s Manual Appendix C November 2002 231 Code Page 932 Cont...
Страница 262: ...7167 Owner s Manual Appendix C November 2002 232 Code Page 932 Cont...
Страница 263: ...7167 Owner s Manual Appendix C November 2002 233 Code Page 932 Cont...
Страница 264: ...7167 Owner s Manual Appendix C November 2002 234 Code Page 932 Cont...
Страница 265: ...7167 Owner s Manual Appendix C November 2002 235 Code Page 932 Cont...
Страница 266: ...7167 Owner s Manual Appendix C November 2002 236 Code Page 932 Cont...
Страница 267: ...7167 Owner s Manual Appendix C November 2002 237 Code Page 932 Cont...
Страница 268: ...7167 Owner s Manual Appendix C November 2002 238 Code Page 932 Cont...
Страница 269: ...7167 Owner s Manual Appendix C November 2002 239 Code Page 936 Simple Chinese...
Страница 270: ...7167 Owner s Manual Appendix C November 2002 240 Code Page 936 Simple Chines1e Cont...
Страница 271: ...7167 Owner s Manual Appendix C November 2002 241 Code Page 936 Simple Chinese Cont...
Страница 272: ...7167 Owner s Manual Appendix C November 2002 242 Code Page 936 Simple Chinese Cont...
Страница 273: ...7167 Owner s Manual Appendix C November 2002 243 Code Page 936 Simple Chinese Cont...
Страница 274: ...7167 Owner s Manual Appendix C November 2002 244 Code Page 936 Simple Chinese Cont...
Страница 275: ...7167 Owner s Manual Appendix C November 2002 245 Code Page 936 Simple Chinese Cont...
Страница 276: ...7167 Owner s Manual Appendix C November 2002 246 Code Page 936 Simple Chinese Cont...
Страница 277: ...7167 Owner s Manual Appendix C November 2002 247 Code Page 936 Simple Chinese Cont...
Страница 278: ...7167 Owner s Manual Appendix C November 2002 248 Code Page 936 Simple Chinese Cont...
Страница 279: ...7167 Owner s Manual Appendix C November 2002 249...
Страница 280: ...7167 Owner s Manual Appendix C November 2002 250 Code Page 936 Simple Chinese Cont...
Страница 281: ...7167 Owner s Manual Appendix C November 2002 251 Code Page 949 Korean...
Страница 282: ...7167 Owner s Manual Appendix C November 2002 252 Code Page 949 Korean Cont...
Страница 283: ...7167 Owner s Manual Appendix C November 2002 253 Code Page 949 Korean Cont...
Страница 284: ...7167 Owner s Manual Appendix C November 2002 254 Code Page 949 Korean Cont...
Страница 285: ...7167 Owner s Manual Appendix C November 2002 255 Code Page 949 Korean Cont...
Страница 286: ...7167 Owner s Manual Appendix C November 2002 256 Code Page 949 Korean Cont...
Страница 287: ...7167 Owner s Manual Appendix C November 2002 257 Code Page 949 Korean Cont...
Страница 288: ...7167 Owner s Manual Appendix C November 2002 258 Code Page 949 Korean Cont...
Страница 289: ...7167 Owner s Manual Appendix C November 2002 259 Code Page 949 Korean Cont...
Страница 290: ...7167 Owner s Manual Appendix C November 2002 260 Code Page 949 Korean Cont...
Страница 291: ...7167 Owner s Manual Appendix C November 2002 261 Code Page 949 Korean Cont...
Страница 292: ...7167 Owner s Manual Appendix C November 2002 262 Code Page 949 Korean Cont...
Страница 293: ...7167 Owner s Manual Appendix C November 2002 263 Code Page 949 Korean Cont...
Страница 294: ...7167 Owner s Manual Appendix C November 2002 264 Code Page 949 Korean Cont...
Страница 295: ...7167 Owner s Manual Appendix C November 2002 265 Code Page Traditional Chinese Cont...
Страница 296: ...7167 Owner s Manual Appendix C November 2002 266 Code Page 949 Korean Cont...
Страница 297: ...7167 Owner s Manual Appendix C November 2002 267 Code Page 950 Traditional Chinese...
Страница 298: ...7167 Owner s Manual Appendix C November 2002 268 Code Pare 949 Traditional Chinese Cont...
Страница 299: ...7167 Owner s Manual Appendix C November 2002 269 Code Pare 980 Traditional Chinese Cont...
Страница 300: ...7167 Owner s Manual Appendix C November 2002 270 Code Pare 950 Traditional Chinese Cont...
Страница 301: ...7167 Owner s Manual Appendix C November 2002 271 Code Pare 949 Traditional Chinese Cont...
Страница 302: ...7167 Owner s Manual Appendix C November 2002 272 Code Pare 980 Traditional Chinese Cont...
Страница 303: ...7167 Owner s Manual Appendix C November 2002 273 Code Pare 980 Traditional Chinese Cont...
Страница 304: ...7167 Owner s Manual Appendix C November 2002 274 Code Pare 950 Traditional Chinese Cont...
Страница 305: ...7167 Owner s Manual Appendix C November 2002 275 Code Pare 950 Traditional Chinese Cont...
Страница 306: ...7167 Owner s Manual Appendix C November 2002 276 Code Pare 950 Traditional Chinese Cont...
Страница 307: ...7167 Owner s Manual Appendix C November 2002 277 Code Pare 950 Traditional Chinese Cont...
Страница 308: ...7167 Owner s Manual Appendix C November 2002 278 Code Pare 950 Traditional Chinese Cont...