AMT Datasouth ACCEL-6300 Printer User Manual


 
User's Guide
D-16 Code Sets
Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Text Functions––continued
Proportional mode These sequences start and end the proportional mode,
Start ...................................... ESC P 1B 50 27 80 wherin the printer spaces characters by moving a specific
End ....................................... ESC Q 1B 51 27 81 number of PS units (1/120-inch increments), printing the
character, and then moving by the same number of PS units
again.
If the active font is a PS font, the printer uses the PS unit values
prestored in the font. If the active font is a fixed-pitch font, the
printer uses one-half the normal character spacing as the number
of PS units for every character.
PS fonts contain prestored PS unit values for characters. A PS
unit value represents one-half the space, in multiples of 1/120-
inch, that is required to print and space a character. PS unit
values range from 2 to 8. For example, the letter "V" has a PS
unit value of 6, so it prints centered within a space of 12/120-inch
(move 6 PS units, print the "V", and then move 6 PS units again).
Or, the letter "i" has a PS unit value of 3, so it prints centered
within a space of 6/120-inch (move 3 PS units, print the "i", and
then move 3 PS units again).
To determine the total distance from the center line of one
character to the center line of the next character, just add the two
characters' PS unit values. In the example above, the distance
between the center of the "V" and the center of the "i" is 9/120-
inch.
All numeric characters (0 to 9) have the same PS unit value.
This allows numeric data to be printed aligned in columnar form
without having to turn off proportional spacing.
During fixed-pitch printing, the printing sequence is PRINT-
MOVE, where the distance of the move is the current character
spacing setting. During PS printing, the printing sequence is
MOVE-PRINT-MOVE, where the distance of the move is PS
units.
After ending proportional mode, character spacing resets to the
default character spacing of the active font. If the active font is a
PS font, character spacing resets to 12 characters per inch.
User's Guide
D-16 Code Sets
Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Text Functions––continued
Proportional mode These sequences start and end the proportional mode,
Start ...................................... ESC P 1B 50 27 80 wherin the printer spaces characters by moving a specific
End ....................................... ESC Q 1B 51 27 81 number of PS units (1/120-inch increments), printing the
character, and then moving by the same number of PS units
again.
If the active font is a PS font, the printer uses the PS unit values
prestored in the font. If the active font is a fixed-pitch font, the
printer uses one-half the normal character spacing as the number
of PS units for every character.
PS fonts contain prestored PS unit values for characters. A PS
unit value represents one-half the space, in multiples of 1/120-
inch, that is required to print and space a character. PS unit
values range from 2 to 8. For example, the letter "V" has a PS
unit value of 6, so it prints centered within a space of 12/120-inch
(move 6 PS units, print the "V", and then move 6 PS units again).
Or, the letter "i" has a PS unit value of 3, so it prints centered
within a space of 6/120-inch (move 3 PS units, print the "i", and
then move 3 PS units again).
To determine the total distance from the center line of one
character to the center line of the next character, just add the two
characters' PS unit values. In the example above, the distance
between the center of the "V" and the center of the "i" is 9/120-
inch.
All numeric characters (0 to 9) have the same PS unit value.
This allows numeric data to be printed aligned in columnar form
without having to turn off proportional spacing.
During fixed-pitch printing, the printing sequence is PRINT-
MOVE, where the distance of the move is the current character
spacing setting. During PS printing, the printing sequence is
MOVE-PRINT-MOVE, where the distance of the move is PS
units.
After ending proportional mode, character spacing resets to the
default character spacing of the active font. If the active font is a
PS font, character spacing resets to 12 characters per inch.