EPSON DOT matrix char code to set page length in inches (Javascript)51 sec read

Find the list of char codes at http://stanislavs.org/helppc/epson_printer_codes.html So to set the length of a page in number of lines, use var num_lines = 72; String.fromCharCode(27, 67) + String.fromCharCode(num_lines) Going by the char code list to set the length of the page in inches, we should use var page_inches = 12; String.fromCharCode(27, 67, 48) + String.fromCharCode(page_inches); […]