I need to be able to export a table or list on a given page to a pdf or at the very least to a printable format so that people using my site can click a button and have a printer-friendly layout of the info that they can print out at home... unfortunately tables (especially ones with background-colors in the cells to color-code the categories) don't want to print correctly.

Are there any suggestions or tutorials or preexisting systems I could integrate that might help me out with this?