

- How to insert page breaks in a pdf pdf#
- How to insert page breaks in a pdf software#
- How to insert page breaks in a pdf code#
Click 'OK' to save the rules and 'Finish' the SmartForm. Add a "Transfer Data" Action to the rule and drag the 'PDF_Page_Break' Expression to the Data Label.Ĩ. To load the existing rule click Yes, otherwise click No to configure a new Rule"Ĭlick Yes and the following steps should be added to the existing rule.ħ. "You are trying to configure an existing rule. The SmartForm may already have a rule titled, "When the Form is Initialized". Click 'select event' and choose Initialized. Click on the SmartForm's Rules tab and add a 'When the Form raises an event' rule to the form. The needs to be set to Literal by enabling the checkbox in properties.Ħ. Drag a from the Toolbox and drop it on the SmartForm where a Page Break is needed. The Expression wizard should look like this when complete:Ĥ.
How to insert page breaks in a pdf code#
Add the following code to the Expression Details.

In Expressions, click 'Add' and give the Expression a name. Open the SmartForm and click the Expressions button.Ģ. Please CLICK HERE for more information on the 'Save as PDF' Control and instructions for configuring the control.ġ.
How to insert page breaks in a pdf pdf#
Before You BeginĬonfirm that the SmartForm utilizes the Save as PDF control correctly. When custom page breaks are required, they can be added using simple page-break-before and page-break-after CSS styles. Please note that K2 automatically inserts page breaks when needed, paying attention not to break lines of text or images. To do this, you need to add a page break for. This is used with the Save as PDF control to print SmartForms as PDFs with custom Page Breaks. For example, if your document were grouped by Region, you would want each region to start printing on a new page. The goal of this KB is to provide a technique to add a Page Split or Page Break via CSS code to a SmartForm.
How to insert page breaks in a pdf software#
This article is not considered official documentation for K2 software and is provided "as is" with no warranties. The content may include typographical errors and may be revised at any time without notice. This article was created in response to a support issue logged with K2.
