meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:cups [2017/02/21 09:39] niziaklinux:cups [2019/04/13 00:08] niziak
Line 1: Line 1:
 +====== Cups webinterface ======
 +[[http://localhost:631/]]
 +
 +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
 +</code>
 +and file **/etc/cups/passwd.md5** will be created/updated
 +
 +For more permissions look into **/etc/cups/cupsd.conf**
 +
 +====== cups-pdf ======
 +
 +<file | /etc/cups/cups-pdf.conf>
 +LogType 7
 +</file>
 +
 +Error: "failed to set file mode"
 +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 /var/tmp" in /etc/cups/cups-pdf.conf solves the problem for me.
 +
 +
 +====== Brother DCP-7055W ======
 +
 +<code bash>
 +lpadmin -p DCP7055W -v lpd://192.168.179.1/binary_p1 -E -P /usr/share/cups/model/brother-DCP-7055W-cups-en.ppd
 +</code>
 +
 +
 ====== Samsung ML-1640 ====== ====== Samsung ML-1640 ======
 <code bash> <code bash>
Line 77: Line 112:
         Height of scan-area.         Height of scan-area.
  
 +</code>
 +
 +==== Issue: unable to load library libm.so  ====
 +Not possible to scan. Every software which is using ''sane'' timeouts with:
 +<code>
 +/hp-scan: common/utils.c 188: unable to load library libm.so: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
 +xsane: io/hpmud/jd.c 678: timeout read_channel sec=45 hp:/net/HP_LaserJet_Pro_MFP_M127fw?ip=192.168.1.107
 +xsane: http.c 189: timeout reading data sec_timeout=45
 +error: SANE: Error during device I/O (code=9)
 </code> </code>
  
Line 84: Line 128:
     * NodeJS based [[https://github.com/sbs20/scanservjs]]     * NodeJS based [[https://github.com/sbs20/scanservjs]]
   * [[https://sourceforge.net/projects/phpsane/]]   * [[https://sourceforge.net/projects/phpsane/]]
 +    * requires <code bash>apt-get install php-zip</code>
   * [[https://sourceforge.net/projects/sanewi/]]   * [[https://sourceforge.net/projects/sanewi/]]