Ubuntu 16.04下HP OfficeJet 4655仅打印黑白问题排查求助
Hey there, let's work through this black-only printing issue step by step. From your troubleshooting notes, we know the hardware is solid—color copies work, other PCs print color fine—so this is definitely a software or configuration problem specific to your Ubuntu machine. Let's start with the most obvious red flag: the broken CUPS web interface.
1. Repair the CUPS Web Interface Access
Getting "NOT FOUND" when visiting localhost:631 admin pages means CUPS isn't running properly or its web interface is disabled. Let's fix that first:
- Open a terminal and run these commands to restart CUPS and re-enable the web interface:
sudo systemctl stop cups sudo systemctl start cups sudo cupsctl WebInterface=yes - Try accessing
localhost:631again—you should see the full admin dashboard now. If not, check if your CUPS config files are intact:
If files likels -la /etc/cups/cupsd.conforprinters.confare missing or corrupted, restore the default config with:sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf sudo systemctl restart cups
2. Verify Global Printer Color Settings in CUPS
Once you can access the CUPS admin page:
- Navigate to the Printers tab and select your HP OfficeJet 4655.
- Click Administration > Set Default Options.
- Look for the Color Mode setting (usually under "Printing Options" or "Quality")—make sure it's set to Color instead of Grayscale or Black Only.
- Save the changes, then print a color test page directly from CUPS to confirm.
3. Check Per-Application Color Overrides
Sometimes apps override the global printer settings:
- In apps like LibreOffice, go to File > Print, select your printer, then click Properties.
- Double-check the color mode is set to Color here—some apps default to grayscale even if the printer's global setting is correct.
4. Re-Validate HPLIP Driver Setup
Even though you reinstalled HPLIP, let's make sure the driver is properly configured:
- Run the HPLIP setup wizard in terminal (use
sudoif needed):sudo hp-setup - Follow the prompts to re-select your printer, and ensure you choose the full-feature HP driver (not a generic alternative).
- After setup, run the HPLIP diagnostic tool to catch any missing dependencies or misconfigs:
Follow the tool's recommendations to fix any issues it flags.hp-check
5. Reset the Printer's CUPS Queue
A corrupted print queue can cause weird behavior like this:
- In the CUPS admin page, go to your printer > Maintenance > Cancel All Jobs.
- Then click Administration > Delete Printer to remove the existing entry.
- Re-add the printer via either
hp-setupor Ubuntu's Settings > Printers > Add Printer.
Give these steps a try—most likely fixing the CUPS interface and verifying the color settings will resolve the issue.
内容的提问来源于stack exchange,提问作者Ron

