Bug 1806862
| Summary: | foomatic-rip produces empty output for printable postscript files | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marc Muehlfeld <mmuehlfe> | ||||||
| Component: | cups-filters | Assignee: | Zdenek Dohnal <zdohnal> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 31 | CC: | af, aminux, guillaume.brocker, rickrich, twaugh, zdohnal | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | cups-filters-1.27.2-1.fc31 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-03-11 22:46:11 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
Marc Muehlfeld
2020-02-25 08:18:47 UTC
Hi Marc, thank you for reporting the issue! Would you mind following https://fedoraproject.org/wiki/How_to_debug_printing_problems and provide requested files? Thank you in advance! Created attachment 1665589 [details]
cups_job_log
Created attachment 1665590 [details]
cups_whole_log
Further information:
Device: uri = socket://192.168.150.13
class = network
info = Samsung M267x 287x Series
make-and-model = Samsung M267x 287x Series
device-id = MFG:Samsung;CMD:PCL6,URF,FAX,FWV,PIC,SPDS,EXT;MDL:M267x 287x Series;CLS:PRINTER;CID:SA_PCL6_BW;MODE:FAX3,SCN,SPL3,R000105,SCP;
location =
/etc/cups/ppd/SAM2875.ppd:*NickName: "Samsung M267x 287x Series PXL"
Ok, I was able to reproduce the issue with file device printer - resulting file is empty. Checking if it is not due https://github.com/OpenPrinting/cups-filters/issues/206 ... Hi Marc, the upstream fix worked for my local reproducer (output is no longer empty) - would you mind testing the scratch build? The link is https://koji.fedoraproject.org/koji/taskinfo?taskID=41892070 . Hi Zdenek. The RPMs from the scratch build fixes the problem. Thanks. *** Bug 1808198 has been marked as a duplicate of this bug. *** I'm currently blocked by FTBFS on F33 and F32 - it was raised by font packaging change and the change showed programming error in cups-filters. I'll create the patch for upstream and create pull request there. FEDORA-2020-83519d93aa has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-83519d93aa cups-filters-1.27.2-1.fc31 has been pushed to the Fedora 31 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-2020-83519d93aa *** Bug 1809763 has been marked as a duplicate of this bug. *** FEDORA-2020-83519d93aa has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-83519d93aa *** Bug 1809763 has been marked as a duplicate of this bug. *** cups-filters-1.27.2-1.fc31 has been pushed to the Fedora 31 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-2020-83519d93aa I can confirm similar behavior with foo2xqx backend for HP LaserJet P1505N, connected over LAN. How i found this: - at one moment i found that my network printer don't print; I try some programs (libreoffice writer, kwrite, lp) and cups test-page - this don't work; In logs nothing interesting even in debug log-level; - I check foo2xqx-wrapper - this work correctly, and print xqx-data directly over lpr - this work correct. - I try reinstall printer, re-assign PPD file and even make hard-reset for printer. - After some tests i found that new version of cups-filter broke printing over foo2xqx backend; When i make rollback to cups-filters-1.22 by dnf downgrade command, my printer start working correctly. I update all systems packages to last versions, except cups-filters and printer stay working; But after update cups-filters to 1.27 printing to HP P1505N over network fails. !! After each change version of cups-related packages i make `service cups retart`; Also i found foo2xqx-wrapper wrote some detailed logs in journal at manual running, but in printing process from gui-applications with cups-filters-1.27 this xqx-related logs don't appear in journalctl -f; I suggest that new version of cups-filters-1.27 don't processing this option from PPD-file: $ zcat /usr/share/cups/model/HP-LaserJet_P1505n.ppd.gz | grep xqx-wrapper *FoomaticRIPCommandLine: "foo2xqx-wrapper %A" due absent of foo2xqx-wrapper related strings in cups logs; I found that another cups-related packages can be upgraded to last versions; bluez-cups.x86_64 5.53-2.fc31 cups.x86_64 1:2.2.12-3.fc31 cups-client.x86_64 1:2.2.12-3.fc31 cups-filesystem.noarch 1:2.2.12-3.fc31 cups-filters.x86_64 1.22.5-4.fc31 cups-filters-libs.x86_64 1.22.5-4.fc31 cups-ipptool.x86_64 1:2.2.12-3.fc31 cups-libs.i686 1:2.2.12-3.fc31 cups-libs.x86_64 1:2.2.12-3.fc31 cups-pdf.x86_64 3.0.1-8.fc31 cups-pk-helper.x86_64 0.2.6-8.fc31 python3-cups.x86_64 1.9.74-4.fc31 I also check foomatic-rip outputs - yes, after upgrade cups-filters (and cups-filters-libs) from 1.22 to 1.27 i see only this: # foomatic-rip /tmp/Check.ps -P HP-P1505n DEBUG: Color Manager: Invalid printer name. 'CM Color Calibration' Mode in SPOOLER-LESS: Off # foomatic-rip /tmp/Check.ps -P Cups-PDF DEBUG: Color Manager: Invalid printer name. 'CM Color Calibration' Mode in SPOOLER-LESS: Off At version 1.22 i see also this headers: 12345X@PJL JOB @PJL SET JAMRECOVERY=OFF @PJL SET DENSITY=3 @PJL SET ECONOMODE=OFF @PJL SET RET=MEDIUM @PJL INFO STATUS @PJL USTATUS DEVICE = ON @PJL USTATUS JOB = ON @PJL USTATUS PAGE = ON @PJL USTATUS TIMED = 30 and many binary output. I use only stable version of fc31 repos (`fedora` and `updates`), not devel/testing/rawhide; Hi Amin, thank you for feedback! As you can see, the bugzilla is in ON_QA, which means the update which fixes the issue is in fedora-updates-testing repository. Then you can: 1) wait till the update gets through the testing period and get into stable or 2) help with testing, installing the cups-filters packages from fedora-updates-testing repo by: $ sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-83519d93aa and try to print. Then leave the karma here https://bodhi.fedoraproject.org/updates/FEDORA-2020-83519d93aa depending on your testing results and speed up the testing period. cups-filters-1.27.2-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. I make update to cups-filters-1.27.2-1 (stable repo) - and my printer work again. This update fix issue completely. Great work! |