You are not logged in.
I get the following message after navigating to localhost:361/admin and adding my printer (Brother MFC-L2750DW):
Unable to get list of printer drivers:
Success
I installed cups, cups-filters as well as the corresponding driver package from the aur: https://aur.archlinux.org/packages/brother-mfc-l2750dw. I saw many of the posts related to this error on the forums suggested uninstalling foomatic but I never installed it myself, so I am not quite sure what is causing this.
Last edited by umi (2023-09-21 15:37:55)
Offline
cups is on port 631, not 361
nb. that you'll most likely need ghostscript for that driver, did you restart cups after installing it?
Offline
Yes, sorry for the late reply. I enabled cups and I rebooted my laptop.
Offline
https://wiki.archlinux.org/title/CUPS/Troubleshooting
Raise the debug level, restart cups and try to add the printer.
Do you use it via USB or WLAN?
In case of the latter, do you get that message when searching for printers (before actually adding one)?
=> nmap its IP and you'll likely requre a working https://wiki.archlinux.org/title/Avahi setup (or configure the IP manually)
And in that case, see whether it shows up: https://wiki.archlinux.org/title/Avahi#Tools
Offline
I'm using WLAN and I am able to find the printer fine when searching for it. I installed avahi and nss-mdns packages and enabled avahi-daemon as well. I'm not quite sure raising the debug level helped but either way here it is:
$ tail -n 100 -f /var/log/cups/error_log
E [12/Sep/2023:21:05:16 -0400] [Client 2] pam_authenticate() returned 7 (Authentication failure)
I'm pretty sure that was just me mistyping my log in info 2 days ago. I added the line
LogLevel debug
in
/etc/cups/cupsd.conf
before running the command. Here is my entire cupsd.conf in case there is something else I am messing up:
https://pastebin.com/GFL7jPYM
Last edited by umi (2023-09-14 15:17:31)
Offline
Did you restart cups afterwards?
You'd expect a shit-ton of messages w/ debug enabled.
Also check /var/log/cups/access_log
Offline
Yes I restarted cups as well. Here is the access_log:
https://pastebin.com/1c138DzC
Offline
Huh, weird, maybe I didn't restart it. I retried again and I got new stuff for error_log:
https://pastebin.com/yg34CwmZ
Offline
I [14/Sep/2023:11:22:53 -0400] [Client 11] Started "/usr/lib/cups/daemon/cups-driverd" (pid=110165, file=13)
D [14/Sep/2023:11:22:53 -0400] [Client 11] Waiting for CGI data.
…
D [14/Sep/2023:11:23:53 -0400] [Client 11] Closing on unexpected HTTP read state HTTP_STATE_POST_SEND.
D [14/Sep/2023:11:23:53 -0400] [Client 11] Closing connection.
Have you tried to open "localhost:631" in your browser por… "private" mode?
Offline
Just tried, I get the same results.
Offline
pacman -Qikk cups
curl 'localhost:631/admin' > /tmp/cups.html
Offline
$ sudo pacman -Qikk cups
Name : cups
Version : 1:2.4.6-1
Description : OpenPrinting CUPS - daemon package
Architecture : x86_64
URL : https://openprinting.github.io/cups/
Licenses : Apache custom
Groups : None
Provides : None
Depends On : acl pam libcups>=2.4.6 cups-filters dbus systemd systemd-libs libpaper hicolor-icon-theme glibc gcc-libs avahi gnutls
Optional Deps : libusb: for usb printer backend [installed]
ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections
xdg-utils: xdg .desktop file support [installed]
colord: for ICC color profile support
logrotate: for logfile rotation support
Required By : brother-mfc-l2750dw cups-pdf
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 12.74 MiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Build Date : Thu 22 Jun 2023 12:11:37 PM EDT
Install Date : Tue 12 Sep 2023 08:30:58 PM EDT
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
warning: cups: /etc/cups/classes.conf (Permissions mismatch)
backup file: cups: /etc/cups/cupsd.conf (Modification time mismatch)
backup file: cups: /etc/cups/cupsd.conf (Size mismatch)
backup file: cups: /etc/cups/cupsd.conf (MD5 checksum mismatch)
backup file: cups: /etc/cups/cupsd.conf (SHA256 checksum mismatch)
warning: cups: /etc/cups/printers.conf (Permissions mismatch)
cups: 942 total files, 2 altered files
$ cat cups.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>Unauthorized - CUPS v2.4.6</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css">
</HEAD>
<BODY>
<H1>Unauthorized</H1>
<P>Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket.</P>
</BODY>
</HTML>
I tried running curl as super user as well, it looks like I need to log actually need to log in though.
Last edited by umi (2023-09-15 14:43:10)
Offline
Nvm, I didn't know I could pass login information to cups:
$ cat cups.html
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="/cups.css" type="text/css">
<link rel="shortcut icon" href="/apple-touch-icon.png" type="image/png">
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<meta name="viewport" content="width=device-width">
<title>Home - CUPS 2.4.6</title>
</head>
<body>
<div class="cups-header">
<ul>
<li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
<li><a class="active" href="/">Home</a></li>
<li><a href="/admin">Administration</a></li>
<li><a href="/classes/">Classes</a></li>
<li><a href="/help/">Help</a></li>
<li><a href="/jobs/">Jobs</a></li>
<li><a href="/printers/">Printers</a></li>
</ul>
</div>
<div class="cups-body">
<div class="row">
<h1>OpenPrinting CUPS 2.4.6</h1>
<p>The standards-based, open source printing system developed by <a class="jumbolink" href="https://openprinting.github.io/" target="_blank">OpenPrinting</a> for Linux® and other Unix®-like operating systems. CUPS uses <a href="https://www.pwg.org/ipp/everywhere.html" target="_blank">IPP Everywhere™</a> to support printing to local and network printers.</p>
</div>
<div class="row">
<div class="thirds">
<h2>CUPS for Users</h2>
<p><a href="help/overview.html">Overview of CUPS</a></p>
<p><a href="help/options.html">Command-Line Printing and Options</a></p>
</div>
<div class="thirds">
<h2>CUPS for Administrators</h2>
<p><a href="help/admin.html">Adding Printers and Classes</a></p>
<p><a href="help/policies.html">Managing Operation Policies</a></p>
<p><a href="help/network.html">Using Network Printers</a></p>
<p><a href="help/firewalls.html">Firewalls</a></p>
<p><a href="help/man-cupsd.conf.html">cupsd.conf Reference</a></p>
</div>
<div class="thirds">
<h2>CUPS for Developers</h2>
<p><a href="help/cupspm.html">CUPS Programming Manual</a></p>
<p><a href="help/api-filter.html">Filter and Backend Programming</a></p>
</div>
</div>
</div>
<div class="cups-footer">Copyright © 2021-2023 OpenPrinting. All rights reserved.</div>
</body>
</html>
Offline
'key - I guess I misunderstood the problem a bit.
The cups web interface still works fine in general, you just get an "error" when attempting to add your specific printer, but can eg. add the cups-pdf printer w/o problems?
1. what printer URI do you try to add
2.
pacman -Qs foomatic # just to be sure you didn't install that after all
Offline
Well, it looks like I get the same error when trying to add cups-pdf printer, but yes the interface works fine meaning I can navigate to:
localhost:631/admin > Add Printer > Select a printer from a list > Enter a name, description and location.
1. The URI: lpd://BRW1CBFC0F3583D/BINARY_P1
2. Confirmed that I don't have foomatic again.
Offline
I'm pretty much getting the same error as in this post:
https://bbs.archlinux.org/viewtopic.php?id=193591
Offline
Sanity check, uninstall the AUR brother driver (and cups driver you got from the AUR) and try to add the PDF printer.
Offline
Doesn't work either.
$ pacman -Qs cups
local/cups 1:2.4.6-1
OpenPrinting CUPS - daemon package
local/cups-filters 1.28.17-4
OpenPrinting CUPS Filters
local/cups-pdf 3.0.1-7
PDF printer for cups
local/libcups 1:2.4.6-1
OpenPrinting CUPS - client libraries and headers
These are all from the official repository. Just to be sure, you are referring to the Virtual PDF Printer?
Last edited by umi (2023-09-16 17:18:14)
Offline
Just to be sure, you are referring to the Virtual PDF Printer?
Yes.
When cups asks you to authorize, try your root users credentials to see whether this is some permission issue.
https://wiki.archlinux.org/title/CUPS#Permissions
Offline
I have tried both before posting. Tried again once more just in case and it still doesn't work for both the PDF printer and my brother printer.
Offline
I [14/Sep/2023:11:22:53 -0400] [cups-driverd] Read \"/var/cache/cups/ppds.dat\", 47 PPDs...
47 is suspiciously few, maybe the cache got corrupted
/usr/lib/cups/daemon/cups-driverd list 1 0 "requested-attributes=all" > /tmp/cups.stuff 2>/tmp/cups.drivers
wc -l /tmp/cups.drivers
sudo stat /var/cache/cups/ppds.dat
Offline
$ cat cups.drivers
DEBUG2: [cups-driverd] list_ppds(request_id=1, limit=0, opt="requested-attributes=all"
DEBUG2: Directory "/usr/share/cups/model" permissions OK (040755/uid=0/gid=0).
DEBUG: [cups-driverd] Loading "/usr/share/cups/model"...
DEBUG2: File "/usr/share/cups/model/CUPS-PDF_opt.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "CUPS-PDF_opt.ppd"...
DEBUG2: File "/usr/share/cups/model/CUPS-PDF_noopt.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "CUPS-PDF_noopt.ppd"...
DEBUG2: Directory "/usr/share/cups/drv" permissions OK (040755/uid=0/gid=0).
DEBUG: [cups-driverd] Loading "/usr/share/cups/drv"...
DEBUG2: File "/usr/share/cups/drv/indexv3.drv" permissions OK (0100644/uid=0/gid=0).
DEBUG2: File "/usr/share/cups/drv/sample.drv" permissions OK (0100444/uid=0/gid=0).
DEBUG2: File "/usr/share/cups/drv/indexv4.drv" permissions OK (0100644/uid=0/gid=0).
DEBUG2: File "/usr/share/cups/drv/generic-ubrl.drv" permissions OK (0100644/uid=0/gid=0).
DEBUG2: File "/usr/share/cups/drv/cupsfilters.drv" permissions OK (0100644/uid=0/gid=0).
DEBUG2: File "/usr/share/cups/drv/generic-brf.drv" permissions OK (0100644/uid=0/gid=0).
DEBUG2: Directory "/usr/share/ppd" permissions OK (040755/uid=0/gid=0).
DEBUG: [cups-driverd] Loading "/usr/share/ppd"...
DEBUG2: Directory "/usr/share/ppd/cupsfilters" permissions OK (040755/uid=0/gid=0).
DEBUG: [cups-driverd] Loading "/usr/share/ppd/cupsfilters"...
DEBUG2: File "/usr/share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd"...
DEBUG2: File "/usr/share/ppd/cupsfilters/Ricoh-PDF_Printer-PDF.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "lsb/usr/cupsfilters/Ricoh-PDF_Printer-PDF.ppd"...
DEBUG2: File "/usr/share/ppd/cupsfilters/pxlcolor.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "lsb/usr/cupsfilters/pxlcolor.ppd"...
DEBUG2: File "/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd"...
DEBUG2: File "/usr/share/ppd/cupsfilters/pxlmono.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "lsb/usr/cupsfilters/pxlmono.ppd"...
DEBUG2: File "/usr/share/ppd/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd" permissions OK (0100644/uid=0/gid=0).
DEBUG2: [cups-driverd] Adding ppd "lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd"...
DEBUG: [cups-driverd] ChangedPPD=1
ERROR: [cups-driverd] Unable to write "/var/cache/cups/ppds.dat" - Permission denied
DEBUG2: File "/usr/lib/cups/driver/driverless-fax" permissions OK (0100755/uid=0/gid=0).
DEBUG2: File "/usr/lib/cups/driver/driverless" permissions OK (0100755/uid=0/gid=0).
DEBUG: Started ippfind (PID 44528)
DEBUG: ippfind (PID 44528) exited with no errors.
DEBUG2: [cups-driverd] requested-attributes="all"
DEBUG2: [cups-driverd] Sending drv:///sample.drv/dymo.ppd (DYMO Label Printer)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/epson9.ppd (Epson 9-Pin Series)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/epson24.ppd (Epson 24-Pin Series)...
DEBUG2: [cups-driverd] Sending lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd (Fuji Xerox DocuPrint CM305 df PDF)...
DEBUG2: [cups-driverd] Sending drv:///generic-brf.drv/gen-brf.ppd (Generic Braille embosser, 1.0)...
DEBUG2: [cups-driverd] Sending CUPS-PDF_noopt.ppd (Generic CUPS-PDF Printer (no options))...
DEBUG2: [cups-driverd] Sending CUPS-PDF_opt.ppd (Generic CUPS-PDF Printer (w/ options))...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/pwgrast.ppd (Generic IPP Everywhere Printer)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/generpcl.ppd (Generic PCL Laser Printer)...
DEBUG2: [cups-driverd] Sending lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd (Generic PDF Printer)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/generic.ppd (Generic PostScript Printer)...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/textonly.ppd (Generic Text-Only Printer)...
DEBUG2: [cups-driverd] Sending drv:///generic-ubrl.drv/gen-ubrl.ppd (Generic UBRL generator, 1.0)...
DEBUG2: [cups-driverd] Sending lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd (HP Color LaserJet CM3530 MFP PDF)...
DEBUG2: [cups-driverd] Sending lsb/usr/cupsfilters/pxlcolor.ppd (HP Color LaserJet Series PCL 6 CUPS)...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/dsgnjt600pcl.ppd (HP DesignJet 600 pcl, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/dsgnjt750cpcl.ppd (HP DesignJet 750c pcl, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/dsgnjt1050cpcl.ppd (HP DesignJet 1050c pcl, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/dsgnjt4000pcl.ppd (HP DesignJet 4000 pcl, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/dsgnjtt790pcl.ppd (HP DesignJet T790 pcl, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///cupsfilters.drv/dsgnjtt1100pcl.ppd (HP DesignJet T1100 pcl, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/deskjet.ppd (HP DeskJet Series)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/laserjet.ppd (HP LaserJet Series PCL 4/5)...
DEBUG2: [cups-driverd] Sending lsb/usr/cupsfilters/pxlmono.ppd (HP LaserJet Series PCL 6 CUPS)...
DEBUG2: [cups-driverd] Sending drv:///indexv3.drv/i4waves3.ppd (Index 4-Waves PRO, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv3.drv/i4x4pro3.ppd (Index 4x4 PRO V3, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv3.drv/ibasicd3.ppd (Index Basic-D V3, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv4.drv/ibasicd4.ppd (Index Basic-D V4/V5, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv3.drv/ibasics3.ppd (Index Basic-S V3, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv4.drv/ibasics4.ppd (Index Basic-S V4/V5, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv4.drv/ibrlbox4.ppd (Index Braille Box V4/V5, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv3.drv/ieveres3.ppd (Index Everest-D V3, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///indexv4.drv/ieveres4.ppd (Index Everest-D V4/V5, 1.0)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/intelbar.ppd (Intellitech IntelliBar Label Printer, 2.4)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/okidata9.ppd (Oki 9-Pin Series)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/okidat24.ppd (Oki 24-Pin Series)...
DEBUG2: [cups-driverd] Sending raw (Raw Queue)...
DEBUG2: [cups-driverd] Sending lsb/usr/cupsfilters/Ricoh-PDF_Printer-PDF.ppd (Ricoh PDF Printer)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/zebracpl.ppd (Zebra CPCL Label Printer)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/zebraep1.ppd (Zebra EPL1 Label Printer)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/zebraep2.ppd (Zebra EPL2 Label Printer)...
DEBUG2: [cups-driverd] Sending drv:///sample.drv/zebra.ppd (Zebra ZPL Label Printer)...
$ cat cups.stuff
Content-Type: application/ipp
ppd-device-idAarsetutf-8Httributes-natural-languageen-USppd-namedrv:///sample.drv/dymo.ppdHppd-natural-languageenppd-makeDYMOAppd-make-and-modelDYMO Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/epson9.ppdHppd-natural-languageenppd-makeEpsonAppd-make-and-modelEpson 9-Pin SeriesA
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/epson24.ppdHppd-natural-languageenppd-makeEpsonAppd-make-and-modelEpson 24-Pin SeriesA
ppd-psversio(3010) 0ppd-typeraster!ppd-model-numberppd-name9lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppdHppd-natural-languageenppd-make
ppd-device-idzMFG:FUJI XEROX;CMD:PJL,PCLXL,PCL,PDF,HBPL,POSTSCRIPT;MDL:DocuPrint CM305 df;DES:FUJI XEROX DocuPrint CM305 df;CLS:PRINTER;A
ppd-productFuji Xerox DocuPrint CM305 dfAFuji Xeroppd-psversionM305 dfA
ppd-device-idA3010.107) 0ppd-typepdf!ppd-model-numberppd-name"drv:///generic-brf.drv/gen-brf.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric Braille embosser, 1.0A
ppd-device-idYMFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT;AmakeGenericAppd-make-and-model%Generic CUPS-PDF Printer (no options)A
ppd-psversion ppd-product CUPS v1.1AGeneric CUPS-PDF PrinterA
(2017.000) 0ppd-type
ppd-device-idYMFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT;Aodel%Generic CUPS-PDF Printer (w/ options)A
ppd-psversion ppd-product CUPS v1.1AGeneric CUPS-PDF PrinterA
(2017.000) 0ppd-type
ppd-device-idyMFG:Generic;MDL:IPP Everywhere Printer;DES:Generic IPP Everywhere Printer;CLS:PRINTER;CMD:PWGRaster;DRV:Dpwgraster,R1,M0;APP Everywhere PrinterA
ppd-device-iCMD:PCL;Apd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/generpcl.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric PCL Laser PrinterAPrinter)A
ppd-device-id[MFG:Generic;CMD:PJL,PDF;MDL:PDF Printer;CLS:PRINTER;DES:Generic PDF Printer;DRV:DPDF,R1,M0;AdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric PDF PrinterA
ppd-psversion ppd-productGeneric PDF PrinterAGeneric PDF PrinterA
ppd-device-idCMD:PS;A7) 0ppd-typepdf!ppd-model-numberppd-namedrv:///sample.drv/generic.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric PostScript PrinterA
ppd-psversion ppd-productPostScript PrinterA
(2016.0) 0ppd-type
ppd-device-idhMFG:Generic;MDL:Text-Only Printer;DES:Generic Text-Only Printer;CLS:PRINTER;CMD:TXT;DRV:Dtextonly,R1,M0;Aand-modelGeneric Text-Only PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-name$drv:///generic-ubrl.drv/gen-ubrl.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modeleneric UBRL generator, 1.0A
ppd-psversio(3010) 0ppd-typeraster!ppd-model-numberppd-name8lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppdHppd-natural-languageenppd-makeHPAppd-make-and-model HP Color LaserJet ppd-device-idMFG:Hewlett-Packard;CMD:PJL,BIDI-ECP,PCLXL,PCL,PDF,PJL,POSTSCRIPT;MDL:HP Color LaserJet CM3530 MFP;CLS:PRINTER;DES:Hewlett-Packard Color LaserJet CM3530 MFP;DRV:DPDF,R0,M0;A
pppd-psversionColor LaserJet CM3530 MFPA,Hewlett-Packard HP Color LaserJet CM3530 MFPAHP Color LaserJet CM3530 MFPA
ppd-device-idA3010.107) 0ppd-typepdf!ppd-model-numberppd-name lsb/usr/cupsfilters/pxlcolor.ppdHppd-natural-languageenppd-makeHPAppd-make-and-model#HP Color LaserJet Series PCL 6 CUPSA
ppd-device-idA3010.000) 86000ppd-typepdf!ppd-model-numberppd-name'drv:///cupsfilters.drv/dsgnjt600pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet 600 pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-name(drv:///cupsfilters.drv/dsgnjt750cpcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet 750c pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name)drv:///cupsfilters.drv/dsgnjt1050cpcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelP DesignJet 1050c pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name(drv:///cupsfilters.drv/dsgnjt4000pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet 4000 pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name(drv:///cupsfilters.drv/dsgnjtt790pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet T790 pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name)drv:///cupsfilters.drv/dsgnjtt1100pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelP DesignJet T1100 pcl, 1.0A
ppd-device-idMFG:HP;MDL:HP DeskJet;CMD:PCL;A-numbeppd-namedrv:///sample.drv/deskjet.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DeskJet SeriesA
ppd-device-idMFG:HP;MDL:HP LaserJet;CMD:PCL;Anumberppd-namedrv:///sample.drv/laserjet.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP LaserJet Series PCL 4/5A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namelsb/usr/cupsfilters/pxlmono.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP LaserJet Series PCL 6 CUPSA
ppd-device-idA3010.000) 86000ppd-typepdf!ppd-model-numberppd-namedrv:///indexv3.drv/i4waves3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex 4-Waves PRO, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/i4x4pro3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex 4x4 PRO V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/ibasicd3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-D V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ibasicd4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-D V4/V5, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/ibasics3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-S V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ibasics4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-S V4/V5, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ibrlbox4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Braille Box V4/V5, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/ieveres3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Everest-D V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ieveres4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Everest-D V4/V5, 1.0A
ppd-psversio(3010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/intelbar.ppdHppd-natural-languageenppd-make
IntellitechAppd-make-and-model)Intellitech IntelliBar Label Printerppd-device-idA
ppd-device-idA010) 0ppd-typeraster!ppd-model-number ppd-namedrv:///sample.drv/okidata9.ppdHppd-natural-languageenppd-makeOkiAppd-make-and-modelOki 9-Pin SeriesA
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/okidat24.ppdHppd-natural-languageenppd-makeOkiAppd-make-and-modelOki 24-Pin SeriesA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namerawHppd-natural-languageenppd-makeRawAppd-make-and-model Raw QueueA
ppd-device-idWMFG:RICOH;CMD:PJL,PDF;MDL:PDF Printer;CLS:PRINTER;DES:Ricoh PDF Printer;DRV:DPDF,R1,M0;A-natural-languageenppd-makeRicohAppd-make-and-modelRicoh PDF PrinterA
ppd-psversion ppd-productRICOH PDF PrinterARicoh PDF PrinterA
ppd-device-idA3010.107) 0ppd-typepdf!ppd-model-numberppd-namedrv:///sample.drv/zebracpl.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra CPCL Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/zebraep1.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra EPL1 Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/zebraep2.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra EPL2 Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namerv:///sample.drv/zebra.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra ZPL Label PrinterA
ppd-psversio(3010) 0ppd-typeraster!ppd-model-number[umi@umi tmp]$
[umi@umi tmp]$ cat cups.stuff
Content-Type: application/ipp
ppd-device-idAarsetutf-8Httributes-natural-languageen-USppd-namedrv:///sample.drv/dymo.ppdHppd-natural-languageenppd-makeDYMOAppd-make-and-modelDYMO Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/epson9.ppdHppd-natural-languageenppd-makeEpsonAppd-make-and-modelEpson 9-Pin SeriesA
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/epson24.ppdHppd-natural-languageenppd-makeEpsonAppd-make-and-modelEpson 24-Pin SeriesA
ppd-psversio(3010) 0ppd-typeraster!ppd-model-numberppd-name9lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppdHppd-natural-languageenppd-make
ppd-device-idzMFG:FUJI XEROX;CMD:PJL,PCLXL,PCL,PDF,HBPL,POSTSCRIPT;MDL:DocuPrint CM305 df;DES:FUJI XEROX DocuPrint CM305 df;CLS:PRINTER;A
ppd-productFuji Xerox DocuPrint CM305 dfAFuji Xeroppd-psversionM305 dfA
ppd-device-idA3010.107) 0ppd-typepdf!ppd-model-numberppd-name"drv:///generic-brf.drv/gen-brf.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric Braille embosser, 1.0A
ppd-device-idYMFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT;AmakeGenericAppd-make-and-model%Generic CUPS-PDF Printer (no options)A
ppd-psversion ppd-product CUPS v1.1AGeneric CUPS-PDF PrinterA
(2017.000) 0ppd-type
ppd-device-idYMFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT;Aodel%Generic CUPS-PDF Printer (w/ options)A
ppd-psversion ppd-product CUPS v1.1AGeneric CUPS-PDF PrinterA
(2017.000) 0ppd-type
ppd-device-idyMFG:Generic;MDL:IPP Everywhere Printer;DES:Generic IPP Everywhere Printer;CLS:PRINTER;CMD:PWGRaster;DRV:Dpwgraster,R1,M0;APP Everywhere PrinterA
ppd-device-iCMD:PCL;Apd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/generpcl.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric PCL Laser PrinterAPrinter)A
ppd-device-id[MFG:Generic;CMD:PJL,PDF;MDL:PDF Printer;CLS:PRINTER;DES:Generic PDF Printer;DRV:DPDF,R1,M0;AdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric PDF PrinterA
ppd-psversion ppd-productGeneric PDF PrinterAGeneric PDF PrinterA
ppd-device-idCMD:PS;A7) 0ppd-typepdf!ppd-model-numberppd-namedrv:///sample.drv/generic.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modelGeneric PostScript PrinterA
ppd-psversion ppd-productPostScript PrinterA
(2016.0) 0ppd-type
ppd-device-idhMFG:Generic;MDL:Text-Only Printer;DES:Generic Text-Only Printer;CLS:PRINTER;CMD:TXT;DRV:Dtextonly,R1,M0;Aand-modelGeneric Text-Only PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-name$drv:///generic-ubrl.drv/gen-ubrl.ppdHppd-natural-languageenppd-makeGenericAppd-make-and-modeleneric UBRL generator, 1.0A
ppd-psversio(3010) 0ppd-typeraster!ppd-model-numberppd-name8lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppdHppd-natural-languageenppd-makeHPAppd-make-and-model HP Color LaserJet ppd-device-idMFG:Hewlett-Packard;CMD:PJL,BIDI-ECP,PCLXL,PCL,PDF,PJL,POSTSCRIPT;MDL:HP Color LaserJet CM3530 MFP;CLS:PRINTER;DES:Hewlett-Packard Color LaserJet CM3530 MFP;DRV:DPDF,R0,M0;A
pppd-psversionColor LaserJet CM3530 MFPA,Hewlett-Packard HP Color LaserJet CM3530 MFPAHP Color LaserJet CM3530 MFPA
ppd-device-idA3010.107) 0ppd-typepdf!ppd-model-numberppd-name lsb/usr/cupsfilters/pxlcolor.ppdHppd-natural-languageenppd-makeHPAppd-make-and-model#HP Color LaserJet Series PCL 6 CUPSA
ppd-device-idA3010.000) 86000ppd-typepdf!ppd-model-numberppd-name'drv:///cupsfilters.drv/dsgnjt600pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet 600 pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-name(drv:///cupsfilters.drv/dsgnjt750cpcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet 750c pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name)drv:///cupsfilters.drv/dsgnjt1050cpcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelP DesignJet 1050c pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name(drv:///cupsfilters.drv/dsgnjt4000pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet 4000 pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name(drv:///cupsfilters.drv/dsgnjtt790pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DesignJet T790 pcl, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numbeppd-name)drv:///cupsfilters.drv/dsgnjtt1100pcl.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelP DesignJet T1100 pcl, 1.0A
ppd-device-idMFG:HP;MDL:HP DeskJet;CMD:PCL;A-numbeppd-namedrv:///sample.drv/deskjet.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP DeskJet SeriesA
ppd-device-idMFG:HP;MDL:HP LaserJet;CMD:PCL;Anumberppd-namedrv:///sample.drv/laserjet.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP LaserJet Series PCL 4/5A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namelsb/usr/cupsfilters/pxlmono.ppdHppd-natural-languageenppd-makeHPAppd-make-and-modelHP LaserJet Series PCL 6 CUPSA
ppd-device-idA3010.000) 86000ppd-typepdf!ppd-model-numberppd-namedrv:///indexv3.drv/i4waves3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex 4-Waves PRO, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/i4x4pro3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex 4x4 PRO V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/ibasicd3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-D V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ibasicd4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-D V4/V5, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/ibasics3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-S V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ibasics4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Basic-S V4/V5, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ibrlbox4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Braille Box V4/V5, 1.0A
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv3.drv/ieveres3.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Everest-D V3, 1.0A
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///indexv4.drv/ieveres4.ppdHppd-natural-languageenppd-makeIndexAppd-make-and-modelIndex Everest-D V4/V5, 1.0A
ppd-psversio(3010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/intelbar.ppdHppd-natural-languageenppd-make
IntellitechAppd-make-and-model)Intellitech IntelliBar Label Printerppd-device-idA
ppd-device-idA010) 0ppd-typeraster!ppd-model-number ppd-namedrv:///sample.drv/okidata9.ppdHppd-natural-languageenppd-makeOkiAppd-make-and-modelOki 9-Pin SeriesA
ppd-product
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/okidat24.ppdHppd-natural-languageenppd-makeOkiAppd-make-and-modelOki 24-Pin SeriesA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namerawHppd-natural-languageenppd-makeRawAppd-make-and-model Raw QueueA
ppd-device-idWMFG:RICOH;CMD:PJL,PDF;MDL:PDF Printer;CLS:PRINTER;DES:Ricoh PDF Printer;DRV:DPDF,R1,M0;A-natural-languageenppd-makeRicohAppd-make-and-modelRicoh PDF PrinterA
ppd-psversion ppd-productRICOH PDF PrinterARicoh PDF PrinterA
ppd-device-idA3010.107) 0ppd-typepdf!ppd-model-numberppd-namedrv:///sample.drv/zebracpl.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra CPCL Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/zebraep1.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra EPL1 Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namedrv:///sample.drv/zebraep2.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra EPL2 Label PrinterA
ppd-device-idA010) 0ppd-typeraster!ppd-model-numberppd-namerv:///sample.drv/zebra.ppdHppd-natural-languageenppd-makeZebraAppd-make-and-modelZebra ZPL Label PrinterA
ppd-psversio(3010) 0ppd-typeraster!ppd-model-number
$ wc -l /tmp/cups.drivers
80 /tmp/cups.drivers
$ sudo stat /var/cache/cups/ppds.dat
File: /var/cache/cups/ppds.dat
Size: 316972 Blocks: 624 IO Block: 4096 regular file
Device: 259,3 Inode: 27299803 Links: 1
Access: (0600/-rw-------) Uid: ( 209/ cups) Gid: ( 209/ cups)
Access: 2023-09-16 23:53:43.946658542 -0400
Modify: 2023-09-16 13:15:49.098500253 -0400
Change: 2023-09-16 13:15:49.098500253 -0400
Birth: 2023-09-16 13:15:49.095166903 -0400
Last edited by umi (2023-09-17 15:14:59)
Offline
Turns out the list of drivers w/o foomatic is rather short, but the process runs and provides results.
"Closing on unexpected HTTP read state" is almost not a thing for google - the last action before that is actually ippfind.
ippfind
And since this requires avahi/mdns/bonjour - what if you revert your efforts in this direction? Can you now add the PDF printer?
Offline
I'm not certain of what you mean by reversing my efforts in that direction, could you clarify? I'm not home at the moment so I'll post the output of ippfind later.
Offline
You can have mdns via avahi and an entry in nsswitch.conf's hosts arrac or resolved/MulticastDNS=yes
Whatever you're currently doing to allow MDNS queries/responses: disable that so that ippfind tells you "ippfind: Unable to use Bonjour: Daemon not running"
Offline