Font Size: a A A

Code Bar Print System Design And Realize

Posted on:2016-07-11Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2308330461485174Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
Barcode technologies were proposed in the Mid-20th century and have reached to a rather mature stage after several decades of development. Now it is widely used in the examination field with the popularity of various online scoring.Online scoring is one of the popular scoring ways adopted throughout the current examination field. In order to reduce the recognition error rate, printing barcode of keywords has replaced traditional way of daubing spots. But this kind of the barcode has strict printing requirements. Barcode problem can only be found until the examination time after a long-time transportation and distribution. So the inspection requirement for barcode quality is very high. Any missing will bring big costs and efforts. With the widely use, the barcode have more complex requirements about the output style and appearance. Printing of the barcode in examination field should be ordered by examination room, and the front of the barcode must add the examination room’s information. Besides, the printing quantity is large, so there should have a network version to support printing in multiple machines with a soundly quality control at the same time. This function is not commonly used in current market.This paper studies the realization and recognition algorithm of code 128, and gives some code examples. Since the contents of the exam barcode are mainly numbers, we focus on the introduction of character set C. The recognition algorithm of 128 barcode is more complex, involving some image processing algorithms, so this paper only introduces image binarization algorithm and edge detection operator algorithm.Based on the consideration of developing efficiency and hardware communication, the barcode printing system uses DELPHI language developments and C/S architecture. The background database is SQLSERVER. Considering the scalability of the future system, JSON protocol is used in the communication service. This kind of standard protocol is convenient to add new printer and easily to change to B/S architecture mode. The barcode printing system introduced in this paper is a network version. Considering the business marketing, a stand-alone version is also designed with DBF as the database.This paper introduces a complete implementation framework of barcode printing system and four sub-functions. Besides, it also gives a sound description of database and main modules design in the application development. ZEBRA barcode printer is used in this system. In order to get a better print result, ZPL Ⅱ command set is used to control the printer instead of traditional WYSIWYG The disadvantage of this method is unable to directly print Chinese characters, but Chinese characters label must be supported. This paper describes how to exchange Chinese characters from bitmap to dot matrix, and then sent directly to printer to realize Chinese characters’ printing.
Keywords/Search Tags:Code 128, Character Set, Edge detection operator, DELPHI, C/S Arc, JSON, ZPL Ⅱ Commands
PDF Full Text Request
Related items