| As there are three main defects in the applications of bar codes commonly used in packaging, which are the lack of generative algorithm of 2D PDF417 bar code, the irreversibility of the built bar code, and the unchangeableness of the color of bar code, this paper aims to design a new class of bar code based on coding principles of various bar codes and make it as an integrated software by using the methods of software programming; And it also aims to remedy the three defects as mentioned above. To achieve these goals, first of all, the national coding standards of various bar code systems have been learned. For the variety of bar codes, some commonly used ID bar codes and 2D PDF417 bar code have been especially selected and their coding forms have been comprehended by consulting the national standard. Secondly, computer algorithms for various bar code systems have been designed by combining the coding principles of various bar codes with the corresponding mathematic methods. Thirdly, the functions of reversibility of the built bar code and changeableness of the color of bar code have been improved by combining various build algorithms with the methods of software programming. As VC++ 6. 0 is used as the design platform for the generative system of bar code, and the ways of software programming have been learned and the build principles of program frame as well as the coding principles of menu, dialog box, toolbar, .document and view have beenapplied to finish the software finally. |