Set Printing Area In Page Mode - NCR 7158 Owner's Manual

Thermal receipt and impact printer
Table of Contents

Advertisement

Set Printing Area in Page Mode

ASCII:
Hexadecimal:
Decimal:
Range:
Default:
Sets the position and size of the printing area in Page Mode.
The command can be sent multiple times so that several different print
areas, aligned in different print directions, can be developed in the
printer's page buffer before being printed by the Eject Slip command
(0C).
Defaults equal an origin of 0,0 and a size of 576x576. This command is
allowed in any mode.
The starting position of the print area is the upper left of the area to be
printed (x0, y0). The length of the area to be printed in the y direction is
set to dy inches. The length of the area to be printed in the x direction is
set to dx inches. Use the equations to determine the Value of x0, y0, dx,
and dy.
See the illustration for a graphic representation of the printing area. For
more information about the fundamental calculation pitch, see the Set
Fundamental Calculation Pitch command (1D 50).
1. x0 = [(n1 + n2 x 256) x (horizontal direction of the fundamental
calculation pitch)]
2. y0 = [(n3 + n4 x 256) x (vertical direction of the fundamental
calculation pitch)]
3. dx = [(n5 + n6 x 256) x (horizontal direction of the fundamental
calculation pitch)]
ESC W n1, n2 ...n8.]
1B 57 n1, n2 ...n8]
27 87 n1,n2 ...n8]
0 - 255
n1-4 = 0
n5 = 64
n6 = 2
n7 = 64
n8 = 2
Formulas:
Chapter 7: Programming Guide 7-125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents