WRT54G and HP 7410 All in One Printer disconnects

I have HP 7410 connected wireless to WRT54G. Ever once in a while the printer disconnects. I reboot the router and everything is ok. When the printer fails to print from a wire network computer (happens on more than one computer), I check the printer status and it thinks it is connected. And as soon as I reboot the WRT54G, it prints out any spooled pages that did not print. This happens after idle time. It never fails while printing. I also have a notebook computer connected to WRT54G and it gives no connection problem.