CN101697205A - Device and method for printing and comparing circulating label bar codes - Google Patents
Device and method for printing and comparing circulating label bar codes Download PDFInfo
- Publication number
- CN101697205A CN101697205A CN200910197870A CN200910197870A CN101697205A CN 101697205 A CN101697205 A CN 101697205A CN 200910197870 A CN200910197870 A CN 200910197870A CN 200910197870 A CN200910197870 A CN 200910197870A CN 101697205 A CN101697205 A CN 101697205A
- Authority
- CN
- China
- Prior art keywords
- printing
- data
- module
- circulating label
- circulating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Printers Characterized By Their Purpose (AREA)
- General Factory Administration (AREA)
Abstract
The invention provides a device and a method for printing and comparing circulating label bar codes, which belong to the technical field of bar code printing. The device for printing and comparing the circulating label bar codes is characterized by comprising a circulating label printing computer, wherein the circulating label printing computer is connected with a circulating label printer, a bar code reader and a concentrator through a serial port cable, a USB cable and a network cable respectively; the concentrator is connected with a pipelining server and a packing station through the network cable respectively; the circulating label printing computer is provided with a serial port blocking module, a global keyboard mouse hook module, a local area network data exchange module and a printing control module which are connected with one another in turn; and the printing control module is connected with the serial port blocking module. The device and the method have the advantages of being capable of determining the correctness of the printed bar codes and controlling the amount of products stacked on the packing station.
Description
Technical field
The present invention relates to a kind of circulating label bar codes print over to device and method, belong to the printing bar code technical field.
Background technology
Traditional circulating label bar codes printing equipment and method have following shortcoming: 1. circulating label bar codes adopts the mode of temperature-sensitive to print, if a certain heating wire damages on the thermal printing head, cause the damaged of this regional bar code, read bar code to the user and bring very burden.2. if print routine is provided with mistake when parameter is set, the bar code of printing and other machines are obscured, and bring very big hidden danger to the management of product.3. the printing of circulating label and the asynchronous accumulation that causes product of packing station load in mixture when packing and binding easily, produce bad.
Summary of the invention
The purpose of this invention is to provide a kind of circulating label bar codes print over to device and method, it can determine the quantity that product is piled up on the correctness of the bar code that prints and the control packing station.
In order to achieve the above object, technical scheme of the present invention provides a kind of circulating label bar codes and prints comparison device, it is characterized in that, comprise the circulating label printing computer, the circulating label printing computer passes through Serial Port Line respectively, USB line and grid line connect the circulating label printer, bar code reads instrument and hub, hub connects streamline server and packing station by grid line respectively, wherein, described circulating label printing computer has the serial ports blocking module, overall situation keyboard and mouse hook module, LAN data Switching Module and printing control model, the serial ports blocking module, overall situation keyboard and mouse hook module and LAN data Switching Module all connect printing control model.
Described printing control model connects the serial ports blocking module.
The present invention also provides and has adopted the circulating label bar codes of said apparatus to print comparison method, it is characterized in that concrete steps are:
The first step: the serial ports blocking module is intercepted the serially printing data;
Second step: overall keyboard and mouse hook module obtains the bar code scanning data, the shielding carriage return character;
The 3rd step: the serially printing data and second that printing control model obtains the first step go on foot the bar code scanning data comparison that obtains, if data are inconsistent, report to the police, if data consistent enters next step;
The 4th step: LAN data Switching Module contact streamline server obtains correct circulation code data, and printing control model judges whether the print parameters of setting is correct, if incorrect, reports to the police, if correct, enters next step;
The 5th step: LAN data Switching Module contact streamline server obtains the data of packing, and printing control model calculates product to be packaged and piles up quantity, judges whether pile up quantity allows, if do not allow, returning for the 5th step begins the place, if allow, enters next step;
The 6th step: the printing control model Print Label, return the first step.
The present invention can determine the correctness of the bar code that prints, and the quantity that product is piled up on the control packing station.Its advantage is:
1. adopt serial ports filtration drive technology to obtain the printing serial data, the data interception accuracy reaches 100%, and these data are as the benchmark of bar code scan data comparison.
2. keyboard and mouse overall situation hook is installed, and the shielding strip code scanner is to the influence of print routine.
3. obtain the correct information of circulation sign indicating number from the network management computing machine, the risk that mistake is brought when effectively avoiding print data to set.
4. obtain the bale packing real-time information from the network management computing machine, effectively control the streamline product and pile up quantity, thereby the operation rhythm of control production line avoids product to stack the operation confusion that quantity too much causes.
Description of drawings
Fig. 1 prints the comparison device synoptic diagram for circulating label bar codes;
Fig. 2 is the module connection layout of circulating label printing computer;
Fig. 3 prints the comparison method process flow diagram for circulating label bar codes.
Embodiment
Specify the present invention below in conjunction with embodiment.
Embodiment
As shown in Figure 1, for circulating label bar codes is printed the comparison device synoptic diagram, described logical label bar codes is printed comparison device, comprise the circulating label printing computer, the circulating label printing computer reads instrument and hub by Serial Port Line, USB line and grid line connection circulating label printer, bar code respectively, and hub connects streamline server and packing station by grid line respectively.The circulating label printing computer is located at the upstream for the treatment of packaged products stacking place, treat packaged products stacking place be located at the packing station the upstream.
As shown in Figure 2, module connection layout for the circulating label printing computer, described circulating label printing computer has serial ports blocking module, overall keyboard and mouse hook module, LAN data Switching Module and printing control model, and serial ports blocking module, overall keyboard and mouse hook module and LAN data Switching Module all connect printing control model.
Wherein, the formation of each module and function are as follows:
1. serial ports blocking module---filtration drive file:
Do not open serial ports and obtain one of method of serial data, the filtration drive that serial ports is installed exactly.Filtration drive can be last filtration drive according to different requirements, also can be following filtration drive.Be called filtration drive if filtration drive is attached on physical drives (PDO) layer, otherwise (but on bus driver) is called filtration drive down.At present common have WDM and NT formula drive.The present invention adopts filtration drive under the NT formula.The reasons are as follows: NT formula filtration drive is more flexible, and registration table is not set, and searching equipment in internal memory is created filtration drive and be attached to this driving voluntarily.At first in driving entrance function, be provided with and send routine--IRP_MJ_READ, IRP_MJ_WRITE, request package such as IRP_MJ_CREATE, load driver in the Ctrl2capInit function is constructed a UNICODE character string then, and this character string is exactly the implementor name of serial ports, next create a new equipment, and will oneself be attached on the original serial port drive, if success, the monitor request bag just can obtain the data in the serial ports.
2. overall keyboard and mouse hook module---dynamic link libraries file:
A. obtain the data of keyboard (comprising that bar code reads instrument barcode reader) input, if carriage return message pass-along message down not just just shields the carriage return character, this moment, other processes can not respond keyboard enter key message.Other keyboard message do not shield.The message that dynamic link libraries obtains adopts the mode notification application that sends message.
B. obtain the handle of print button of print routine and the coordinate of cursor, click for the left button of the mouse in this zone and shield, method and keyboard shield similar.Prevent that the operating personnel from printing too much label with the click print button, and make the product quantity of accumulation not controlled.
3. LAN data Switching Module:
By with streamline on server carry out exchanges data, obtain the tag serial number of the product of packing, because sequence number is continuous, the tag serial number of printing just obtains the product stacking quantity of baler position and the value comparison of setting just can determine that can printer continue to print so compare.Can also obtain the data such as model of product from the server of streamline, whether correct in order to confirm the print What that operating personnel set.
4. control the print routine module
Receive the message that serial ports blocking module and overall keyboard and mouse hook module transmit, judge that serial data and bar code read the consistance of instrument (barcode reader) data, the data judgement of office of acceptance's area network data Switching Module is provided with the correctness of parameter and the quantity that counting yield is piled up, and judges whether to allow to print next label.If allow, just the print button handle to print routine sends click message, control print routine Print Label.
As shown in Figure 3, print the comparison method process flow diagram for circulating label bar codes, described circulating label bar codes is printed comparison method, and concrete steps are:
The first step: the serial ports blocking module is intercepted the serially printing data;
Second step: overall keyboard and mouse hook module obtains the bar code scanning data, the shielding carriage return character;
The 3rd step: the serially printing data and second that printing control model obtains the first step go on foot the bar code scanning data comparison that obtains, if data are inconsistent, report to the police, if data consistent enters next step;
The 4th step: LAN data Switching Module contact streamline server obtains correct circulation code data, and printing control model judges whether the print parameters of setting is correct, if incorrect, reports to the police, if correct, enters next step;
The 5th step: LAN data Switching Module contact streamline server obtains the data of packing, and printing control model calculates product to be packaged and piles up quantity, judges whether pile up quantity allows, if do not allow, returning for the 5th step begins the place, if allow, enters next step;
The 6th step: the printing control model Print Label, return the first step.
Claims (2)
1. a circulating label bar codes is printed comparison device, it is characterized in that, comprise the circulating label printing computer, the circulating label printing computer passes through Serial Port Line respectively, USB line and grid line connect the circulating label printer, bar code reads instrument and hub, hub connects streamline server and packing station by grid line respectively, wherein, described circulating label printing computer has the serial ports blocking module, overall situation keyboard and mouse hook module, LAN data Switching Module and printing control model, the serial ports blocking module, overall situation keyboard and mouse hook module and LAN data Switching Module all connect printing control model.
2. the circulating label bar codes of the described device of claim 1 is printed comparison method, it is characterized in that concrete steps are:
The first step: the serial ports blocking module is intercepted the serially printing data;
Second step: overall keyboard and mouse hook module obtains the bar code scanning data, the shielding carriage return character;
The 3rd step: the serially printing data and second that printing control model obtains the first step go on foot the bar code scanning data comparison that obtains, if data are inconsistent, report to the police, if data consistent enters next step;
The 4th step: LAN data Switching Module contact streamline server obtains correct circulation code data, and printing control model judges whether the print parameters of setting is correct, if incorrect, reports to the police, if correct, enters next step;
The 5th step: LAN data Switching Module contact streamline server obtains the data of packing, and printing control model calculates product to be packaged and piles up quantity, judges whether pile up quantity allows, if do not allow, returning for the 5th step begins the place, if allow, enters next step;
The 6th step: the printing control model Print Label, return the first step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101978701A CN101697205B (en) | 2009-10-29 | 2009-10-29 | Device and method for printing and comparing circulating label bar codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101978701A CN101697205B (en) | 2009-10-29 | 2009-10-29 | Device and method for printing and comparing circulating label bar codes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101697205A true CN101697205A (en) | 2010-04-21 |
CN101697205B CN101697205B (en) | 2011-11-23 |
Family
ID=42142309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101978701A Expired - Fee Related CN101697205B (en) | 2009-10-29 | 2009-10-29 | Device and method for printing and comparing circulating label bar codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101697205B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102509045A (en) * | 2011-10-26 | 2012-06-20 | 苏州工业园区鑫海胜电子有限公司 | Printing permission control method based on local area network |
CN104503716A (en) * | 2014-12-30 | 2015-04-08 | 北京慧眼智行科技有限公司 | Method and system for printing code picture |
CN106095348A (en) * | 2016-06-08 | 2016-11-09 | 福建联迪商用设备有限公司 | Automatization prints the method and system of bar code |
CN110377247A (en) * | 2019-07-24 | 2019-10-25 | 深圳市凯木金科技有限公司 | Identification processing method, device, computer equipment and computer readable storage medium |
-
2009
- 2009-10-29 CN CN2009101978701A patent/CN101697205B/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102509045A (en) * | 2011-10-26 | 2012-06-20 | 苏州工业园区鑫海胜电子有限公司 | Printing permission control method based on local area network |
CN104503716A (en) * | 2014-12-30 | 2015-04-08 | 北京慧眼智行科技有限公司 | Method and system for printing code picture |
CN104503716B (en) * | 2014-12-30 | 2017-07-21 | 北京慧眼智行科技有限公司 | A kind of code figure printing process and system |
CN106095348A (en) * | 2016-06-08 | 2016-11-09 | 福建联迪商用设备有限公司 | Automatization prints the method and system of bar code |
WO2017210979A1 (en) * | 2016-06-08 | 2017-12-14 | 福建联迪商用设备有限公司 | Method and system for automatic barcode printing |
CN110377247A (en) * | 2019-07-24 | 2019-10-25 | 深圳市凯木金科技有限公司 | Identification processing method, device, computer equipment and computer readable storage medium |
CN110377247B (en) * | 2019-07-24 | 2023-10-17 | 深圳市凯木金科技有限公司 | Identification processing method, identification processing device, computer equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101697205B (en) | 2011-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101697205B (en) | Device and method for printing and comparing circulating label bar codes | |
US7232063B2 (en) | System and method for monitoring and diagnosis of point of sale devices having intelligent hardware | |
US20120224212A1 (en) | Method and device for issuing tickets | |
CN103963483A (en) | Unique code printing screening industrial fool-proofing device and printing method thereof | |
CN110749367A (en) | Electronic scale label printing system | |
CN102902494B (en) | Control method for valuable document printing of banks or insurances | |
CN104192543A (en) | Automatic charging tray LS information collecting line and operating method thereof | |
CN102226679B (en) | Method for automatically measuring quantity and length of cloth | |
CN104657239B (en) | Polycaryon processor transient fault recovery system and its transient fault restoration methods based on separate type daily record | |
CN106346958B (en) | Intelligent strip printer | |
CN2299712Y (en) | Intelligent electronic anti-fake stamp | |
CN106485297A (en) | A kind of prefabricated bar code and patient information matching process | |
CN101436044B (en) | Medicine room (counter) safe monitoring apparatus and monitoring method based on wireless transmission | |
CN110426977A (en) | A kind of engineering monitoring data-acquisition system and method | |
CN206058261U (en) | It is a kind of to examine safety management system for fixing equipment maintenance point | |
CN107643745A (en) | A kind of automobile seat heating cushion controller automatic checkout system | |
CN211554972U (en) | Database system for printing labels of thermal printing head | |
JP4075531B2 (en) | Printing history management method and printing status identification method | |
CN107066219A (en) | A kind of network printing method of relay protection device of intelligent substation | |
CN211827293U (en) | Tool with display device | |
CN103761772A (en) | Train ticket taking, selling and returning all-in-one machine | |
CN207281795U (en) | A kind of wind power plant material Management System based on Quick Response Code | |
CN102314385A (en) | Method and system for outputting and acquiring running information of embedded browser | |
CN201809148U (en) | Liquid filling device | |
CN206162573U (en) | Adopt anti -interference scanning structure of radio frequency technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111123 Termination date: 20161029 |