How to use the low-code development platform to quickly realize the document printing function?

Every enterprise often needs to print various paper documents online during the daily work and business flow, such as vouchers, purchase orders, inbound and outbound documents, sales contracts, etc. Different enterprises have personalized typesetting requirements. Refilling business data on the basis of fixed document templates will inevitably encounter problems such as data errors and omissions, time-consuming and labor-intensive problems.

In fact, although "paperless office" is becoming a major trend of enterprise informatization, the report module that can print out documents and reports still occupies a place in the enterprise system and is indispensable. For a long time, the development of the report module is difficult and the workload is high, which often becomes the bottleneck of enterprise system development.

In order to cope with such difficulties, users can design printing templates by using familiar page elements such as tables and graphic lists in the LeaRun low-code development platform, and precisely control behaviors such as paging and repetition, and finally develop documents and reports that meet business needs and other report printing functions. At the same time, the LeaRun low-code development platform provides two printing templates, general template printing and word template printing, with various usage methods to meet business needs in various scenarios.

The Word print template can insert the field codes in the form on the basis of the Word document, typesetting and formatting the content quickly and conveniently, and can print the form data according to the format of the Word document when printing, making the printing effect more beautiful and major.

The user only needs to create a new Word document locally, configure the print format in Word according to business requirements, and bind the value of the form component or the audit information of the process audit node according to the label description.

Then open "Print Design" - "Word Template", click "Add", fill in the basic information of the word template, and upload the locally configured word document.

 Check the "Word Print" button in the "Form Publishing" that needs to have a print form, or bind the word template in the process template node. After configuration, there will be a "Print Form" button, click to jump to the print interface.

The general template design uses the canvas design mode, which is easy to use. After the print template is configured, you can click "Preview" to view the overall printing effect.

The left part is the control area, which can be dragged in the design interface to adjust the size and position of the components. The right part is the attribute setting area, where users can set parameters such as printing area, background, margin, paper type, header and footer, and set attributes of components to precisely control the printing effect just like using Word.

In order to allow users to see the printing area more intuitively, the LeaRun low-code development platform also provides the function of printing reference lines, just like Office, what you see is what you get.

Check the "Print" button in the "Form Publishing" of the form that needs to be printed, and bind the general template. After configuration, there will be a "Print" button in the form list operation button. Click it to jump to the printing interface.

From web applications to report printing, the LeaRun low-code development platform has overcome difficulties one after another. While continuously lowering the technical threshold and improving development efficiency, it is also constantly iterating products, continuously expanding the application boundaries of low-code technology, allowing users to timely Obtain stable performance, efficient and easy-to-use development tools to quickly complete the layout of enterprise application systems.

Supongo que te gusta

Origin blog.csdn.net/weixin_42831704/article/details/131456988
Recomendado
Clasificación