![TransAct POSJET 1500 Скачать руководство пользователя страница 142](http://html1.mh-extra.com/html/transact/posjet-1500/posjet-1500_programmers-manual_1150636142.webp)
Control Codes
POSjet
®
1500
Programmer's Guide
Page 128
Rev M
Nov-07
Print Rotation Commands
Rotated print capabilities are available. The print mode commands listed below rotate the print in any of three 90°
orientations. In 90° and 270° rotated mode, the print data is first buffered by the printer, processed (rotated), and
then printed in one of three fonts. Consequently, printing time is delayed. In 180° mode, the print is simply
inverted and mirrored, and no delay occurs.
In rotated 90° and 270° mode, the printer can support up to 40 lines of rotated print with up to 128 characters per
line. One single pass and two double pass fonts with emphasize and enhanced attributes are available.
In free format rotated 90° and 270° mode, the print length is determined by the length of the longest line entered. In
line formatted mode, the line length is set not by the longest line entered but by the maximum line length specified
by the set line length command.
Line spacing is controled by inserting [LF] (1/8 inch) or [ESC] J <n> (n/216 inch) commands in the rotated data.
Function
Begin rotated print
ASCII
[ESC] r <n>
Hexadecimal
1BH 72H <n>
Decimal
<27> <114> <n>
IPCL
&%RX
EPOS
[ESC] T <3>
Description
The [ESC] r <n> command starts rotated print mode where n defines the mode as follows:
Where: n = x bits,
76543210
Function
----xx00
End rotated print
----xx01
Rotate 90
°
----0010
Rotate 180
°
----xx11
Rotate 270
°
----x1xx
Use line formatting
When n =
1 or 9, the print mode is rotated 90
°
. Print data is entered normally from left to right, top to
bottom. When an end rotated print ([ESC] r <0>) command is received, the printer formats and
prints the data. When n = 5 or 13, the print mode is rotated by 90
°
with formatting. The
command differs from the [ESC] r <1> command because the line length is determined not by the
longest line entered but by the line length set by the [ESC] s command. If input extends past the
end of a line, it wraps around to the next line. When n = 3 or 11, the print mode is rotated 270
°
according to the currently stored format parameters. When n = 7 or 15, the print mode is rotated
270
°
according to the currently stored format parameters. The [ESC] r <7> command differs from
the [ESC] r <3> command by spacing out the lines to the line length specified by the [ESC] s
command. If input extends past the end of a line, it wraps around to the following line. When n =
2, the print mode is rotated 180
°
. All subsequent lines are rotated 180
°
and positioned at the
opposite margin. All normal fonts and modes are available in 180
°
rotated mode. Format and font
bits are ignored, and the command remains in effect until rotation is cancelled with an end rotated
print ([ESC] r <0>) or a station select command.
Note 1
The last line of print must end with a line terminator before the end rotated command is issued.
Any characters in the buffer that have not printed are printed un-rotated when a line terminator is
received.
Note 2
In EPOS mode, the POSjet
®
Printer does not fully implement page mode. The [ESC] T <n>
command functions identically to normal mode, [ESC] r <n>, except the definition of <n> is
different.
Содержание POSJET 1500
Страница 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Страница 14: ......