Differences
This shows you the differences between two versions of the page.
| 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> | This HowTo provides information on installing and configuring a [[wp> | ||
| + | |||
| + | NOTE: It is recommended to use p910nd non-spooling print server instead of CUPS on a router | ||
| + | |||
| + | |||
| + | ====Installation on LEDE/ | ||
| + | |||
| + | **There is no pre-built CUPS package for LEDE/ | ||
| + | |||
| + | ==== Basic instructions to compile CUPS ==== | ||
| + | |||
| + | Obtain and configure a working currently supported buildroot | ||
| + | |||
| + | make menuconfig | ||
| + | | ||
| + | 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: | + | - obtain [[docs:guide-user: |
| - 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: | + | - [[docs: |
| - you cannot mount SWAP over network but you could mount any other filesystem over the network and park the data there, see [[doc: | - you cannot mount SWAP over network but you could mount any other filesystem over the network and park the data there, see [[doc: | ||
| Line 38: | Line 60: | ||
| </ | </ | ||
| - | ====Installation on LEDE firmware==== | + | |
| - | https:// | + | |
| ===== Configuration ===== | ===== Configuration ===== | ||
| ==== CUPSD configuration ==== | ==== CUPSD configuration ==== | ||
| Line 117: | Line 138: | ||
| ==== Log Messages ==== | ==== Log Messages ==== | ||
| - | Check [[docs:user-guide:troubleshooting: | + | Check [[docs: |
| ===== Notes ===== | ===== Notes ===== | ||
| * Project Homepage [[http:// | * Project Homepage [[http:// | ||
| + | * Legacy Official Repo [[https:// | ||
| + | * hplip-common, | ||
| * [[https:// | * [[https:// | ||
| * Package feed for cross-compiling the whole Linux printing stack for your router [[https:// | * Package feed for cross-compiling the whole Linux printing stack for your router [[https:// | ||
| Line 127: | Line 150: | ||
| === OpenWrt User posts about installing CUPS === | === OpenWrt User posts about installing CUPS === | ||
| * [[http:// | * [[http:// | ||
| - | * [[http:// | + | * [[http:// |
| * [[http:// | * [[http:// | ||