CUPS Handling

Aus xinux.net
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

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

  • Erste Spalte ist die Datei
  • Danach kommt die Beschreibung
  • lpinfo -m
driverless:ipp://Brother%20MFC-9142CDN._ipp._tcp.local/ Brother MFC-9142CDN, driverless, cups-filters 1.28.17
drv:///sample.drv/dymo.ppd DYMO Label Printer
drv:///sample.drv/epson9.ppd Epson 9-Pin Series
drv:///sample.drv/epson24.ppd Epson 24-Pin Series
lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd Fuji Xerox DocuPrint CM305 df PDF
drv:///generic-brf.drv/gen-brf.ppd Generic Braille embosser, 1.0
CUPS-PDF_noopt.ppd Generic CUPS-PDF Printer (no options)
CUPS-PDF_opt.ppd Generic CUPS-PDF Printer (w/ options)
drv:///cupsfilters.drv/pwgrast.ppd Generic IPP Everywhere Printer
drv:///sample.drv/generpcl.ppd Generic PCL Laser Printer
lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd Generic PDF Printer
drv:///sample.drv/generic.ppd Generic PostScript Printer
drv:///cupsfilters.drv/textonly.ppd Generic Text-Only Printer
drv:///generic-ubrl.drv/gen-ubrl.ppd Generic UBRL generator, 1.0
lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd HP Color LaserJet CM3530 MFP PDF
lsb/usr/cupsfilters/pxlcolor.ppd HP Color LaserJet Series PCL 6 CUPS
drv:///cupsfilters.drv/dsgnjt600pcl.ppd HP DesignJet 600 pcl, 1.0
drv:///cupsfilters.drv/dsgnjt750cpcl.ppd HP DesignJet 750c pcl, 1.0
drv:///cupsfilters.drv/dsgnjt1050cpcl.ppd HP DesignJet 1050c pcl, 1.0
drv:///cupsfilters.drv/dsgnjt4000pcl.ppd HP DesignJet 4000 pcl, 1.0
drv:///cupsfilters.drv/dsgnjtt790pcl.ppd HP DesignJet T790 pcl, 1.0
drv:///cupsfilters.drv/dsgnjtt1100pcl.ppd HP DesignJet T1100 pcl, 1.0
drv:///sample.drv/deskjet.ppd HP DeskJet Series
drv:///sample.drv/laserjet.ppd HP LaserJet Series PCL 4/5
lsb/usr/cupsfilters/pxlmono.ppd HP LaserJet Series PCL 6 CUPS
drv:///indexv3.drv/i4waves3.ppd Index 4-Waves PRO, 1.0
drv:///indexv3.drv/i4x4pro3.ppd Index 4x4 PRO V3, 1.0
drv:///indexv3.drv/ibasicd3.ppd Index Basic-D V3, 1.0
drv:///indexv4.drv/ibasicd4.ppd Index Basic-D V4/V5, 1.0
drv:///indexv3.drv/ibasics3.ppd Index Basic-S V3, 1.0
drv:///indexv4.drv/ibasics4.ppd Index Basic-S V4/V5, 1.0
drv:///indexv4.drv/ibrlbox4.ppd Index Braille Box V4/V5, 1.0
drv:///indexv3.drv/ieveres3.ppd Index Everest-D V3, 1.0
drv:///indexv4.drv/ieveres4.ppd Index Everest-D V4/V5, 1.0
drv:///sample.drv/intelbar.ppd Intellitech IntelliBar Label Printer, 2.4
drv:///sample.drv/okidata9.ppd Oki 9-Pin Series
drv:///sample.drv/okidat24.ppd Oki 24-Pin Series
raw Raw Queue
lsb/usr/cupsfilters/Ricoh-PDF_Printer-PDF.ppd Ricoh PDF Printer
drv:///sample.drv/zebracpl.ppd Zebra CPCL Label Printer
drv:///sample.drv/zebraep1.ppd Zebra EPL1 Label Printer
drv:///sample.drv/zebraep2.ppd Zebra EPL2 Label Printer
drv:///sample.drv/zebra.ppd Zebra ZPL Label Printer
everywhere IPP Everywhere

Druckermanagement

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

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

Drucker löschen

  • lpadmin -x CUPS-PDF

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