• Resolved swami12

    (@swami12)


    Hi Tobias,

    I have installed the tabletools plugin and I’m getting the icons to show above my table at http://meltaustin.com/class-calendar/

    However, wondering how in the world to format the table for a nice print out. It would appear that perhaps a Custom Command could be entered for the table, but I’m at a complete loss how.what to do there.

    Ideally, the table would be formatted for a single landscape page.

    Thanks for your help,
    Nancy

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Nancy,

    thanks for your post, and sorry for the trouble.

    The commands to the browser on how to lay out a table for printing can indeed be achieved by adding some “Custom CSS”. This could also be influenced by the CSS of your theme.
    A good overview for that (not directly related to tables) is http://www.smashingmagazine.com/2011/11/24/how-to-set-up-a-print-style-sheet/

    However, due to how printing throughout different browsers works, and given that tables have restrictions in the possible layouts (due to their tabular structure), it might be a better choice to create e.g. a PDF version of your table offline (e.g. in Excel) and then offer that for download (and then the user can print the PDF).

    Regards,
    Tobias

    Thread Starter swami12

    (@swami12)

    Hi,

    You’re probably right. Its just easier to make a PDF. That’s what it is designed for!

    thanks

    Nancy

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Nancy,

    correct. And that way you can be sure that everybody gets the same style for the printed table.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Formatting Tables for Print’ is closed to new replies.