I have a Samsung CLP-315 printer. It works will with CUPS and foo2qpdl driver. Just ignore all the anti-distro junk written at driver’s homepage, run aptitude install foo2zjs, and enjoy working printer on consistent system.

But since the beginning there was a strange problem – printing worked from everywhere, but not from iceweasel. If tried to print from the browser, error page was printed instead. So had to print to a pdf file, open it in kpdf, and print from there. Working but annoying.

At last decided to do something with this. A quick search shows that problem is known, is not new, and as such has little chance to be quickly resolved.

But then I found this hint.

I immediately checked paper size in iceweasel’s print dialog – and yes, it was Letter! But the setting was greyed out, so unchangeable… I’ve tried to play with about:config (searching for print there), then tried to remove all printer setup from prefs.js… no result, still Letter without option to change.

But a web search helped again. Someone pointed that iceweasel has … a separate menu item for page setup, at File::Page setup! That is where paper size has to be configured, tab within print dialog does not work!

Mozilla people are wonderful UI designers. Many thanks to them for months of non-working printing.

I’ve told myself zillion of times that I should perform active steps to get rid of bugs on computers I use – search the web for solutions, report bugs, fix code myself if nothing helps. That’s the very point of using free software, after all. But still laziness lack of free time random real-life issues make me not to do so too often. So also many thanks to myself for months of non-working printing.

But now printing from browser works, and that’s good news :) .

Update: full “thanks” above should be directed to, in order:

  • Samsung firmware developers, who coded firmware that, when printing error page (btw wasting paper and toner), doesn’t print what is actually wrong (paper size mismatch),
  • Mozilla developers, who don’t read default paper parameters from CUPS, but instead use own broken scheme,
  • myself, for living with problem and not looking for solution for months,
  • foo2qpdl upstream, who, by his anti-distro junk, turns people looking for solutions into wrong direction,
  • Mozilla developers, who use braindead page setup UI.

And real thanks to the person (link above) for the hint about page size in applications that are unable to print :)

© 2011 yoush.homelinux.org Suffusion theme by Sayontan Sinha