How to realize high-precision report overlapping in report design?

In many industries, bills have strict industry specifications, and the format cannot be modified. Once the format is changed, the bill data will become invalid. Therefore, under normal circumstances, we will manually fill in the data information in the printed version of the report in the pre-designed format, such as the common various types of ledgers, reimbursement forms, etc. to fill in the data.

 

There is no problem in manually filling in a single bill, but with office automation, a large amount of data needs to be processed electronically, which is not only efficient but also easy to save and less prone to errors. When bills become a routine office operation, manual filling is not only unsatisfactory but also very inefficient, and because the format of bills cannot be modified, traditional reporting tools usually use measurement methods to determine the location of data areas to design reports. As a result, it is not only time-consuming and labor-intensive to produce a printed report of a ticket, but also it is difficult to ensure the validity of the ticket, and it is even more difficult to meet the requirements of new ticket formats that appear in the future. The emergence of the set-printing report solves this problem and simplifies the function of making and printing electronic bills.

 

Set printing report
Set printing is also called positioning printing, that is, on a pre-formatted bill, print the data content that needs to be filled in with zero error. The preset bill paper can be understood as setting a specific report background (electronic bill version) for the report during the report making process, and then setting the data items to be filled in and matching data controls according to this background. So when printing only the data is printed, and the entire background is not output to the printer. Set printing report can also be understood as "set format printing". The function of setting reports is the most basic and most commonly used function provided by the report development tool and the most professional function of the report.

 

Coding realizes overlapping code, not to mention the workload, the implementation logic is very complex, and the accuracy cannot be controlled. Grape City Report has been focusing on the reporting field for 20 years, and supports high-precision report display, printing, and exporting. The clever design enables the realization of overlapping printing The quick effect has relieved countless developers' heart problems.

As shown in the print in the image below, it is clear that in order to align the capitalized "cash payment" column, the printing of other items has been deviated.

 

scenes to be used

The overlay function is widely used in report printing in all walks of life. Such as invoice printing, shipping bills, and various common vouchers, etc., let's take a look at some examples of industry sets of reports.
Invoice printing in the financial system is a very typical example of a set of reports. In the report design process, only information such as name, header, address, telephone, etc. is needed, and the entire background will not be output to the printer.

Shipment bill is a very typical set of reports in e-commerce systems. When printing, only data is printed, such as customer code, shipping company, contact person, address and other information.

In addition to the above-mentioned common printing function of printing reports, such as deposit receipts in our daily life, printing of certificates and receipts is the printing function.

Implementation

When the Grape City Report realizes functions such as invoice printing, invoice printing, logistics list printing, commodity barcode printing, and employee card printing, you only need to load the set of paper as the background image of the report in the design report stage. The data is printed to the corresponding position of the nesting paper, and the nesting is so easy to achieve.

 

1. Create a new report file

Scan the format sheet to get a copy and set it as the background layer; create an RDL report, add a background image, and display or hide the background image according to the printing parameters. Note that if there are very strict requirements on the format, it is recommended to select the page report.

 

 

2. Add a background image to the report

After the report is added, add the VAT invoice background image in the [Embedded Image] node in the report explorer.

 

3. Add a picture control

Add a picture control to the designer and set the following properties of the picture:

 

4. Set the background image

At this point, the background has been set in the Default layer, and the background layer usually does not need to be printed (because it is printed according to the standard form), so set the TargetDevice property of the Default layer.


Next, set the overlay content control.

 

5. Use report layering for overprinting

The Grape City Report Control is the first to put forward the design concept of the report layer. The report layered design is the group management and design of the controls in the report. It can lock/unlock, add/delete, display/hide, adjust the transparency, etc. of all the controls in the same group. Operation, decompose report design, and reduce the difficulty of designing complex report templates. At the same time, its visibility on different devices can be controlled in units of layers, such as whether to display on paper, whether all controls of this layer are output to the screen, and whether this layer is used for export. Zero coding realizes Chinese-style report requirements such as multiple copies and report sets.

 

6. Realize the key point of double play - new layer

Open the [Layer Manager] Click the + sign, name it as the control layer, select the control layer, and add the corresponding control in the position of the control layer.


Add controls to the control layer 

 

7. Preview the report

 

Reprint please indicate the source: Grape City Report

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326180215&siteId=291194637