Insert page break for printing
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Hello, enillrae!
You can use CSS style for that. Just give a CSS class to a specific element on the form or even insert an HTML control where you want page break to occur and use one of the following styles for it in the CSS editor:
https://www.w3schools.com/cssref/pr_print_pageba.asp
https://www.w3schools.com/cssref/pr_print_pagebb.asp
https://www.w3schools.com/cssref/pr_print_pagebi.asp
You can use CSS style for that. Just give a CSS class to a specific element on the form or even insert an HTML control where you want page break to occur and use one of the following styles for it in the CSS editor:
https://www.w3schools.com/cssref/pr_print_pageba.asp
https://www.w3schools.com/cssref/pr_print_pagebb.asp
https://www.w3schools.com/cssref/pr_print_pagebi.asp
Cheers
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Okay, try to add this <div> where you want page to break:
And try this code out in CSS editor:
Adjust margin for the desired effect on your Form.
Code: Select all
<div class="print"></div>
Code: Select all
@media print {
.print {
margin-bottom: 1000px;
}
}
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests