Jump to content

Printing using window.open()


gardan06

Recommended Posts

Ok, i have no problem using window.open() it works fine to me.

 

However, the problem is that the page's table is too long, it doesnt fit to an A4 in printing, even in landscape mode. The worse part is that it does not create a second page for the part that was cut, but what was weird is that it only doesnt accept 2nd pages horizontally, vertically long pages are 2nd page-able.

 

My question is: how can i be able to print that 2nd page?

Link to comment
Share on other sites

Set the width of the table to a percentage (like width="100%")

 

This should help a bit unless some of your cells have a very wide text or you have too many cells. In that case, you might need to rethink the table structure for printing.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.