CUPS Handling

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Verfügbare Drucker anzeigen

  • lpstat -p -d
Drucker Brother_MFC-9142CDN ist im Leerlauf.  Aktiviert seit Mo 30 Jan 2023 16:48:50 CET
Drucker CUPS-PDF ist im Leerlauf.  Aktiviert seit Mi 22 Feb 2023 10:38:01 CET
systemvoreingestelltes Ziel: Brother_MFC-9142CDN
  • -p: Zeige nur Drucker an
  • -d: Zeige die Systemvorgabe an

Standarddrucker festlegen

  • lpoptions -d CUPS-PDF
copies=1 device-uri=lpd://BRN30055C84EAFE/BINARY_P1 finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=1675093730 marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00,none,none,none,none,none,none marker-levels=-1,-1,-1,-1,-1,56,94,94,94,94 marker-names='Black\ Toner\ Cartridge,Cyan\ Toner\ Cartridge,Magenta\ Toner\ Cartridge,Yellow\ Toner\ Cartridge,Waste\ Toner\ Box,Belt\ Unit,Black\ Drum\ Unit,Cyan\ Drum\ Unit,Magenta\ Drum\ Unit,Yellow\ Drum\ Unit' marker-types=toner,toner,toner,toner,waste-toner,other,opc,opc,opc,opc number-up=1 print-color-mode=monochrome printer-commands=none printer-info='Brother MFC-9142CDN' printer-is-accepting-jobs=true printer-is-shared=false printer-is-temporary=false printer-location='Local Printer' printer-make-and-model='Generic PDF Printer' printer-state=3 printer-state-change-time=1675093730 printer-state-reasons=none printer-type=2101276 printer-uri-supported=ipp://localhost/printers/Brother_MFC-9142CDN
  • lpstat -d
systemvoreingestelltes Ziel: CUPS-PDF

Druckermanagement

  • Kommandozeilenbefehle für die Verwaltung der Drucker
  • Es gibt aber auch ein Webinterface: http://localhost:631

Drucker löschen

  • lpadmin -x CUPS-PDF

Drucker finden

  • lpinfo -v
network beh
network lpd
network http
file cups-pdf:/
file cups-brf:/
network ipp
network https
network ipps
network socket
network smb
network dnssd://Brother%20MFC-9142CDN._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-30055c84eafe
network dnssd://Virtueller%20Drucker%20%40%20debian._ipp._tcp.local/cups?uuid=350ab29a-1040-39d6-41ab-494d915e42a4
network ipp://Brother%20MFC-9142CDN._ipp._tcp.local/
network lpd://BRN30055C84EAFE/BINARY_P1
network dnssd://Brother%20MFC-9142CDN._printer._tcp.local/?uuid=e3248000-80ce-11db-8000-30055c84eafe
  • mehr Infos
  • lpinfo -l -v
Gerät: URI = cups-brf:/
       Klasse = file
       Info = CUPS-BRF
       Hersteller-und-Modell = Virtual Braille BRF Printer
       Geräte-ID = MFG:Generic;MDL:CUPS-BRF Printer;DES:Generic CUPS-BRF Printer;CLS:PRINTER;CMD:BRF;
       Standort = 
Gerät: URI = beh
       Klasse = network
       Info = Backend Error Handler
       Hersteller-und-Modell = Unknown
       Geräte-ID = 
       Standort = 
   ...

verfügbare Treiber anzeigen

Drucker hinzufügen

  • lpadmin -p virtual -D "Virtueller Drucker" -E -L "Dieser Rechner" -m lsb/usr/cups-pdf/CUPS-PDF_opt.ppd -v cups-pdf:/

Testseite drucken

Bild drucken