zj-58 icon indicating copy to clipboard operation
zj-58 copied to clipboard

Incorrect handling of blank lines with NT-5890K

Open Selorax opened this issue 2 years ago • 1 comments

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.176n mm, however, on my printer it skips 0.125n 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 ...

Selorax avatar Dec 08 '22 16:12 Selorax