C Language Development Kit/Character maps and key codes/Special characters

From OptiWiki

Jump to: navigation, search

All handheld terminals support a list of escape sequences that can be used in functions like printf() or putc() to denote special characters like a form feed, backspace and inverted text display. The complete set can be found below.

\a Alert (bell) character. Sounds the buzzer.
\b Backspace. Decrements the cursor position, and removes the character at the new position.
\f Form feed, clears the display.
\n New line, places the cursor at the beginning of the line below the current line. If the cursor is at the bottom line, the display contents are scrolled up by one line.
\r Carriage return, places the cursor at the start of the current line.
\\ The backslash sign.
\' The single quote sign.
\" The double quote sign.
 %% The percent sign.
\tr Toggles inverted text display on/off. By default inverted display is off. (Not supported by the DWT7133.)
\xFF Instruction to combine the next two bytes into an index in a font file or table. See the setfont() function and the paragraph Fonts on the H 13, OPH 100x, PHL xxxx, OPL 97xx and DCL 153x terminals for more information about font file and tables. (Not supported by the DWT 7133.)
Personal tools