Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: ArturoRobles

#827717
Hi,
I'm using processmaker version 3.1.3 the page breaks is not working by adding this code for both pdf and doc
Code: Select all
<style>
.pageBreak { page-break-before: always; }
</style>

<br class="pageBreak">
I have solved by trying this code.
To:
Add this code in trigger.
Code: Select all
@@pageBreak = '<p style="page-break-before: always;">';
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <style>
        .pageBreak { page-break-before: always !important; }
        </style>
    </head>
    <body>
		<p align="center">
			<br class="pageBreak"/>
			@#pageBreak
		</p>
	</body>
</html>
Note: This works well for me PDF and DOC. Here i have add two page break one page break works for the pdf another DOC. Someone will get help by this reference.

Thanks
Jemiris S
#827903
Hello!

Exactly that is the solution, for more information about it you can check the documentation of the ProcessMaker about this point! The link is the following:
https://wiki.processmaker.com/3.0/Output_Documents#Inserting_Page_Breaks

Best regards, Ricardo.
Last edited by RicardoMG on Wed Apr 22, 2020 8:43 am, edited 1 time in total.

Excellent read, Positive site, where did u come up[…]

Hello ProcessMakers! We are extremely proud to an[…]

How processmaker load cases on home page of user? […]

Hey everyone, I'd appreciate any help you might be[…]