Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:user-guide:services:cups.server [2018/03/03 18:52] – bobafetthotmail | docs:guide-user:services:print_server:cups.server [2021/10/15 08:35] (current) – ↷ Links adapted because of a move operation bobafetthotmail | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== CUPS Print Server ====== | ====== CUPS Print Server ====== | ||
| + | <WRAP center round info 60%> | ||
| + | It is recommended to use [[docs: | ||
| + | </ | ||
| + | |||
| This HowTo provides information on installing and configuring a [[wp> | This HowTo provides information on installing and configuring a [[wp> | ||
| + | |||
| + | ===== 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 25: | Line 48: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | [[docs:user-guide: | + | [[docs: |
| <code bash> | <code bash> | ||
| opkg install cups | opkg install cups | ||
| Line 38: | Line 61: | ||
| </ | </ | ||
| - | ====Installation on LEDE firmware==== | + | |
| - | https:// | + | |
| ===== Configuration ===== | ===== Configuration ===== | ||
| ==== CUPSD configuration ==== | ==== CUPSD configuration ==== | ||
| Line 89: | Line 111: | ||
| - use the printer with a raw queue, and set drivers (i.e. PPD) in your computer/ | - use the printer with a raw queue, and set drivers (i.e. PPD) in your computer/ | ||
| - | - add printing drivers to your router. Notice that the usual "Linux printing drivers/ | + | - add printing drivers to your router. Notice that the usual "Linux printing drivers/ |
| === MacOS X tip === | === MacOS X tip === | ||
| Line 99: | Line 121: | ||
| This page has good notes about configuring clients for Linux, Windows and Mac OSX: | This page has good notes about configuring clients for Linux, Windows and Mac OSX: | ||
| - | [[docs:user-guide: | + | [[docs: |
| The main point is that if you added printers and marked them as shared, all these operating system should be able to find it as a network printer. | The main point is that if you added printers and marked them as shared, all these operating system should be able to find it as a network printer. | ||
| Line 117: | Line 139: | ||
| ==== Log Messages ==== | ==== Log Messages ==== | ||
| - | Check [[docs:user-guide:troubleshooting: | + | Check [[docs: |
| ===== Notes ===== | ===== Notes ===== | ||
| * Project Homepage [[http:// | * Project Homepage [[http:// | ||
| - | * [[https:// | + | |
| + | * hplip-common, | ||
| + | | ||
| * 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:// | ||
| === OpenWrt User posts about installing CUPS === | === OpenWrt User posts about installing CUPS === | ||
| * [[http:// | * [[http:// | ||
| - | * [[http:// | + | * [[http:// |
| * [[http:// | * [[http:// | ||