Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.
/ zj-58 Public archive
forked from klirichek/zj-58

CUPS filter for thermal printer Zjiang ZJ-58

License

Notifications You must be signed in to change notification settings

adafruit/zj-58

 
 

Repository files navigation

!!! NOTE !!!

THIS REPOSITORY IS ARCHIVED AND IS NO LONGER SUPPORTED OR MAINTAINED

zj-58

CUPS filter for thermal printer Zjiang ZJ-58

The linux driver provided on Zjiang site unfortunately doesn't work. First, it is 32-bit binary (and so, on x64 system need some x86 libs to be installed). Second, it's PPD is not correct - it just doesn't show any advanced settings because of it. Finally, raster filter just crashes on any try to run it! But even if you run it, you'll see that it's working with printer is not optimal: for example, if it sees a blank line, it will send the blank raster to print (instead of just use 'feeding' command, which is definitely faster!)

This is the solution: PPD is fixed and works. Filter is provided as src (you can found a list of packages need to be installed in order to build it in the header of source). Also, printing of blank lines is optimized.

In order to re-compile the binary (e.g. on a Raspberry Pi), the following libraries must be installed.

On Debian-based distros (e.g. Raspberry OS, Ubuntu, Mint...) run:

sudo apt-get install libcups2-dev libcupsimage2-dev g++ cups cups-client

On Arch-based distros (e.g. Arch, Manjaro...) run:

sudo pacman -S base-devel cups cups-filters cups-pdf libcups system-config-printer lib32-libcups cups-pk-helper

After that, make and sudo ./install do the right thing.

About

CUPS filter for thermal printer Zjiang ZJ-58

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 62.8%
  • Python 24.3%
  • Shell 10.1%
  • Makefile 2.8%