Hi. I have a HP Laserjet Pro network m428f printer/scanner. I can both sprint and scan from my network using the HP graphical tools to locate/configure the machine. My issue is that I am getting two m428f installed, both for printer and scanner, from my Fedora settings. I guess I need to remove the native fedora printing tool to avoid duplication, but don’t know how to proceed.
Check out the current CUPS settings:
ls -l -R /etc/cups
cat /etc/cups/printers.conf
Hi. This is what I get.
[francisco@main ~]$ sudo ls -l -R /etc/cups
[sudo] password for francisco:
/etc/cups:
total 124
-rw-------. 1 root lp 128 Jun 23 10:45 classes.conf
-rw-------. 1 root lp 128 Mar 18 17:56 classes.conf.O
-rw-r–r–. 1 root lp 0 Jun 11 04:44 client.conf
-rw-r–r–. 1 root root 27136 Feb 2 08:54 cups-browsed.conf
-rw-r–r–. 1 root root 29373 Mar 23 02:30 cups-browsed.conf.rpmnew
-rw-r-----. 1 root lp 6274 Jun 11 04:43 cupsd.conf
-rw-r-----. 1 root lp 6274 Jun 11 04:43 cupsd.conf.default
-rw-r-----. 1 root lp 2996 Jun 16 08:09 cups-files.conf
-rw-r-----. 1 root lp 2996 Jun 11 04:43 cups-files.conf.default
-rw-r–r–. 1 root lp 0 Jun 11 04:44 lpoptions
drwxr-xr-x. 2 root lp 4096 Jul 7 08:09 ppd
-rw-------. 1 root lp 592 Jul 7 08:09 printers.conf
-rw-------. 1 root lp 147 Jul 7 08:09 printers.conf.O
-rw-r–r–. 1 root lp 142 Jun 11 04:43 snmp.conf
-rw-r-----. 1 root lp 142 Jun 11 04:43 snmp.conf.default
drwx------. 2 root lp 4096 Jun 11 04:43 ssl
-rw-r-----. 1 root lp 112 Jul 20 11:12 subscriptions.conf
-rw-r-----. 1 root lp 386 Jul 20 11:11 subscriptions.conf.O
/etc/cups/ppd:
total 84
-rw-r-----. 1 root lp 82219 Jul 7 08:09 HP_LaserJet_Pro_M428f-M429f.ppd
/etc/cups/ssl:
total 0
[francisco@main ~]$ sudo cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.3.3
# Written by cupsd on 2020-07-07 08:09
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 12
<Printer HP_LaserJet_Pro_M428f-M429f>
PrinterId 11
UUID urn:uuid:6d329b58-da8b-33b8-4255-109830eb18d9
Info
Location
MakeModel HP LaserJet Pro M428f-M429f Postscript (recommended)
DeviceURI hp:/net/HP_LaserJet_Pro_M428f-M429f?ip=192.168.88.202
State Idle
StateTime 1594123750
ConfigTime 1594123750
Type 8425684
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
sudo lpstat -s
What does this say?
Here’s the output:
[francisco@main ~]$ sudo lpstat -s
no system default destination
device for HP_LaserJet_Pro_M428f-M429f: hp:/net/HP_LaserJet_Pro_M428f-M429f?ip=192.168.88.202
Well, I’m not sure where the duplicate comes from, since only one printer is configured in CUPS.