Most of the time you don’t give this code system a thought. If you press A on the keyboard, the computer sends the code to the printer and the letter A is printed. However, some printer codes, like the one for a line feed, do not have a key on the keyboard.
These are the ASCII codes with values of less than 33. These codes are called control codes because they control the operation of the printer. These characters are not displayed on your screen and aren’t printed as a character by your printer.
The ASCII codes 0 through 32 have commonly used abbreviations for their names, such as <LF> for a line feed. These controls are listed in Appendix A.
ESCape SequencesThere are not enough control codes for all of the advanced features of modem printers, so
The ESCape code changes the interpretation of the codes that follow it - they are interpreted as part of a printer command. For example, if the
This same command could also be written with “4” (including the quotation marks) in place of the 52. Many ESCape sequences are written with letters or numbers enclosed in quotation marks. These letters or numbers can be used in place of the decimal or hexadecimal values as long as they’re placed in quotes. There’s no functional difference between the two systems, but you might find the letters and numbers easier to remember.
32