Enable double-sided printing on HP printer
https://askubuntu.com/questions/1560189/enable-double-sided-printing-on-hp-printer
I've been unable to enable to enable duplex printing on an HP LaserJet Pro MFP M130nw printer on a computer running Ubuntu 24.04 after reinstalling hplip (hplip-3.25.8).
This related answer states:
If you don't even have the "HPOption_Duplexer" option (e.g., lpoptions -l | fgrep -c Duplexer prints 0), then:
either you have the incorrect printer description file configured (the so-called PPD),
or you didn't check the "Duplex printing" option in the printer capabilities section.
To solve 1., the quickest path is probably to re-install the printer and choose the correct make/model combination.
To address 2., just open System -> Administration -> Printers, right-click on your printer and choose "Properties", then click on "Installed options" in the left pane and finally check the "Duplex printing" box on the right.
When I run:
lpoptions -l | fgrep -c Duplexer
It indeed prints 0.
I'm unable to implement the second solution, since System -> Administration -> Printers, right-click on your printer and choose "Properties", doesn't show me "Installed options" in the left pane.
As far as the first solution, I tried using hp-setup with the default options, but the problem persists.
I also tried updating the drivers as recommended in this answer. However, when I click Printers -> Select Printer -> Printer -> Properties -> Make and Model (HP LaserJet MFP m129-m134, hpcups 3.25.8) -> Change -> Choose Driver, and I select "Search for a printer driver to download, with the make and model listed as "HP LaserJet MFP m129-m134" and I click 'Search', the result in "Printer model" is "no matches found."
If, instead, in "Choose Driver", I click "Select Printer from Database", click "Forward" with the default selection of HP, click forward with the default selection of "LaserJet MFP m129-m134" for 'Models' and 'HP LaserJet MFP m129-m134, hpcups 3.25.8' for "Drivers", I get "Existing Settings" with the option to use the new PDD or try to copy the option settings from the old PDD. Neither one of these two options resolve the issue.
Relatedly, in Settings -> Printers, when I select the printer and click "printer details" and click "search for drivers," it says "No suitable driver found". It does give me the option to select drivers from a database, although I'm not sure which one(s) I'd need for this.
I also tried implementing some of the solutions listed here. Specifically, when I ran hp-check -t, it said "no errors or warnings", although it also said:
warning: Failed to read /etc/cups/ppd/HP_LaserJet_MFP_M129-M134_fax.ppd ppd file
PPD Description:
I also tried using http://localhost:631/ but that didn't work.
Specifically, I navigated to it, clicked 'Printers', selected the printer, then under 'Maintenance' selected 'Set default options', but didn't see any "Options Installed" field, where I could select: Duplexer -> installed.
While I mostly tried printing from LibreOffice, the double-sided option doesn't seem available in a browser, either.
The printer, itself, is definitely capable of double-sided printing, and has done so from Windows. To clarify, the double-sided printing I have in mind would necessitate manually reloading, but I don't see the option for that.