Abstract:For the Web report printing in information management system, a method based on data export is designed. The reports with strict requirements for the reporting style are generated through replacing the data in a Word template. Then they can be downloaded and printed. For less demanding style statements, data are exported and assigned to range by using two-dimensional array to directly generate Excel reports. It is studied how to reduce the difficulty of programming, improve versatility and improve the code efficiency of program execution. At the same time, the implementation of the Web report printing method is introduced in details. In practice, the method has been used successfully in information management system for a trade association.