meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:cups [2017/01/16 10:59] – [Network scanner] niziak | linux:cups [2024/11/22 13:17] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== CUPS ====== | ||
| + | |||
| + | ====== Cups webinterface ====== | ||
| + | [[http:// | ||
| + | |||
| + | By default it uses normal system users and their passwords (root for admin). | ||
| + | By default CUPS **@SYSTEM** group is mapped to system **lpadmin** group, so user should be added into **lpadmin** group. | ||
| + | |||
| + | To create internal CUPS users: | ||
| + | <code bash> | ||
| + | lppaswd -g lpadmin -a username | ||
| + | </ | ||
| + | and file **/ | ||
| + | |||
| + | For more permissions look into **/ | ||
| + | |||
| + | ====== cups-pdf ====== | ||
| + | |||
| + | <file | / | ||
| + | LogType 7 | ||
| + | </ | ||
| + | |||
| + | Error: " | ||
| + | Issue not related to apparmor (not enabled). | ||
| + | |||
| + | Solution: | ||
| + | Error is generated by cups-pdf but is relative to ghostscript rights. Ghostscript seems to need full rights in its temp work dir. | ||
| + | Setting "GSTmp /tmp" instead of "GSTmp / | ||
| + | |||
| + | |||
| + | ====== Brother DCP-7055W ====== | ||
| + | |||
| + | <code bash> | ||
| + | lpadmin -p DCP7055W -v lpd:// | ||
| + | </ | ||
| + | |||
| + | |||
| ====== Samsung ML-1640 ====== | ====== Samsung ML-1640 ====== | ||
| <code bash> | <code bash> | ||
| - | apt-get install splix | + | apt-get install |
| </ | </ | ||
| + | Connect USB printer, and XFCE Desktop will detect it and use driver automatically. | ||
| + | OR: | ||
| In printer settings, add new network printer. Choose Samsung and ML-1640 model. | In printer settings, add new network printer. Choose Samsung and ML-1640 model. | ||
| Device URI: | Device URI: | ||
| Line 16: | Line 55: | ||
| ===== Network scanner ===== | ===== Network scanner ===== | ||
| - | <code bash> | + | |
| + | <code bash> | ||
| + | sudo apt-get install sane-utils | ||
| + | sudo apt-get install snmp-mibs-downloader | ||
| + | </ | ||
| <file | / | <file | / | ||
| RUN=yes | RUN=yes | ||
| Line 72: | Line 116: | ||
| Height of scan-area. | Height of scan-area. | ||
| + | </ | ||
| + | |||
| + | ==== Issue: unable to load library libm.so | ||
| + | Not possible to scan. Every software which is using '' | ||
| + | < | ||
| + | /hp-scan: common/ | ||
| + | xsane: io/ | ||
| + | xsane: http.c 189: timeout reading data sec_timeout=45 | ||
| + | error: SANE: Error during device I/O (code=9) | ||
| </ | </ | ||
| Line 79: | Line 132: | ||
| * NodeJS based [[https:// | * NodeJS based [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * requires <code bash> | ||
| * [[https:// | * [[https:// | ||