Jump to content
  • 0

Print the page into a PDF



Hi everyone,

I added a print this page button into my form. This is the code.

<div style="margin-left: 140px;"><button onclick="window.print()">Print this page</button></div>

It can print the page but it does not include the other contents like lines.

Is there anyone who knows what shall I include on the code ?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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...