Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:services:print_server:cups.server [2018/03/03 20:35] – ↷ Links adapted because of a move operation docs:guide-user:services:print_server:cups.server [2019/08/10 16:14] someothertime
Line 1: Line 1:
 ====== CUPS Print Server ====== ====== CUPS Print Server ======
 This HowTo provides information on installing and configuring a [[wp>Common Unix Printing System]] on OpenWrt. This HowTo provides information on installing and configuring a [[wp>Common Unix Printing System]] on OpenWrt.
 +
 +NOTE: It is recommended to use p910nd non-spooling print server instead of CUPS on a router
 +
 +
 +====Installation on LEDE/OpenWrt 17+ firmware====
 +
 +**There is no pre-built CUPS package for LEDE/OpenWrt 17+**
 +
 +==== Basic instructions to compile CUPS ====
 +
 +Obtain and configure a working currently supported buildroot
 +
 +   make menuconfig
 +   Libraries > [*] libcups
 +   make V=s
 +
 +Optionally copy ipk's to router and install with opkg.
 +
 +( see the bottom for further resources )
 +
 +Opkg methods below are for pre-17 builds and/or after compiling your own packages.
 +
  
 ===== Preparation ===== ===== Preparation =====
 ==== Prerequisites ==== ==== Prerequisites ====
-  - obtain [[doc:howto:usb.essentials]] basic USB support or ([[doc:howto:parport]] Parallel Port support)+  - obtain [[docs:guide-user:storage:usb-installing]] basic USB support or ([[doc:howto:parport]] Parallel Port support)
   - drivers   - drivers
   - kernel module for USB printers: opkg install kmod-usb-printer   - kernel module for USB printers: opkg install kmod-usb-printer
   - Firewall: open ports    tcp and   udp.   - Firewall: open ports    tcp and   udp.
 CUPS mandatory uses spooling, which means that the entire print job data gets stored in a buffer (on harddisc or in RAM) before the printing is even started. Dependent of what you want to print, your resources are probably that limited that you should not use CUPS. But of course you can add resources to your hardware, like say connect a harddisc per USB. CUPS mandatory uses spooling, which means that the entire print job data gets stored in a buffer (on harddisc or in RAM) before the printing is even started. Dependent of what you want to print, your resources are probably that limited that you should not use CUPS. But of course you can add resources to your hardware, like say connect a harddisc per USB.
-  - [[docs:user-guide:storage:usb-drives]] to mount a filesystem or a SWAP partition. This should massively upgrade your endowment.+  - [[docs:guide-user:storage:usb-drives]] to mount a filesystem or a SWAP partition. This should massively upgrade your endowment.
   - you cannot mount SWAP over network but you could mount any other filesystem over the network and park the data there, see [[doc:howto:server.overview#filesystem]]   - you cannot mount SWAP over network but you could mount any other filesystem over the network and park the data there, see [[doc:howto:server.overview#filesystem]]
  
Line 38: Line 60:
 </code> </code>
  
-====Installation on LEDE firmware==== +
-https://github.com/Gr4ffy/lede-cups+
 ===== Configuration ===== ===== Configuration =====
 ==== CUPSD configuration ==== ==== CUPSD configuration ====
Line 117: Line 138:
  
 ==== Log Messages ==== ==== Log Messages ====
-Check [[docs:user-guide:troubleshooting:log.messages#cupsd]] to learn what they mean.+Check [[docs:guide-user:perf_and_log:log.messages#cupsd]] to learn what they mean.
  
  
 ===== Notes ===== ===== Notes =====
   * Project Homepage [[http://www.cups.org/]]   * Project Homepage [[http://www.cups.org/]]
 +  * Legacy Official Repo [[https://github.com/Gr4ffy/lede-cups]]
 +  * hplip-common, plip-sane 
   * [[https://forum.openwrt.org/viewtopic.php?pid=135838#p135838|Notes on possibilities of using drivers]]   * [[https://forum.openwrt.org/viewtopic.php?pid=135838#p135838|Notes on possibilities of using drivers]]
   * Package feed for cross-compiling the whole Linux printing stack for your router [[https://github.com/FranciscoBorges/openwrt-printing-packages]]   * Package feed for cross-compiling the whole Linux printing stack for your router [[https://github.com/FranciscoBorges/openwrt-printing-packages]]
Line 127: Line 150:
 === OpenWrt User posts about installing CUPS === === OpenWrt User posts about installing CUPS ===
   * [[http://mattie47.com/getting-cups-working-on-openwrt/]]   * [[http://mattie47.com/getting-cups-working-on-openwrt/]]
-  * [[http://www.newren.com.au/ibbs/forum.php?mod=viewthread&tid=392]]+  * [[http://www.newren.com.au/ibbs/forum.php?mod=viewthread&tid=392]] broken-wulfy23-040519
   * [[http://9m2tpt.blogspot.co.nz/2012/01/cups-hl-2140-usb-printer-wzr-hp-g300nh.html]]   * [[http://9m2tpt.blogspot.co.nz/2012/01/cups-hl-2140-usb-printer-wzr-hp-g300nh.html]]
  
  • Last modified: 2021/10/15 08:35
  • by bobafetthotmail