MESSAGE FORMATTING1996.3.1 Cursor ControlESC [ n A Up n rows, no scrollESC [ n B Down n rows, no scrollESC [ n C Right n columnsESC [ n D Left n columnsESC [ G CRESC [ r ; c H Move to row r, column c(ESC[1;1H is the upper left character position of the display)ESC D Down 1 row, with scrollESC E CR and cursor down 1 row with scrollESC M Up 1 row and scrollNOTES:• Since CR is used as the message terminator, you must use ESC [ G or ESC E toprint a CR.• The cursor row position is not affected by the currently selected font. Thedisplay always has 4 rows, so when writing with the large font, actually two rowsare written to: the current one and the one below it. You will need two ESC Ecommands to step from one row to the next when using the large font.• The cursor column position is affected by the currently selected font. Therefore,column 6 is 36 pixels from the left border only if you last selected the 6x8 font;otherwise it could be 48 or 72 pixels from the left border.6.3.2 Font SelectionESC [ 0 m Normal modeESC [ 7 m Reverse modeESC # 4 Large font: subsequent characters are written on the current row andthe row below it using the 12x16 font which allows for two rows ofeight characters on the display.ESC # 5 Normal font: subsequent characters are written using the 6x8 font,which allows for four rows of sixteen characters on the display.ESC # 7 Medium font: subsequent characters are written using the 8x8 font,which allows for four rows of twelve characters on the display.6.3.3 Clearing DisplayESC [ 0 K From cursor position to end of line inclusiveESC [ 1 K From beginning of line to cursor position (not inclusive)ESC [ 2 K Entire lineESC [ 0 J From cursor position to end of display inclusiveESC [ 1 J From beginning of display to cursor position (not inclusive)ESC [ 2 J Entire display; moves cursor to upper left corner on display