Printer Friendly - Landscape

Printer Friendly - Landscape

ImagineerImagineer Posts: 7Questions: 0Answers: 0
edited June 2012 in TableTools
Is there any way to print 'Landscape' through 'Printer Friendly' functionality?
I am using 'Rotation=3' to rotate and then print. It is not print the complete table.

Replies

  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin
    http://datatables.net/extras/tabletools/button_options#sPdfOrientation

    Allan
  • ImagineerImagineer Posts: 7Questions: 0Answers: 0
    This is for 'PDF'. I need for Printer Friendly or 'Print'.
  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin
    Oh I see - in that case no - Javascript has absolutely no control over the OS's print dialogue box (that would be a huge security whole) so there is no way, in Javascript, to set the layout of the printed document. The end user just needs to click the layout they want.

    Allan
  • ImagineerImagineer Posts: 7Questions: 0Answers: 0
    Ohh Ok, thanks :-)
This discussion has been closed.