improved html table printer.