Difference between revisions of "Linux printing/CUPS"

From Ever changing code
Jump to navigation Jump to search
(Created page with "useful commands <source lang=bash> lpinfo -v file cups-brf:/ network http network lpd network https direct hp network beh network ipp network socket network ipps direct hpfax network dnssd://RICOH%20Aficio%20SP%20C240DN%20(9784bf)._printer._tcp.local/ network socket://192.168.1.77 lpinfo piotr@e14:~ $ service cups status ● cups.service - CUPS Scheduler Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled) Active: active (running)...")
 
 
Line 34: Line 34:
Dec 29 09:03:10 e14 systemd[1]: Started CUPS Scheduler.
Dec 29 09:03:10 e14 systemd[1]: Started CUPS Scheduler.
Dec 29 12:49:11 e14 hpfax[14861]: [14861]: error: Failed to create /var/spool/cups/tmp/.hplip
Dec 29 12:49:11 e14 hpfax[14861]: [14861]: error: Failed to create /var/spool/cups/tmp/.hplip
sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf
sudo service cups restart
sudo service cups status
</source>
</source>

Latest revision as of 14:28, 29 December 2022

useful commands

lpinfo -v
file cups-brf:/
network http
network lpd
network https
direct hp
network beh
network ipp
network socket
network ipps
direct hpfax
network dnssd://RICOH%20Aficio%20SP%20C240DN%20(9784bf)._printer._tcp.local/
network socket://192.168.1.77

lpinfo
piotr@e14:~ $ service cups status
● cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2022-12-29 09:03:10 GMT; 3h 49min ago
TriggeredBy: ● cups.socket
             ● cups.path
       Docs: man:cupsd(8)
   Main PID: 2037 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 1 (limit: 18729)
     Memory: 5.9M
        CPU: 285ms
     CGroup: /system.slice/cups.service
             └─2037 /usr/sbin/cupsd -l

Dec 29 09:03:10 e14 systemd[1]: Starting CUPS Scheduler...
Dec 29 09:03:10 e14 systemd[1]: Started CUPS Scheduler.
Dec 29 12:49:11 e14 hpfax[14861]: [14861]: error: Failed to create /var/spool/cups/tmp/.hplip

sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf
sudo service cups restart
sudo service cups status