Gs F - Set Field In Page Mode - Ithaca Epic 950 Integration Manual

Table of Contents

Advertisement

Command Reference
GS F – Set Field in Page Mode
Description
Sets a text field in page mode, between the horizontal start position (n2 * 256 + n3) and
the horizontal end position (n4 * 256 + n5). Positions are specified in dots, where 1 dot
= 1/203 inch, relative to the left edge of the page for the currently selected print direction.
The text to be entered in this field should follow this command and should be terminated
by a [CR] or [LF]. If more text is entered than can be contained within the field, the
excess text characters are truncated.
Expression
ASCII
[GS] F <n1><n2><n3><n4><n5>
Hexadecimal
1DH 46H <n1><n2><n3><n4><n5>
Decimal
<29> <70> <n1><n2><n3><n4><n5>
Parameters
n1 = Sets format for this field, as follows:
n2 = most significant byte of start position
n3 = least significant byte of start position
n4 = most significant byte of end position
n5 = least significant byte of end position
Notes
A Validation Number field is presumed to be defined to print on the leading edge
of a ticket. When this field is printed on the ticket, the Validation Completed
status bit will be set (see Request Printer Status command, on page 62).
A field can hold a maximum of 200 characters. If more than 200 characters are
entered in a field, or more than can be printed between the selected start and
end positions, the excess characters are discarded without being printed.
If the specified start or end positions are out of bounds for the page width and
selected page orientation (e.g., if the start position is greater or equal to the end
position, or if either position is outside the page boundaries) the field's start and
end positions will default to the full width of the page. This fact can be used to
95-05245
Bit 7 = Validation Number field flag
1 = Validation Number field
0 = All other fields
Bits 3-6 are reserved for future use
Bits 1, 0 = Justification mode for this field's text data
(Decimal value of masked bits)
0 = Left Justification
1 = Centering
2 = Right Justification
(Start position = Inches/203 = (n2 * 256) + n3)
(End position = Inches/203 = (n4 * 256) + n5)
Rev G
Epic 950 OEM Integration Manual
Page 121

Advertisement

Table of Contents
loading

Table of Contents