Skip to content

Incorrect handling of blank lines with NT-5890K #44

@Selorax

Description

@Selorax

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions