SNBC BTP-R580II Programming Manual page 83

Table of Contents

Advertisement

print area remains the default value.
2) The print data received after print area and print direction are set (set by ESC T command) will be
formatted within the print area as shown in figure B.2. Point A is the starting position of print area as
a default value. (When a character is printed, point A is the baseline.). Print data containing
downloaded bitmaps or barcodes is formatted so that the bottom point of the left side of the image
data (point B in Figure B.3) is aligned with the baseline.
3) If the print data (including character spacing) exceeds the print area before the printer receives a
command (e.g., LF or ESC J) that includes line feeding, a line feed is executed automatically within
the print area (The paper feed amount depends on the line spacing set by ESC 2 and ESC 3). The
print position, therefore, moves to the beginning of the next line.
4) The default value of the line spacing is set to 1/6 inch and corresponds to 31 dots in the vertical
direction. If print data for the next line contains enlarged characters that are higher than
double-height characters, bitmaps taking up two or more lines, or barcodes higher than normal
characters, the amount of line feeding may be insufficient, resulting in overlapping of the characters
printed in the current line and characters printed in previous line. To avoid this, increase the amount
of line spacing.
Example
When printing a downloaded bitmap of six bytes in the vertical direction, use the following formula:
{number of vertical dots (8×6) - number of dots for feeding paper at the beginning of the print area (24) }
× vertical motion unit (203/203) = 24. Therefore, to print a complete bitmap, the print position needs to
move down 24 dots on the basis of the starting position of print area.
Use the following commands:
ESC W xL, xH, yL, yH, dxL, dxH, dyL, dyH
ESC T n
ESC 3 24
Set new line spacing
LF
GS / 1
ESC 2
Reset the line spacing to 1/6 inch
Figure B.2 storage location of character data
- 76 -
BTP-R580II Programming Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents