--- title: "Patterns (Multiple Pages) - Lasernet 9 Form Editor Training" slug: "patterns-multiple-pages" description: "Each sheet has a First, Middle, Last, and Single Page for formatting the output. Read the article to learn more about multiple pages patterns." tags: ["Form Editor", "Lasernet 9 ", "Patterns"] updated: 2026-03-06T08:18:34Z published: 2026-03-06T08:18:34Z canonical: "kb.lasernetgroup.com/patterns-multiple-pages" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # Patterns (Multiple Pages) **Applies to:** Lasernet 9 Each sheet has a **First**, **Middle**, **Last**, and **Single Page** for formatting the output. These pages can contain overlays providing the graphical presentation of the print, rearranges representing the actual printed data, fixed texts and scripts. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083385464.png) If your print job can be printed on one page only, the **Single Page** design is then used. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083381377.png) If your print job spans more than one page, you can use a **First**, **Middle**, and **Last Page** to design your final output document. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083381544.png) In other words, you have full flexibility in designing your output pages, and you no longer have to print pages with very little content. > [!NOTE] > Note > > This article describes a software version that is no longer supported. Although the software will no longer receive updates or technical support, existing documentation, such as this article, will be retained for reference purposes but will no longer be updated. If you have any questions, contact [Lasernet Support](https://support.lasernetgroup.com/new-ticket). ## Exercise Download and import the attached configuration called **16. Patterns (Multiple Pages) in Lasernet Developer 9**. Afterward, navigate to the **Forms** section and open the **Sample** form. 1. Select another grab file that contains enough item lines to make it necessary to use more than one page. On the Menu bar, click **Form**, and then click **Select Grab File**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-NHCOHQX1.png) 1. With the dialog displayed, select the **Sample (Multiple Pages).xml** file. 2. Click the **Open** button. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083384507.png) The grab file you have opened contains more item lines compared to the previous grab file. If item lines do not fit a single page, you can select **First Page** and then **Last Page** to view all the item lines. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-FU5GZQNI.png) Now let us define more suitable settings in the Conditional Area for the form design. 1. On the Menu bar, click **Sheet**, and then click **Conditional Area**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-NAT7TTQG.png) 1. With the **Conditional Area** dialog displayed, click the **Edit** button. 2. Set **Start Y** and **End Y** positions for **First**, **Middle**, **Last**, and **Single Pages** as illustrated. Set **Start Y** to **110 mm** and **End Y** to **280 mm** for **First** and **Middle Pages** as well as **Start Y** to **110 mm** and **End Y** to **265 mm** for the **Last Page**. 3. Once you are done, accept changes by clicking **Ok** on both dialogs. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083383302.png) After you have defined new values in the Conditional Area for Start Y and End Y, the item lines also appear on the **Middle Page(s)**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-S3EWVH7H.png) 1. Right-click in the output view and select **Overlay Files** in the context menu that appears to open the **Overlay Files** tab in the **Sheet Options** dialog. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-8WG37B4P.png) 1. Select the **First**, **Middle**, **Last**, and **Single** checkboxes for the **Letterhead.pub.lnemf** and **Copy.pub.lnemf** overlays. Afterward, select the **Last** and **Single** checkboxes for the **Box** **with** **footer.pub.lnemf** overlay. 2. Another overlay with boxes included is needed. It should not have a footer for the **First** and **Middle** pages. Click the **Add** button to add such an overlay. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083383538.png) 1. Select the **Box** **without footer.oub.lnemf** overlay from the list. 2. Select the **First** and **Middle** checkboxes under **On page**. 3. Click **Ok** to accept changes for adding an overlay. 4. Afterward, click **Ok** on the **Sheet Options** dialog. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083385975.png) You have now added overlays for the **First**, **Middle**, **Last**, and **Single** pages. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-C5AASE75.png) And now, you can assign the required rearranges and add them to the **Single Page**, the **First Page**, the **Middle Page** and the **Last Page**. To this end, follow these steps: 1. Switch to the **Single Page** tab. 2. Open the properties of the rearrange containing the Sparrow Wholesales rearrange text. Select the **First**, **Middle**, **Last** and **Single** checkboxes in the **Absolute** group box. 3. Click **Ok** to accept the changes. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083387353.png) You have now added the rearrange to all the pages. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-TVLK9ML3.png) Let us do the same for the rest of rearranges. To this end, follow these steps: 1. Switch to the **Single Page** tab and. 2. Select all rearranges in the header by holding down **Shift** and clicking the required rearranges, or you can draw a rectangle around the rearranges using the **Select** tool. 3. Right-click one of the selected rearranges, select **Absolute**, and then click **All** in the context menu that appears. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-CFDPKAWI.png) 1. Select both rearranges in the footer of the document. Right-click one of them, select **Absolute**, and then click **Last** in the context menu that appears. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-WSGP53YQ.png) The **Total** label as well as the total amount appear only on the **Single** and **Last** pages. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-BXFSSIQ4.png) 1. In the header, you can view the page number and how many pages are in the final document. To this end, a script is inserted. The number of pages is calculated by using the Start Y and End Y positions in any of the Conditional Areas and the total progress for all the patterns. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-B9S05TE3.png) 1. On the Menu bar, click **View** and then click **Run JavaScript**, or click **Shift+F5** to show the script result. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-L4ITP9AL.png) 1. You can show the page number for each page by switching to the **First**, **Middle**, and **Last** tabs respectively. 2. The script visualizes the result of a page calculation which corresponds to the selected page. 3. In the Edit Rearrange dialog, you can edit the **Page format** if **Type of insert text** is set to **Page x of y**. **%1** stands for for the current page number. **%2** stands for the total number of pages. The parameters can be combined with a static text. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628083389085.png) ## Attachments - [16.-Patterns-Multiple-Pages.lnconfigx](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/16.-Patterns-Multiple-Pages.lnconfigx)