* with imported from mosquito (adaption of the code in 86a3e8dfb257e3af0ec141ee5d97717501d6e945 by @mosquito) * encoding of file to utf-8 * added rudimentary test for with * implement close function for all printers