Changed for rasterapp to work with Tempo-printers (probably breaks the rest)