Opened 10 months ago

Closed 7 months ago

Last modified 7 months ago

#1110 closed System Defect (deferred)

No more printing since switch to EDGE pkg set

Reported by: q/pa Owned by: kris
Priority: major Milestone:
Component: System Configuration Version: 10.0-RELEASE
Keywords: printing Cc: trac-bugs@…

Description

Using the PPD File for my HP DeskJet? 5940 I was able to print in PCBSD 9.x and 10. After I switched to the EDGE package set sending a print command makes the printer empty the paper tray and fill the pages with cryptic symbols.
When I go back to the last snapshot before switching to the EDGE pkg set (taken on May 7th) printing works normal again.

Attachments (2)

CUPS_error_short.log (142.8 KB) - added by q/pa 7 months ago.
CUPS error log
foomatic-rip-NINTGK.log (2.2 KB) - added by q/pa 7 months ago.
foomatic-rip log

Download all attachments as: .zip

Change History (16)

comment:1 Changed 10 months ago by kris

Yea, I've seen this also. The cups-filter ports were added / updated, and it broke all the Foomatic print drivers :(

If you switch to a non-foomatic driver, it'll work again. I'm investigating a better fix in the meantime.

comment:2 Changed 10 months ago by q/pa

Ah, OK. May I ask where I can find those drivers? I tried both drivers that were found by the printer setting tool in KDE. One was an hpcups driver and the other is named HP Deskjet 5900 Series hpijs, 3.14.4.
I don't understand much of this printer driver thing and don't know if these are foomatic drivers...

comment:3 Changed 9 months ago by q/pa

When I read the log of the latest updates
(Upgrading cups-base: 1.7.2 -> 1.7.2_1, Upgrading cups-filters: 1.0.53 -> 1.0.53_1, Upgrading foomatic-filters: 4.0.17_1 -> 4.0.17_2) I hoped to see this problem resolved but it is not...

comment:4 Changed 9 months ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Just fixed this in GIT. I will push out updates to EDGE packages tomorrow most likely.

https://github.com/pcbsd/freebsd-ports/commit/df7c7a686fb2551adefed44d9eb35ddf52a93922

comment:5 Changed 9 months ago by q/pa

  • Resolution fixed deleted
  • Status changed from closed to reopened

I am still having the same problem. I tried to print with the old setting and to be sure set up the printer freshly (trying both offered drivers and the PPD which was working great before) but to no avail. :(

comment:6 Changed 9 months ago by joshms

  • Owner set to kris
  • Status changed from reopened to new

comment:7 Changed 9 months ago by kris

The fix here seems to work, so I'm not sure if we have another issue then. Can you enable CUPS debugging and send us logs?

Set "LogLevel? debug" in /usr/local/etc/cups/cupsd.conf, and restart cups. Then after you try to print something, send the output of /var/log/cups/error_log

Additionally, if you use foomatic drivers, you can set "debug: 1" in /usr/local/etc/foomatic/filter.conf, and send us the /tmp/foomatic-rip.log-* files for more debug info.

comment:8 Changed 9 months ago by q/pa

Thank you for your help, Kris. I think my installation might be quite damaged. Meanwhile, I have only one last BE snapshot left I can boot into, the rest is not accessible anymore (https://trac.pcbsd.org/ticket/1152). I guess I better do a fresh install. If this problem turns up again, I will let you know. Sorry for the inconvenience. At least I learned how to produce useful logs.

comment:9 Changed 9 months ago by kris

  • Resolution set to invalid
  • Status changed from new to closed

No prob! Grab the latest 10.0.2 ISO and try that for testing if you want :)

comment:10 Changed 7 months ago by q/pa

I did a fresh install of the latest 10.0.2 ISO recently (staying on PRODUCTION this time) but the problem persists. :(
The pcbsd-meta-hplip pkg is installed.

I dare not to upgrade my other system (10.0.1) until that problem is resolved.

I will try to produce some logs and post them here.

Changed 7 months ago by q/pa

CUPS error log

Changed 7 months ago by q/pa

foomatic-rip log

comment:11 Changed 7 months ago by q/pa

Using the hpijs or cups series 5900 driver results in printing lots of pages of garbage as described above.

Using the HP-Deskjet-5940.PPD file which works perfectly well in PCBSD 10.0.1 and 9.x results in the message "filter failed" and no printing action at all.

I thought about downgrading CUPS to 1.5.4 and testing that but I do not know how to downgrade a package.

I have attached 2 log files (CUPS error log and foomatic-rip log).

comment:12 Changed 7 months ago by q/pa

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:13 Changed 7 months ago by joshms

  • Resolution set to deferred
  • Status changed from reopened to closed

ticket has been migrated. closing on trac.

comment:14 Changed 7 months ago by q/pa

What I forgot to say: Normally, my printer is connected to my NAS and I access it via address ipp://192.186.... which is working fine with my PCBSD 10.0.1 running desktop PC.

Now I just tried something: I connected my laptop, which is running PCBSD 10.0.2, via USB cable to the printer and set it up with the HP device manager. This way, the manager automatically selects the 5900 series driver. Printing a test page worked fine.

Afterwards I just plugged the printer back into my NAS and changed the printer address back to the (correct) ipp:// address and... I am back to my old problem with the printer producing countless pages of nonsense.

Note: See TracTickets for help on using tickets.