I have a thermal printer, which looks exactly as Zjang ZJ-5890K and is probably same same inside. The line in source https://github.com/klirichek/zj-58/blob/master/rastertozj.c#L119 seems to assume that ESC J n skips 0.176*n mm, however, on my printer it skips 0.125*n mm, according to documentation and my own measurements. Also, 0.176 equals 1/144 inches, not 1/44 inches, so the line had a mistype too. However, for some reason, the printed files had too wide blank intervals, while they were supposed to be too narrow ...