Recently I’ve had trouble with CUPS and my network printer on kernels after 2.6.23 – the printer would output the top few centimetres of the page and then stop and wait indefinitely. That would happen regardless of the versions of CUPS, Foomatic, or HPIJS.
I was able to print using the 220.127.116.11 kernel I had on my old GoboLinux install (lucky I kept that around too…), which led me to do some investigating. Lucas helped on IRC and pointed me to this Debian list post, and ultimately I got to a post suggesting that a similar problem was caused by FRTO on lkml.org.
Indeed, that does work – `echo 0 > /proc/sys/net/ipv4/tcp_frto` makes printing work perfectly. I’ve added that to my bootscripts and everything is right with the printing world once more.
Hopefully this post will help somebody else with the same problem; I’ve tried to put in as many of the keywords I was searching for so they’ll have an easier time finding it. It should apply to kernel 2.6.24 as well, and anything after 18.104.22.168 according to another report.