Created attachment 1238572 [details]
Output of the command "journalctl -u cups -e" with LogLevel debug in cupsd.conf
Description of problem:
I just set up my HP LaserJet M402dn printer using the Add a New Printer tool. I entered the IP address of the printer and then selected the option for HP-LaserJet-M402dn. There is then a notification that Additional Printer Drivers are required but the Software program can't find any. Note that I was able to use this printer in past versions of Fedora without installing additional drivers.
I looked in the logs and found the following:
Jan 09 01:45:53 pc01 cupsd: Set job-printer-state-message to "Processing page 1...", current level=INFO
Jan 09 01:45:53 pc01 hpcups: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Jan 09 01:45:53 pc01 cupsd: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1STATE: +hplip.plugin-error
Jan 09 01:45:53 pc01 cupsd: prnt/hpcups/HPCupsFilter.cpp 487: m_Job initialization failed with error = 48
Jan 09 01:45:53 pc01 cupsd: PID 26917 (/usr/lib/cups/filter/hpcups) stopped with status 1.
Jan 09 01:45:53 pc01 cupsd: Hint: Try setting the LogLevel to "debug" to find out more.
Version-Release number of selected component (if applicable):
Happens every time
Steps to Reproduce:
1. Add HP LaserJet M402dn printer using Add a New Printer tool
2. Print to the new printer
The print job has a status of Stopped and doesn't print out.
The print job should be printed by the printer.
thank you for contacting us. From that log I think the problem is in hplip plugin, which is curious if that printer does not need additional plugin. Would you mind sending output of 'hp-check' command? And can you try reinstall that printer with 'hp-setup -i' and 'hp-plugin' if it helps?
Created attachment 1239306 [details]
Output of hp-check command
(In reply to Zdenek Dohnal from comment #1)
> And can you try
> reinstall that printer with 'hp-setup -i' and 'hp-plugin' if it helps?
I ran the the 'hp-setup -i' command. It seems to have worked well. The test page looks good. I have also been able to print from evince.
Let me know if there is something else that I should test involving 'hp-plugin'.
If I understand comment #3 correctly, printer works after "hp-setup -i"? So would you mind if I close this bug or do you have any other issues?
Closing this bug is fine with me. Thank you for the help!
You are welcome, Aram. Have a nice day.