CN102117185B - Bar code print control method and device - Google Patents
Bar code print control method and device Download PDFInfo
- Publication number
- CN102117185B CN102117185B CN200910217527A CN200910217527A CN102117185B CN 102117185 B CN102117185 B CN 102117185B CN 200910217527 A CN200910217527 A CN 200910217527A CN 200910217527 A CN200910217527 A CN 200910217527A CN 102117185 B CN102117185 B CN 102117185B
- Authority
- CN
- China
- Prior art keywords
- printing control
- bar code
- printer
- control command
- functional parameter
- 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.)
- Active
Links
Images
Abstract
The invention discloses a bar code print control method and device. The corresponding relationship of uniform print control commands and function parameters of different types of bar code printers is previously set. When bar code print control is actually carried out in later time, the corresponding function parameter of a specific type of bar code printer can be determined according to the received uniform print control command, and a print control process corresponding to the function parameter is executed. Thus, with the method and the device disclosed by the invention, a user can realize print control on different types of bar code printers through the uniform print control commands without learning or caring the print control commands of different types of bar code printers. The usability and the operability of bar code print control can be obviously improved, and therefore, the user satisfaction degree is obviously improved.
Description
Technical field
The present invention relates to the bar code printing technology, be specifically related to a kind of method and apparatus of bar code printing control.
Background technology
At present, bar code printer can be printed bar code according to the bar code printing instruction of receiving.But because various bar code printers all have own complicated steering order system; Therefore use every kind of different bar code printer all need study and grasp its steering order system; Be familiar with various details of operations, even each operating personnel that need use bar code printing needs to be grasped above technical ability; Cause the printing control of bar code printer not have versatility, can't provide convenience to operating personnel, experience efficiently, reduced user satisfaction.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method and apparatus of bar code printing control, and the versatility so that the printing that improves bar code printer is controlled improves user satisfaction.
For achieving the above object, technical scheme of the present invention is achieved in that
The method of a kind of bar code printing control is provided with the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers, and this method also comprises:
Generate the control reference object according to the printing control command that receives, create according to the control reference object and print control examples;
Type of printer information according to the printing control command of receiving is comprised is judged the bar code printer type that will print control;
According to the corresponding relation between the functional parameter of unified printing control command that is provided with in advance and dissimilar bar code printers; Confirm the pairing functional parameter of printing control command that receives; And convert the printing control command of said printing control examples representative into comprise said functional parameter printer instructions, carry out the pairing printing control procedure of said functional parameter;
Said printing control procedure comprise following one of at least:
The printing control procedure that new northeast part of China bar code printer can be realized;
The printing control procedure that U.S.'s zebra bar code printer can be realized;
Comprise the printing control procedure that TSC, Sato, Ring, Del.sol can realize at interior bar code printer.
Carrying out said printing control procedure comprises:
Said functional parameter is contained in the corresponding printer instruction, carries out the pairing printing control procedure of this printer instructions.
Carry out before the said printing control procedure, further comprise:
Judge the pairing port type of printer that will print control according to said printing control command, open the pairing port of the port type of being judged, trigger the execution of said printing control procedure through this port.
The generation of said control reference object is realized by the CBarOcxApp module; The establishment of said printing control examples is realized by the CBarOcxCtrl module.
Said functional parameter comprise following one of at least:
Open bar code printer;
Close printer;
Tag size is set;
The bar code printing parameter is set;
Automatically whether setting calibrating position;
Print Chinese character or character string;
Print horizontal line and vertical line;
Print bar code;
Self-defined printing bar code;
Begin to print.
A kind of device of bar code printing control; Be provided with the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers in this device, this device also comprises continuous printing control command receiving element, command conversion unit, prints control execution unit; Wherein,
Said printing control command receiving element; Be used for generating the control reference object according to the printing control command that receives; Create the printing control examples according to the control reference object; And receive the printing control command, and judge the type of printer that will print control according to the type of printer information that this order comprised, will print the type of printer of control command and correspondence thereof again and notify to said command conversion unit;
Said command conversion unit; Be used for according to the corresponding relation between the functional parameter of set unified printing control command and dissimilar bar code printers; Confirm the pairing functional parameter of printing control command that receives; And convert the printing control command of said printing control examples representative into comprise said functional parameter printer instructions, this printer instructions is sent to said printing control execution unit;
Said printing control execution unit is used to carry out the pairing printing control operation of the functional parameter of receiving;
Said printing control execution unit comprise with in the lower module one of at least: PrintBTP module, PrintZebra module and BarPrinter module; Wherein,
Said PrintBTP module is used to carry out the printing control procedure that new northeast part of China bar code printer can be realized;
Said PrintZebra module is used to carry out the printing control procedure that U.S.'s zebra bar code printer can be realized;
Said BarPrinter module is used to carry out and comprises the printing control procedure that TSC, Sato, Ring, Del.sol can realize at interior bar code printer.
Said command conversion unit is further used for, and judges according to the port information that comprises in the said printing control command and prints the pairing port type of control command, and open the pairing port of the port type of being judged, sends said functional parameter through this port.
It is thus clear that; The method and apparatus of bar code printing control provided by the present invention; Based on the corresponding relation between the functional parameter of unified printing control command that is provided with in advance and dissimilar bar code printers; Can confirm the functional parameter of corresponding particular type bar code printer according to the unified printing control command of receiving, and carry out the pairing printing control procedure of this functional parameter in follow-up actual bar code printing when control of carrying out; This makes the user can realize the printing control to dissimilar bar code printers through unified printing control command, and no longer need understand or be concerned about the printing control command of dissimilar bar code printers; Thereby can significantly improve ease for use and the operability that bar code printing is controlled, and then obviously improve user satisfaction.
Description of drawings
Fig. 1 is the bar code printing control flow chart of one embodiment of the invention;
Fig. 2 is the bar code printing control flow chart of another embodiment of the present invention;
Fig. 3 is a bar code printing control flow sketch of the present invention;
Fig. 4 is the bar code printing control device figure of the embodiment of the invention.
Embodiment
Say from the invention thinking; The method of bar code printing control provided by the present invention; Corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers need be set; This method also comprises: confirm the functional parameter of corresponding particular type bar code printer according to the printing control command of receiving, and carry out the pairing printing control procedure of this functional parameter.
Be provided with the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers in the device of bar code printing provided by the present invention control, this device also comprises continuous printing control command receiving element, command conversion unit, printing control execution unit; Wherein, said printing control command receiving element is used for receiving and prints control command, and judges the type of printer that will print control according to this order, will print the type of printer of control command and correspondence thereof again and notify to said command conversion unit; Said command conversion unit; Be used for according to the corresponding relation between the functional parameter of set unified printing control command and dissimilar bar code printers; Confirm the pairing functional parameter of printing control command that receives this functional parameter to be sent to said printing control execution unit; Said printing control execution unit is used to carry out the pairing printing control operation of the functional parameter of receiving.
In practical application, concrete printing control content has multiple, is that example describes to open bar code printer below.
Referring to Fig. 1; Fig. 1 is the bar code printing control flow chart of one embodiment of the invention; Before the flow process in execution graph 1, the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers need be set in advance, so that the follow-up command conversion that will carry out is provided support.When concrete operations, flow process shown in Figure 1 may further comprise the steps:
Step 101: the management equipment that is used for each bar code printer of unified management receives opens the bar code printer order, and judges that according to the type of printer information that comprises in this order opening bar code printer orders pairing type of printer.
Step 102: except type of printer, management equipment also will judge that opening bar code printer orders pairing port type according to opening the port information that comprises in the bar code printer order.
Step 103: management equipment is opened the pairing port of the port type of being judged.
Step 104: management equipment is the instruction of printer initial position according to the type of printer of being judged and printing control command that is provided with in advance and the corresponding relation between the functional parameter with the bar code printer command conversion of being received of opening.
Step 105: management equipment sends to opened said port with the instruction of printer initial position.
Step 106: receive the bar code printer that the printer initial position instructs through said port, the printing initial position of self is set according to this printer initial position instruction.
Visible by Fig. 1, based on the corresponding relation between the functional parameter of unified printing control command that is provided with in advance and dissimilar bar code printers, can realize control is printed in the unification of dissimilar bar code printers; And, print control content and have multiplely, can realize that the different functional parameters of controlling of printing also are not quite similar, wherein a part of like table 1 to shown in the table 10:
Open the bar code printer port
Table 1
Close printer port
Table 2
Tag size is set
Table 3
The bar code printing parameter is set
Table 4
Automatically whether setting calibrating position
Table 5
Print Chinese character or character string
Table 6
Print horizontal line and vertical line
Table 7
Print bar code
Table 8
Self-defined printing bar code
Table 9
Begin to print
Table 10
The printing control content that above-mentioned difference in functionality parameter can realize is not quite similar, and concrete implementation procedure also possibly have nuance.Under the prerequisite of not considering the difference between each functional parameter, as shown in Figure 2 from the printing control flow of programme controlled angle.Referring to Fig. 2, Fig. 2 is the bar code printing control flow chart of another embodiment of the present invention.Similar with Fig. 1, before the flow process in execution graph 2, the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers need be set in advance, so that the follow-up command conversion that will carry out is provided support.When concrete operations, flow process shown in Figure 2 may further comprise the steps:
Step 201: generate the control reference object according to the printing control command that receives, the generation of this control reference object can be realized by the CBarOcxApp module.
Step 202: create the printing control examples according to the control reference object, this establishment of printing control examples can be realized by the CBarOcxCtrl module.
Step 203: the type of printer information according to the printing control command that receives is comprised is judged the bar code printer type that will print control.
Step 204: according to the corresponding relation between the functional parameter of unified printing control command that is provided with in advance and dissimilar bar code printers; Confirm the pairing functional parameter of said printing control command that receives, and convert the printing control command of said printing control examples representative into comprise said functional parameter printer instructions.
Present main flow label machine has number of different types, and the concrete function of corresponding label machine totally can be realized by following three kinds of modules: PrintBTP module, PrintZebra module and BarPrinter module.Wherein, the PrintBTP module can realize the function of the new northeast part of China each interface function of bar code printer, can also the bar code printer steering order be sent to the corresponding bar code printer to realize printing control; The PrintZebra module can realize the function of the U.S.'s each interface function of zebra bar code printer, can also the bar code printer steering order be sent to the corresponding bar code printer to realize printing control; The BarPrinter module can realize the function of each interface functions of bar code printer such as TSC, Sato, Ring, Del.sol, can also the bar code printer steering order be sent to the corresponding bar code printer to realize printing control.
To the printer control instruction of dissimilar printers,, can get into step 210,220 or 230 according to the bar code printer type that step 203 is judged in follow-up actual when control of printing.
Step 210:PrintBTP module is carried out the pairing printing control operation of printer instructions of receiving, process ends.
Step 220:PrintZebra module is carried out the pairing printing control operation of printer instructions of receiving, process ends.
Step 230:BarPrinter module is carried out the pairing printing control operation of printer instructions of receiving.
Say that from the invention thinking Fig. 1, flow process shown in Figure 2 can be simplified as shown in Figure 3.Referring to Fig. 3, Fig. 3 is a bar code printing control flow sketch of the present invention, and this flow process may further comprise the steps:
Step 310: the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers is set.
Step 320: confirm the functional parameter of corresponding particular type bar code printer according to the printing control command of receiving, and carry out the pairing printing control procedure of this functional parameter.
In fact; Above-mentioned command conversion operation also can be carried out by the specific functional modules of label machines such as PrintBTP module, PrintZebra module and BarPrinter module; Can know the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers smoothly as long as carry out the functional entity of command conversion, and can normally accomplish command conversion according to this corresponding relation and get final product.
It is thus clear that based on the corresponding relation between the functional parameter of unified printing control command that is provided with in advance and dissimilar bar code printers, the inventive method can realize the unified printing control to dissimilar bar code printers; So just can improve the versatility of the printing control of bar code printer, and then improve user satisfaction.
In order to carry out the operation in above-mentioned each process flow diagram smoothly, device as shown in Figure 4 can be set.Referring to Fig. 4; Fig. 4 is the bar code printing control device figure of the embodiment of the invention; This device comprises continuous printing control command receiving element, command conversion unit, prints control execution unit, prints the specific functional modules that comprises label machines such as PrintBTP module, PrintZebra module and BarPrinter module in the control execution unit.
During concrete the application, print the control command receiving element and can receive the printing control command, and judge the type of printer that will print control, will print the type of printer of control command and correspondence thereof again and notify to the command conversion unit according to this order; By the corresponding relation between the functional parameter of unifying printing control command and dissimilar bar code printers of command conversion unit basis setting in advance; Confirm the pairing functional parameter of printing control command that receives; And will print control command and convert the printer instructions that comprises said functional parameter into; Again this printer instructions is sent to the specific functional modules of printing the respective labels printer in the control execution unit, carry out the pairing printing control operation of printer instructions of receiving by this functional module.
In some application scenarios, possibly judge the pairing port type of printing control command according to printing the port information that comprises in the control command.In this case, relating to the concrete operations of opening port can be accomplished by functional entitys such as command conversion unit.The operation that each unit can be carried out among Fig. 4 is described in detail in Fig. 1 to Fig. 3, repeats no more at this.
Need to prove; Corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers; Can be arranged in advance in the functional entitys such as command conversion unit; Can know the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers smoothly as long as carry out the functional entity of command conversion, and can normally accomplish command conversion according to this corresponding relation and get final product.
Visible in sum; No matter be method or device; Technology of the present invention all can realize control is printed in the unification of dissimilar bar code printers based on the corresponding relation between the functional parameter of unified printing control command that is provided with in advance and dissimilar bar code printers; So just can improve the versatility of the printing control of bar code printer, and then improve user satisfaction.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. the method for bar code printing control is characterized in that, the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers is set, and this method also comprises:
Generate the control reference object according to the printing control command that receives, create according to the control reference object and print control examples;
Type of printer information according to the printing control command of receiving is comprised is judged the bar code printer type that will print control;
According to the corresponding relation between the functional parameter of unified printing control command that is provided with in advance and dissimilar bar code printers; Confirm the pairing functional parameter of printing control command that receives; And convert the printing control command of said printing control examples representative into comprise said functional parameter printer instructions, carry out the pairing printing control procedure of said functional parameter;
Said printing control procedure comprise following one of at least:
The printing control procedure that new northeast part of China bar code printer can be realized;
The printing control procedure that U.S.'s zebra bar code printer can be realized;
Comprise the printing control procedure that TSC, Sato, Ring, Del.sol can realize at interior bar code printer.
2. method according to claim 1 is characterized in that, carries out said printing control procedure and comprises:
Said functional parameter is contained in the corresponding printer instruction, carries out the pairing printing control procedure of this printer instructions.
3. method according to claim 1 is characterized in that, carries out before the said printing control procedure, further comprises:
Judge the pairing port type of printer that will print control according to said printing control command, open the pairing port of the port type of being judged, trigger the execution of said printing control procedure through this port.
4. method according to claim 1 is characterized in that, the generation of said control reference object is realized by the CBarOcxApp module; The establishment of said printing control examples is realized by the CBarOcxCtrl module.
5. method according to claim 1 is characterized in that, said functional parameter comprise following one of at least:
Open bar code printer;
Close printer;
Tag size is set;
The bar code printing parameter is set;
Automatically whether setting calibrating position;
Print Chinese character or character string;
Print horizontal line and vertical line;
Print bar code;
Self-defined printing bar code;
Begin to print.
6. the device of bar code printing control; It is characterized in that; Be provided with the corresponding relation between the functional parameter of unified printing control command and dissimilar bar code printers in this device, this device also comprises continuous printing control command receiving element, command conversion unit, prints control execution unit; Wherein,
Said printing control command receiving element; Be used for generating the control reference object according to the printing control command that receives; Create the printing control examples according to the control reference object; And receive the printing control command, and judge the type of printer that will print control according to the type of printer information that this order comprised, will print the type of printer of control command and correspondence thereof again and notify to said command conversion unit;
Said command conversion unit; Be used for according to the corresponding relation between the functional parameter of set unified printing control command and dissimilar bar code printers; Confirm the pairing functional parameter of printing control command that receives; And convert the printing control command of said printing control examples representative into comprise said functional parameter printer instructions, this printer instructions is sent to said printing control execution unit;
Said printing control execution unit is used to carry out the pairing printing control operation of the functional parameter of receiving;
Said printing control execution unit comprise with in the lower module one of at least: PrintBTP module, PrintZebra module and BarPrinter module; Wherein,
Said PrintBTP module is used to carry out the printing control procedure that new northeast part of China bar code printer can be realized;
Said PrintZebra module is used to carry out the printing control procedure that U.S.'s zebra bar code printer can be realized;
Said BarPrinter module is used to carry out and comprises the printing control procedure that TSC, Sato, Ring, Del.sol can realize at interior bar code printer.
7. device according to claim 6; It is characterized in that; Said command conversion unit is further used for; Judge the pairing port type of printing control command according to the port information that comprises in the said printing control command, and open the pairing port of the port type of being judged, send said functional parameter through this port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910217527A CN102117185B (en) | 2009-12-31 | 2009-12-31 | Bar code print control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910217527A CN102117185B (en) | 2009-12-31 | 2009-12-31 | Bar code print control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102117185A CN102117185A (en) | 2011-07-06 |
CN102117185B true CN102117185B (en) | 2012-10-10 |
Family
ID=44215972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910217527A Active CN102117185B (en) | 2009-12-31 | 2009-12-31 | Bar code print control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102117185B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104772992B (en) * | 2015-03-31 | 2017-04-12 | 歌尔股份有限公司 | Unified control method and system for bar code printing equipment |
CN104778021A (en) * | 2015-04-23 | 2015-07-15 | 歌尔声学股份有限公司 | Packaging label printing method and system |
CN109460196B (en) * | 2018-10-26 | 2021-11-09 | 浪潮金融信息技术有限公司 | Method for realizing printing and stamping general function based on new driving platform |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082856A (en) * | 2006-05-29 | 2007-12-05 | 佳能株式会社 | Information processing apparatus, print controlling method, and computer-readable storage medium |
-
2009
- 2009-12-31 CN CN200910217527A patent/CN102117185B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082856A (en) * | 2006-05-29 | 2007-12-05 | 佳能株式会社 | Information processing apparatus, print controlling method, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102117185A (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9454335B2 (en) | Printer for printing labels, tags or the like | |
CN102117185B (en) | Bar code print control method and device | |
CN104412244B (en) | The control method of apparatus control system and apparatus control system | |
CN101847047A (en) | Software instruction and data input system and method | |
CN101571793B (en) | Method and device for printing page information | |
WO2017220597A1 (en) | Hand-held robot operating device combination comprising a sensor | |
WO2003065199A1 (en) | Printing data transmission method, printing system, and printer apparatus | |
EP1212194B1 (en) | Printer for printing labels, tags or the like | |
EP2650774B1 (en) | Data processing apparatus, recording apparatus and control method of the data processing apparatus | |
CN102744739B (en) | Program controlled paper-cutting method using bar code to read cutting information | |
US8295956B2 (en) | Control device having an integrated machine model | |
CN2581173Y (en) | Printer controller | |
CN201721124U (en) | Screen head operation panel of rotary screen printing machine | |
WO2018185515A1 (en) | Method and device to manage different screens with different sizes on a printer | |
CN102768484A (en) | Information storage device of imaging device, and imaging box | |
WO2015170010A1 (en) | Printing system | |
JP2015058609A (en) | Printer and control system | |
JP2008213896A (en) | Label pasting system and pasting method | |
US20200195794A1 (en) | Method and device to manage different screens with different sizes on a printer | |
JP2003067167A5 (en) | ||
CN110622122A (en) | Method and apparatus for managing different screens on a production line | |
CN107978102A (en) | A kind of intelligent POS machine and its Method of printing for realizing simulation bluetooth printing | |
KR200411071Y1 (en) | Label supply system | |
KR101185446B1 (en) | Bar code information marking method and system | |
CN101663172A (en) | Improvements in or relating to continuous inkjet printers |
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 | ||
C56 | Change in the name or address of the patentee |
Owner name: AEROSPACE KAIYUAN TECHNOLOGY CO., LTD. Free format text: FORMER NAME: BEIJING KFKY INFORMATION + TECHNOLOGY CO., LTD. |
|
CP03 | Change of name, title or address |
Address after: 100034 Beijing city Xicheng District Xishiku Street No. 31 Building No. 23 hospital Patentee after: Aerospace Kaiyuan science and Technology Co Ltd Address before: 100000, Room 606, block B, 28 Xinjie street, Xinjie, Beijing, Xicheng District Patentee before: Beijing KFKY Information & Technology Co., Ltd. |