User's Manual Part 2
Table Of Contents
- Connecting to the Printer
- Understanding the Font Modules
- Using the Windows 95 or Windows 98 Printer Configuration Utility
- Using the Windows 2000 or Windows XP Printer Configuration Utility
- Understanding Control Code Definitions
- Using Printer Control Codes
- Backspace
- Beeper
- Cancel Line
- Carriage Return
- Delete
- Form Feed
- Select Half-Speed Printing
- Cancel Half-Speed Printing
- Set Inactivity Time for Sleep Mode
- Line Feed
- Perform Master Reset
- Set Print Position (absolute)
- Set Print Position (relative)
- Page Formatting Functions
- Character Style and Text Mode Functions
- Defining Intercharacter Space
- Tabs and Tab Setting Functions
- Using Character Sets and User-Defined Functions
- Single-Byte Character Sets
- Double-Byte Character Sets
- Multi-Byte Character Sets
- Select National Character Set
- Hebrew Character Fonts
- User Defined Characters
- Copy ROM to RAM
- Define User-Defined Characters
- Select User-Defined Character Set
- Select Default Character Set
- Enable Printing of Codes 128-159
- Disable Printing of Codes 128-159
- Expand Printable Code Area
- Enable Printing of Character Graphics
- Disable Printing of Character Graphics
- Printing Character Graphics
- Graphics Functions
Chapter 5 — Control Code Definitions
86 6822 Series 80-Column Printer User’s Manual
Copy ROM to RAM
The characters in ROM are copied into RAM, so a complete
user-defined character set is created by editing selected characters. This
ensures that all characters are defined when a user-defined character set
is selected. This eliminates the need to cancel the selection when printing
defined characters.
Define User-Defined Characters
Characters are redefined by the user in the currently selected mode.
However, they can only be used in draft mode.
k1 is the character code of the first character to redefine, k2 is the
character code of the last character to redefine (any character between
0-255 can be redefined), and (k1 could equal k2, if only one character is
defined).
For each character defined, you must supply 12 bytes of data.
• s1 is the first byte that describes the character format
• Bits 0-3 represent the end position in the grid
• Bits 4-6 represent the start position in the grid
• Bit 7 determines whether the character uses the top eight pins or the
bottom eight pins of the printhead. If bit 7 = 0, the top eight pins are
Note: This function is only useful with the default SBCS.
Format
Decimal Hex ASCII
27 58 0 0 0 1B 3A 00 00 00 ESC “.” NUL NUL NUL
Note: This function is only useful with the default SBCS.
Format
Decimal Hex ASCII
27 38 0 k1 k2 s1
d1 ... d11
1B 26 00 k1 k2 s1
d1 ... d11
ESC “&” k1 k2 s1
d1.....d11