Skip to content

unixz/openwrt-printing-packages

Repository files navigation

Printing packages for OpenWrt/LEDE

This is a package feed aiming at providing a complete printing stack for OpenWrt or LEDE.

Notably it has:

  • Ghostscript 9.20
  • Gutenprint 5.2.11
  • Cups 2.2.1
  • OpenPrinting's cups-filters 1.11.4
  • poppler 0.47.0
  • many other packages to make sure the ones above work...

To use this feed,

  • set up your router to use external storage for its root file system, as these packages require more than a 100 MB of space.
  • add this line to your feeds.conf or feeds.conf.default
src-git printing git://github.com/FranciscoBorges/openwrt-printing-packages.git
  • to compile everything in this feed you should use the script setup-buildsystem.sh or some variation of those commands.

  • copy compiled packages to your router (copy the whole directory as you need the files used to index the packages)

scp -r ./bin/$ARCH/packages root@openwrt.lan:/storage/printer/packages/
  • add local package source to the opkg configuration /etc/opkg.conf with
src/gz printing file:/storage/printer/packages
  • see opkg-install-printing-packages.sh to see a suggestion of what to install.

  • tested against Attitude Adjustment (because that is what I have installed...).

  • Avahi is notified of printers added to Cups, and these will appear as Air Printer's in iOS devices.

Issues / Missing / TODO

Caveat: Ghostscript lacks proper cross-compilation support. I used a patch taken from timesys.com. If your architecture is not there, compiling it just won't work for you.

The alternative for those who can't compile Ghostscript is to use a different PDF backend, in this case Poppler. For instructions of how to do this open the tar-ball of the cups-filters-*.tar.bz2 and check the section 1. Selection of the renderer: Ghostscript, Poppler, or Adobe Reader of the README.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published