Specifications
NCR 5021 Printer Emulation Commands 
8–12 3255 4073–002 
The calculated offset does not have to fall on a character boundary and the 
number of codes does not have to be a whole multiple of seven (7). For 
example, the following command would alter the lower portion of the character 
assigned the value 41H and the top portion of the character assigned the value 
42H: 
1BH,5BH,7EH,12H,00H,EAH,0FH,7FH,0EH,BFH,0DH,DFH,0BH,EFH,05H,57H,0
7H,F7H,07H, F7H,07H,F7H,OFH,FFH 
Hexadecimal Decimal  ASCII 
1B 5B 7F vv, yy, yy, xx, xx, xx, xx  27 91 127 vv, yy, yy, xx, xx, xx, xx  ESC [ ~ vv, yy, yy, xx, xx, xx, xx 
Value of vv Value of yy 
0-80H 0000-061FH 
The value of vv is the VLI(in binary). 
The value of yy is a binary address of the location within the character set to 
write the first twelve-bit dot pattern. 
The value of xx is a word. Each word contains a twelve-bit dot pattern 
representing one row of dots of a 12 x 7 character matrix (in binary). Maximum 
number of words is 63. The twelve least significant bits of each word make up 
the dot pattern. 
Print Characteristics Commands 
These commands affect the appearance of printed information. They control the 
following: 
•  Character formatting 
•  Line spacing 
The commands are listed in numerical order of their hexadecimal codes. 










