Bug 1694797
| Summary: | Unable to print test page for HP M281fdw with GNOME Printer settings | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Vlug <jan.public> | ||||||||||||||||
| Component: | cups-filters | Assignee: | Zdenek Dohnal <zdohnal> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 29 | CC: | jpopelka, twaugh, zdohnal | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| Fixed In Version: | cups-filters-1.22.5-1.fc29 | Doc Type: | If docs needed, set a value | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2019-04-16 04:03:56 UTC | Type: | Bug | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Jan Vlug
2019-04-01 17:19:36 UTC
I now think that this is a cups issue, because printing a test page via the web interface at: http://localhost:631/printers/HP-ColorLaserJet-MFP-M278-M281 results in the same error message on the printer display. I do not understand why assignee was not moved... Hi Jan! thank you for reporting the issue! Would you mind providing files with outputs of: 1) $ lpstat -t 2) $ sudo lpinfo -l -v 3) $ cat /etc/cups/ppd/<your_print_queue_name>.ppd 4) turn on debug2 log level in cupsd, restart CUPS, try to print a test page and attach journal logs for the job or time frame when you issued a job. Generally, the things which are described in https://fedoraproject.org/wiki/How_to_debug_printing_problems . Hi Zdenek, After installing the plugin by running hp-plugin -i as suggested in bug 1694663, I can print the test page. Are you still interested in the requested information? Would it somehow be possible to indicate that the plugin is missing in the GUI? I did not think of this possibility, because I specifically selected this printer because I thought that it did not require a proprietary plugin, as indicated on https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index. (In reply to Jan Vlug from comment #4) > Hi Zdenek, > > After installing the plugin by running > hp-plugin -i > as suggested in bug 1694663, I can print the test page. > > Are you still interested in the requested information? Yes, it should print test page at least ;) - IMO plugin is needed only for scanning (until we will prove different thing :) ), printing should work, especially as it seems it is IPP everywhere enabled printer - but there could be an error in IPP server in printer, so that's problem sometimes. And can you create a print queue in gnome-control-center when you issue an IP address? Then g-c-c should find your printer too. Ad investigating the issue: You can check files which does to CUPS and out: 1) to CUPS: - in /var/spool/cups should be a file starting by letter 'd' - it is file from app (g-c-c) to CUPS - please check if it is test file and attach it too 2) out of CUPS: - it is already filtered job - you can get it by creating new filedevice printer (set FileDevice to Yes in /etc/cups/cups-files.conf and restart cups) with lpadmin, but with ppd of your printer: $ sudo lpadmin -p test-printer -v file:/tmp/ps -P /etc/cups/ppd/<ppd_file_of_affected_printer>.ppd -E - then try to print test page to it - there will be 'ps' file in /tmp dir after 'printing' is finished - please attach it too. > > Would it somehow be possible to indicate that the plugin is missing in the > GUI? I did not think of this possibility, because I specifically selected Do you mean in gnome-control-center? Unfortunately, I do not think so - it would need to depend on a database, but as you can see, there is no reliable one... > this printer because I thought that it did not require a proprietary plugin, > as indicated on > https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/ > index. (In reply to Zdenek Dohnal from comment #3) > Hi Jan! > > thank you for reporting the issue! Would you mind providing files with > outputs of: > > 1) $ lpstat -t > 2) $ sudo lpinfo -l -v > 3) $ cat /etc/cups/ppd/<your_print_queue_name>.ppd > 4) turn on debug2 log level in cupsd, restart CUPS, try to print a test page > and attach journal logs for the job or time frame when you issued a job. > > Generally, the things which are described in > https://fedoraproject.org/wiki/How_to_debug_printing_problems . Start: All via g-c-c: 1. Remove all printers 2. Wait until printer appears again via DNS-SD 3. Add... printer Add... Select discovered printer Add 4. Wait until the added printer appears in the Printers pane. 5. For the added printer, go to Printing Options, click the Test Page button. This happens * On the LCD display of the printer the following appears: "Unable to print file. File is corrupt." * The ink levels of the printer appear for the printer in the Printers pane. 6. Note: once this ink level has been established, it stays visible, even after closing and starting g-c-c. Removed all files in /var/spool/cups (files starting with c, d, and a tmp directory) made lpstat.txt made lpinfo.txt made *.ppd files strange enough there are two of them. [jan@nyx ppd]$ ls -sla /etc/cups/ppd/ total 32 4 drwxr-xr-x. 2 root lp 4096 3 apr 11:41 . 4 drwxr-xr-x. 4 root lp 4096 3 apr 14:47 .. 12 -rw-r-----. 1 root lp 11571 3 apr 11:41 HP-ColorLaserJet-MFP-M278-M281.ppd 12 -rw-r-----. 1 root lp 11587 3 apr 11:41 HP-ColorLaserJet-MFP-M278-M281.ppd.O The only difference is the paper size, I cannot remember that I changed this manually. I am using A4 paper. Enabled cups debug level 2 Tried to print a test page. See cups_journal.txt for the log messages Created attachment 1551397 [details]
lpstat
Created attachment 1551398 [details]
lpinfo -l -v
Created attachment 1551399 [details]
HP-ColorLaserJet-MFP-M278-M281.ppd
Created attachment 1551400 [details]
HP-ColorLaserJet-MFP-M278-M281.ppd.O
Created attachment 1551401 [details]
Log messages during starting GNOME Settings and attempt to print test page
Created attachment 1551403 [details]
cups input file d00451-001
Created attachment 1551404 [details]
cups output file of test-printer
(In reply to Zdenek Dohnal from comment #5) > (In reply to Jan Vlug from comment #4) > > Hi Zdenek, > > > > After installing the plugin by running > > hp-plugin -i > > as suggested in bug 1694663, I can print the test page. > > > > Are you still interested in the requested information? > > Yes, it should print test page at least ;) - IMO plugin is needed only for > scanning (until we will prove different thing :) ), printing should work, > especially as it seems it is IPP everywhere enabled printer - but there > could be an error in IPP server in printer, so that's problem sometimes. And > can you create a print queue in gnome-control-center when you issue an IP > address? Then g-c-c should find your printer too. Interestingly printing to the printer works, except for the test page from g-c-c. > > Ad investigating the issue: > You can check files which does to CUPS and out: > 1) to CUPS: > - in /var/spool/cups should be a file starting by letter 'd' - it is file Attached. > from app (g-c-c) to CUPS - please check if it is test file and attach it too > 2) out of CUPS: > - it is already filtered job - you can get it by creating new filedevice > printer (set FileDevice to Yes in /etc/cups/cups-files.conf and restart > cups) with lpadmin, but with ppd of your printer: > > $ sudo lpadmin -p test-printer -v file:/tmp/ps -P > /etc/cups/ppd/<ppd_file_of_affected_printer>.ppd -E > > - then try to print test page to it - there will be 'ps' file in /tmp dir > after 'printing' is finished - please attach it too. > > Attached. > > > > Would it somehow be possible to indicate that the plugin is missing in the > > GUI? I did not think of this possibility, because I specifically selected > > Do you mean in gnome-control-center? Unfortunately, I do not think so - it > would need to depend on a database, but as you can see, there is no reliable > one... Yes, that is what I meant. Separate remark: Note that messages about a wrong paper size go to the LCD screen on the printer. I can accept there to continue with the loaded format. I do not get this feedback on my Fedora system. Hmm... output of filters is corrupted - these filters are part of cups-filters, reassigning component. Reported upstream https://github.com/OpenPrinting/cups-filters/issues/104 . Jan, I found out the crash is fixed in newer cups-filters (printing does not crash, but one line is cropped - I do not find it critical though), would you mind testing https://koji.fedoraproject.org/koji/taskinfo?taskID=34046177 if it works for you too? Zdenek, I confirm that I can print a test page with the new build. Thanks for your great work! cups-filters-1.22.5-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-63d18edc23 cups-filters-1.22.5-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-63d18edc23 cups-filters-1.22.5-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |