This article was reproduced from: http://blog.csdn.net/chz_cslg/article/details/25415347
In the B/S mode development, printing is a big problem. Whether using the direct output of the page or quoting WORD.DLL, there are shortcomings.
The best way to do this is to use third-party controls, which have many print controls on the Web. summarizes the following 3 recommendations to everyone:
1,? Dlprinter
Dlprinter Print control is completely free, the interface is generous, easy to use, but no signature, support print preview, direct printing, you can set the header, footer, page margins, number of copies, paper size and other information. Unfortunately the author does not know what the reason is, since 2007 has not been updated.
: Http://files.cnblogs.com/panshenglu/DLPrinter.rar
Print the preview map:
2. Out-of-wall printing controls
The off-wall print control (qwprint) is a small printing aid that helps programmers who make B/s programs more flexible in controlling client-side printing.
Features:
• Compact and lightweight, when the client is first used, it can be used only by downloading an ActiveX control.
• Control multiple print settings. Programmers can make multiple settings through controls, including setting page margins, header footers, paper size, and other parameters.
• Precise control of printing. Can facilitate the implementation of the Web under the set of operations.
: http://files.cnblogs.com/panshenglu/out-of-wall print control. rar
Print the preview map:
3, LODOP (highly recommended)
For this print control, use one word to describe: powerful! Not only is it easy to call, but it's much more powerful than you think.
More about everyone to the author blog for more information.
: Http://files.cnblogs.com/panshenglu/lodop4.0.zip
Print the preview map:
PS: Three things have been passed to my micro-cloud.
Go Web third-party print control [ASP. NET common tools]