Star Micronics Line Thermal/Dot Printer User Manual
Page 166

Rev. 0.00
3-154
STAR LIne Mode Command Specifications
ESC n
[Name] Selects page mode
[Code]
ASCII
ESC
n
Hexadecimal
1B
6E
Decimal
27
110
[Defined Area]
Thermal : -
Slip : -
Validation : -
[Initial Value]
Thermal : -
Slip : -
Validation : -
[Function]
Two bytes ignored
Shifts from line mode (default) to page mode.
This command is valid when input at the top of the line. Page mode expands print data to the page
coordinate region set by ESC * … and according to the rotation direction set by ESC T n, and prints
all the data using FF in the end.
In page mode, print data is OR expanded to the page region so you can be free to overlappingly
write characters and bit images and rotate characters.
In page mode, if print data +
matically rotated at the printer.
Page mode has the following restrictions.
(1) Print Data Expansion
In page mode, because data is expanded in normal dot increments, characters accompanying
half dots cannot be handled.
When page mode is entered, ANK fonts are automatically set to 5 x 9 (2P-1) fonts.
In page mode, the IBM block is changed to vertical 8 dot fonts.
Kanji characters (Kanji) cannot be printed.
When the character space is an odd number, 1 half dot is discarded.
Also, characters are expanded based on the base line, so vertical double tall expanded
characters are cut when the top portion is at the page top line, and if they are at the second
line, they sometimes can overlap the previous line.
For that reason, if vertical expanded characters are included in one line, add an extra
prior to the print data line to ensure print region to allow the vertical expanded character to be
printed.
(2) Paper feed command
In page mode, the paper feed command and line feed are executed as a movement of the
expanded position, according to dot units.
The 1 coordinate for the X direction is 0.159 mm (1 half-dot), and the 1 coordinate for the Y
direction is 0.176 mm (1 half-dot) as the units of the X and Y coordinates. The printing results
will not be doubled in the X and Y directions for 0˚/180˚ rotations and 90˚/270˚ rotations.
With 90˚/270˚ rotations, the amount of paper feed and the height of the characters are reduced.
The font horizontal expansion and horizontal movement amounts are increased.
For example, when using 1/6 inch line feed with 0˚ rotation, 24 half-dots x 0.176 mm = 4.224
mm. However, with 90˚/270˚ rotations, 24 half-dots x 0.159 mm = 3.816 mm. There is a
difference of 4.224 – 3.816 = 0.408 mm.
To rotate a check print of a determined form 90˚ or 270˚, create a program that considers this
difference.
(3)
• Setting Commands Received While in Page Mode
The following outlines three cases. (See each command for details.)
• Valid Command
• Commands that are valid when line mode is selected
• Ignored commands
Batch printing of page region data is executed by FF. After the FF, the printer returns to line mode.
When returning to line mode, all conditions such as print data in the print region, region coordinate
information, and rotation direction are cleared.