Title: Table Name in Print
Last modified: January 22, 2020

---

# Table Name in Print

 *  Resolved [mehran98](https://wordpress.org/support/users/mehran98/)
 * (@mehran98)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-name-in-print/)
 * Hello
    I need Table Name show in Print ( Also maybe Table Description ) I am 
   using DataTables Buttons. How could it be ?
 * Regards

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-name-in-print/#post-12352861)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * For this, you could try adding a “Custom Command” on the table’s “Edit” screen:
 *     ```
       "buttons": [ { "extend": "print", "title": "Your table title", "message": "Your table description"} ]
       ```
   
 * (Depending on whether you are showing other buttons as well, this needs to be
   adjusted. If this is the case, please post a link to the page with your table.
 * Regards,
    Tobias
 *  Thread Starter [mehran98](https://wordpress.org/support/users/mehran98/)
 * (@mehran98)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-name-in-print/#post-12353101)
 * Hi
    I intent to put an image in head of table ( In Print ) and use this command:
 * “buttons”: [ { “extend”: “print”, “title”: “<div style=” text-align:center”></
   div>”, “message”: “Your table description”} ]
    Now image show corretly in print
   ans also webview but in webview , But DataTables Buttons not show in webview.
   2. Is it possible/how to show username/nicname in this area?
 * Regards,
    Meran
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-name-in-print/#post-12353114)
 * Hi,
 * I don’t know if you can use HTML code there, to be honest. If so, you would have
   to escape the quotation marks, like
 *     ```
       <div style=\"text-align:center\">
       ```
   
 * and so on, with `\"` instead of `"` in the content.
 * I don’t see a way to use the user name here, sorry, because this is dynamic information
   while the command is static. You could maybe use JS variables here though.
 * Regards,
    Tobias

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

The topic ‘Table Name in Print’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/table-name-in-print/#post-12353114)
 * Status: resolved