You are here:
PrintLayout V2 Contract
Customize the look and feel of reports and invoices, add logos and signatures, and preview the PDF print layout of your reports.
PrintLayout V2 contract enables the print preview functionality in the Consumer Goods Cloud offline mobile app. Use this functionality to preview a report or invoice the way it appears on the printed page by designing a print layout contract. It’s mainly defined with simple XHTML, but there are other interesting features that you can explore. Every PrintLayout V2 contract that you create is stored in the PL folder of an object.
- PDF Creation
To enable the creation of a PDF report, define a PRINTV2 action in the Process contract using its attributes and child elements. For example, the process with PrintV2 Action in core contracts is Order::HeaderTabProcess. - PrintLayout V2 Structure
You can easily create a contract by cloning a PrintLayout V2 contract and modifying it to suit your needs. - The Basics
Know more about how to use the elements of PrintLayout. - Custom Font Setup
Set up custom fonts to enable PDF printing of reports in custom or non Latin fonts such as Korean, Chinese, or Thai in the Consumer Goods Cloud offline mobile app. First add the custom font as an external file and then define the font family in VS Code based Modeler.

