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

Going by the char code list to set the length of the page in inches, we should use

But it just doesn’t work!!!!! What happens is the printer thinks you want to set […]

Creating a simple babel plugin1 min read

What will it do? It will change this let content = include_str('path to text file'); to this let content = 'content of text file'; It works just like the rust-lang  include_str!() macro. Code While looping through the AST, our code checks for a function call ( CallExpression ) named include_str If one is found, we derive the required file path from the first argument to the call and the path […]