The text of a manual · part 9 of 21
6820 Series 80-Column Printer User's Manual, 6822 Configuration: Control Code Definitions, pages 67 to 75
Pages 67 to 75 of 171, from 6820 Series 80-Column Printer User's Manual, 6822 Configuration
The original document is the PDF (6.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 6822
Page 67
Chapter 4, Control Code Definitions
Select Italic Mode The text (nongraphic) characters are italicized. Factory default disables italic mode. Note: This function does not work well with DBCS or alternate Single Byte Character Sets (SBCS).
Format Decimal
Hex
ASCII
27 52
1B 34
ESC “4”
Cancel Italic Mode Cancels the italic mode. Note: This function does not work well with DBCS or alternate Single Byte Character Sets (SBCS).
Format Decimal
Hex
ASCII
27 53
1B 35
ESC “5”
Master Select Allows you to specify a combination of print modes. The variable n is determined by combining values for the desired modes, by adding them together. Note: This function is not supported in DBCS.
Format Decimal
Hex
ASCII
27 33 n
1B 21 n
ESC “!” n
6820 Series 80-Column Printer User’s Manual
53
Page 68
Chapter 4, Control Code Definitions
Valid combinations of the values in the following table include any combinations except that Pica cannot combine with Elite. Example Pica Compressed Italic Underlined, by adding values (00h + 04h + 40h + 80h), which results in C4h for the value of n. Master Select Values Hex Value
Mode
00h
Pica
01h
Elite
04h
Condensed (compressed)
08h
Emphasized
10h
Double-Strike
20h
Double-Width (expanded)
40h
Italic
80h
Underlined
The following print conflicts occur between modes. A mode in any column takes precedence over all modes in the columns to its right. Print Conflicts 1
2
3
Elite
Emphasized
Compressed
The following print modes can be combined producing different pitches: Print Modes
54
Pitch
Mode
5 cpi
Expanded
6 cpi
Expanded Elite
8.58 cpi
Expanded Compressed
10 cpi
Pica
12 cpi
Elite
17.16 cpi
Compressed 6820 Series 80-Column Printer User’s Manual
Page 69
Chapter 4, Control Code Definitions
Select Pica Pitch Select a character pitch of 10 cpi (characters per inch) (factory default). This also cancels Elite pitch. Note: This function is not supported in DBCS.
Format Decimal
Hex
ASCII
27 60
1B 50
ESC “P”
Select Superscript Mode Prints all subsequent characters in approximately 2/3 the normal height in the upper part of the character space, until Cancel Subscript/ Superscript is encountered. Note: This function is not supported in DBCS.
Format Decimal
Hex
ASCII
27 83 0*
1B 53 00*
ESC “S” 0*
Select Subscript Mode Prints all subsequent characters in approximately 2/3 the normal height in the lower part of the character space, until Cancel Subscript/ Superscript is encountered. Note: This function is not supported in DBCS.
6820 Series 80-Column Printer User’s Manual
55
Page 70
Chapter 4, Control Code Definitions
Format Decimal
Hex
ASCII
27 83 1*
1B 53 01*
ESC “S” 1*
Cancel Subscript/Superscript Mode Cancels the effects produced by select superscript mode and select subscript mode. Factory default also disables both of these modes. Note: This function is not supported in DBCS.
Format Decimal
Hex
ASCII
27 84
1B 54
ESC “T”
Select Underline Mode Enables the underlining of all subsequent characters (including spaces) until the cancel underline mode function is encountered. Format Decimal
Hex
ASCII
27 45 1*
1B 2D 01*
ESC “–” 1*
Cancel Underline Mode Cancels the effect of the select underline mode. Factory default also disables the underline mode. Format
56
Decimal
Hex
ASCII
27 45 0*
1B 2D 00*
ESC “–” 0*
6820 Series 80-Column Printer User’s Manual
Page 71
Chapter 4, Control Code Definitions
Tabs and Tab Setting Functions There are control codes for setting horizontal and vertical tabs. Horizontal tabs: •
Are not affected by subsequent changes in pitch.
•
May range up to maximum width for character and printer size.
•
All previous tab stops are cleared when new tab stops are set. If the left margin is changed after the horizontal tabs are set, tab stops are cleared.
•
Become absolute positions and are not affected by any subsequent change in character size.
•
Set outside of the printable area are ignored.
Vertical tabs: •
Tab positions are line numbers, counting from the Top of Form.
•
All tabs set beyond the page length are stored, but are not used.
•
Any tab set within the SOP range (Skip Over Perforation), during the time SOP is active, are stored but not used until SOP is canceled.
•
If a vertical tab, and the next tab stop is outside the printable page area, a form feed is executed placing the printhead at the next Top of Form.
•
Previous tab stops are cleared when new tab stops are set.
•
Are not affected by subsequent changes in line spacing.
Perform Horizontal Tab Moves the print position to the next horizontal tab stop. The tab positions, set by ESC “D”, the Set Horizontal Tabs function, are not affected by any changes in character pitch. The factory default tab settings are at intervals of eight characters, in the currently selected pitch. For the default tabs, the actual distance to each tab position is affected by changes in character pitch. Format Decimal
Hex
ASCII
9
09
HT
6820 Series 80-Column Printer User’s Manual
57
Page 72
Chapter 4, Control Code Definitions
Set Horizontal Tabs Resets the current horizontal tabs, and new horizontal tabs are set up, based on the current character width (pitch). Format Decimal
Hex
ASCII
27 68 n1 n2 ..nk 0
1B 44 n1 n2 .. nk 00
ESC “D” n1 n2 .. nk NUL n1 is the first tab (range for tab stops: 1-160), n2 is the second tab (all tabs in ascending order), ... are subsequent tabs (maximum tabs: 32), nk is the last tab to set (any value less than the previous tab value acts as a terminating character), NUL is the terminating character.
Clear Horizontal Tabs Clears all horizontal tab stops. It is merely a variant behavior of the Set Horizontal Tabs function, where the NUL acts as an early terminating character, as existing tabs normally clear before setting any new tabs. Format Decimal
Hex
ASCII
27 68 0
1B 44 00
ESC “D” NUL
Perform Vertical Tab Prints the contents of the current print buffer, and then moves the print position to the next vertical tab stop. If no channel is selected, then channel 0 is used. The carriage position is changed to the start of the next print line. If the vertical tab is performed beyond the last tab position set or beyond the last line of a form, then a form feed is performed. If no vertical tabs are defined, then the paper advances one line, using the currently selected line spacing, without changing the carriage position. Format
58
Decimal
Hex
ASCII
11
0B
VT
6820 Series 80-Column Printer User’s Manual
Page 73
Chapter 4, Control Code Definitions
Set Vertical Tabs Resets the current tabs, and vertical tabs are set up, based on the current line spacing. Tab settings are not affected by subsequent changes in line spacing. Format Decimal
Hex
ASCII
27 66 n1 n2 .. nk 0
1B 42 n1 n2 .. nk 00
ESC “B” n1 n2 .. nk NUL n1 is the first tab (range of values for tab stops: 1-255), n2 is the second tab (all tabs must be in ascending order), ... are subsequent tabs (maximum number of tabs: 16), nk is the last tab to set (any value less than the previous tab value acts as a terminating character), NUL is the terminating character. All tab settings with this function are stored in channel 0.
Clear Vertical Tabs Clears all vertical tab stops. This is a variant behavior of the Set Vertical Tabs function, where the NUL acts as an early terminating character. Format Decimal
Hex
ASCII
27 66 0
1B 42 00
ESC “B” NUL
Set Vertical Tabs in Channel This function works the same as the Set Vertical Tabs function, except that it stores the tabs into a specified channel, as specified by the variable c. This channel is selected for use by the Select Vertical Tab Channel function. Format Decimal
Hex
ASCII
27 98 c n1 n2 .. nk 0
1B 62 c n1 n2 .. nk 00
ESC “b” c n1 n2 .. nk NUL
6820 Series 80-Column Printer User’s Manual
59
Page 74
Chapter 4, Control Code Definitions c is the channel number (range: 0-7), n1 is the first tab (range of values for tab stops: 1-255), n2 is the second tab (all tabs must be in ascending order), ... are subsequent tabs (maximum number of tabs is 16), nk is the last tab to set (any value less than the previous tab value acts as a terminating character), and NUL is the terminating character.
Clear Vertical Tabs in Channel Clears all vertical tab stops in the specified channel. This is a variant behavior of the Set Vertical Tabs in Channel function, where the NUL acts as an early terminating character, since this function normally clears the existing tabs before setting any new tabs. Format Decimal
Hex
ASCII
27 98 c 0
1B 62 c 00
ESC “b” c NUL
Select Vertical Tab Channel Selects a specified vertical tab channel. It sets up the current tabs from that channel. Once this function is performed, all subsequent Perform Vertical Tab commands use the tab stops from the list retrieved from the specified channel. At power on, the printer uses the tabs stored in channel 0. Format Decimal
Hex
ASCII
27 47 c
1B 2F c
ESC “/” c c is the channel number (range: 0-7).
Using Character Sets and User-Defined Functions You can install different character sets on the printer. In some cases more than one character set may be present at one time, depending on the amount of available font memory. The 6820 reserves 438 K of memory for installing fonts in flash memory. You can install fonts using NPCP or the Printer Configuration Utility.
60
6820 Series 80-Column Printer User’s Manual
Page 75
Chapter 4, Control Code Definitions
Single-Byte Character Sets Single-byte character sets (SBCS) are supported for MS-DOS, PL/N, and Intermec application compatibility. Nft00000.mod is the default character set (font) for compatibility with the 6820 Nft00437.mod is the IBM/Microsoft compatible character set for Code Page 437.
Double-Byte Character Sets Double-byte character (DBCS) sets require two bytes to send to the printer to define the character to print. The first byte of the character code sent to the printer is known as a lead-in byte. The second byte of the character code is known as the trailing byte. Different character sets have different requirements for the values of both lead-in and trailing byte. When the lead-in byte does not fall in the range listed for the character set, a character from a SBCS may print. The following double-byte character sets are supported by the 6820. Double-Byte Character Sets Font Module
Code Page nft00936.mod
DBCS Languages
Lead-in Byte
Trailing Byte
936
GB 2312 Chinese (simplified)
A1h–ABh B0h–F7h
A1h–FEh nft00950.mod
950 big 5 Traditional Chinese
A1h–C6h C9h–F9h
40h–FEh (except 7Fh)
nft00932.mod
932
Shift JIS Japanese
81h–9Fh E0h–FCh
40h–FCh (except 7Fh)
nft00949.mod
949
KSC 5601 Korean
A1h–ACh B0h–C8h CAh–FDh
A1h–FEh
Multi-Byte Character Sets Double-byte character sets and single-byte character sets can mix when printing a report. This mixture is referred to as a Multi-Byte Character Set (MBCS). When a DBCS is selected, the characters from the SBCS code page currently selected are used for rendering character codes and control codes from 0 to 127. Codes above 127 (that fall within the range of lead-in bytes for the selected character set) treat the byte that follows as a trailing byte for that character set. Otherwise, for character codes
6820 Series 80-Column Printer User’s Manual
61