A control code is a character that initiates a printer function, for example
Carriage Return (CR), Line Feed (LF), Form Feed (FF), etc.
Carriage Return (CR)
A carriage return is a special code that moves the cursor (or print head) to the beginning of the current line. In the ASCII character set, a carriage return has a decimal value of 13 (0D Hex).
Line Feed (LF)
A line feed is a code that moves the cursor on a display screen down one line. In the ASCII character set, a line feed has a decimal value of 10 (0A Hex).
On printers, a line feed advances the paper one line.
Form Feed (FF)
Printers that use continuous paper normally have a form feed button or command that advances the paper to the beginning of the next page.
A special character that causes the printer to advance one page length or to the top of the next page. In systems that use the ASCII character set, a form feed has a decimal value of 12 (0C Hex).
No comments :
Post a Comment