[Reprinted]. Net implementation (build solution (support for B/S and C/S ))

Source: Internet
Author: User

Print I think everyone has encountered this problem. I don't want to use those powerful print controls. I also encountered this situation during my development. I want to implement basic paperSetThat is to say, print the specified texts on A4 paper, such as different paper contract agreements; there is no suitable third-party tool for searching on the internet, either a complicated report table designer or a series of registration tools;

So I realized the template print designer componentSetMultiple pages can be printed at the same time. Multiple copies can be printed at the same time to generate all the documents in one click;

The printing tool supports C/S and B/S (ActiveX controls), and the effect is basically the same as the operation method. Let's take a look at the overall Interface C/S:

B/S (ActiveX) interface:

The tool is based on a set of custom templates. The Dom model is used to instantiate the position of the winfomr control. The coordinates are determined based on the basemap and then printed directly through GDI +; on the left side is the generated custom template list, and the editing area in the middle supports real-time drag and drop. The following is the property editing area of the Control. Right-click a property and a list of options for this property will be displayed, after setting, click "application" to modify the DOM document of the current template. You can select multiple documents and edit them at the same time. After editing, click "file"> "preview template" in the menu bar, you can preview all the edited documents at the same time. All the data on the interface is dynamically bound to a single document through the background and can be bound to a single document; I will not talk about the specific details due to time issues. I have uploaded all the source code. If you encounter any problems during use, please contact me;

For: http://files.cnblogs.com/wangiqngpei557/PrintThemp.rar

Print I think everyone has encountered this problem. I don't want to use those powerful print controls. I also encountered this situation during my development. I want to implement basic paperSetThat is to say, print the specified texts on A4 paper, such as different paper contract agreements; there is no suitable third-party tool for searching on the internet, either a complicated report table designer or a series of registration tools;

So I realized the template print designer componentSetMultiple pages can be printed at the same time. Multiple copies can be printed at the same time to generate all the documents in one click;

The printing tool supports C/S and B/S (ActiveX controls), and the effect is basically the same as the operation method. Let's take a look at the overall Interface C/S:

B/S (ActiveX) interface:

The tool is based on a set of custom templates. The Dom model is used to instantiate the position of the winfomr control. The coordinates are determined based on the basemap and then printed directly through GDI +; on the left side is the generated custom template list, and the editing area in the middle supports real-time drag and drop. The following is the property editing area of the Control. Right-click a property and a list of options for this property will be displayed, after setting, click "application" to modify the DOM document of the current template. You can select multiple documents and edit them at the same time. After editing, click "file"> "preview template" in the menu bar, you can preview all the edited documents at the same time. All the data on the interface is dynamically bound to a single document through the background and can be bound to a single document; I will not talk about the specific details due to time issues. I have uploaded all the source code. If you encounter any problems during use, please contact me;

For: http://files.cnblogs.com/wangiqngpei557/PrintThemp.rar

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.