CN106547494B - Printing bar code method and printing bar code equipment - Google Patents

Printing bar code method and printing bar code equipment Download PDF

Info

Publication number
CN106547494B
CN106547494B CN201510603962.0A CN201510603962A CN106547494B CN 106547494 B CN106547494 B CN 106547494B CN 201510603962 A CN201510603962 A CN 201510603962A CN 106547494 B CN106547494 B CN 106547494B
Authority
CN
China
Prior art keywords
bar code
data stream
print data
printing
digital content
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
Application number
CN201510603962.0A
Other languages
Chinese (zh)
Other versions
CN106547494A (en
Inventor
顾明
赵红川
陈剑
张毅强
李�浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to CN201510603962.0A priority Critical patent/CN106547494B/en
Publication of CN106547494A publication Critical patent/CN106547494A/en
Application granted granted Critical
Publication of CN106547494B publication Critical patent/CN106547494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

The present invention provides printing bar code method and printing bar code equipment.Wherein, this method comprises: receiving the receiving step of the first print data stream of the print job from external equipment;According to predetermined information, the first print data stream is parsed, to obtain the analyzing step of bar code information;According to the bar code information got, the generation step of bar code image data flow is generated;The bar code image data flow of generation is inserted into the first print data stream, to form the processing step of the second print data stream;And the output step of the second print data stream of printout.By using the process and apparatus of the present invention, use cost can be effectively reduced.

Description

Printing bar code method and printing bar code equipment
Technical field
The present invention relates to the printing of bar code more particularly to printing bar code methods and printing bar code equipment.
Background technique
Currently, in many industries, need using to bar code.In particular, for example, in logistic industry, frequently by number The electronic management of document is carried out according to management server.Therefore, it when papery document exports, is indicated commonly using bar code Critical data, such as order number, customer ID etc..However, under the current technology, it is necessary to dependent on data management server Third-party bar code generation module and printer on third-party bar code font module, specific bar shaped could be generated Code.
Existing frequently-used method is to be generated to include by third-party bar code generation module by data management system first Then the print data stream of generation is transferred to printer by the print data stream of bar code font order, pass through the by printer The bar code font module printout of tripartite includes the document of bar code.
Although this mode can be realized the bar code output of data, but user must be in the data management service used Bar code generation module and bar code font module on device and printer outside purchase volume could print out bar code, using at This is relatively high.
In addition, for example, logistics document generallys use the form of receipts or other documents in duplicate in logistic industry.List with different receipts or other documents in duplicates number According to give different objects, for example, wherein a receipts or other documents in duplicate is saved according to by logistics company oneself filing.
Due to not including the variable data of receipts or other documents in duplicate number etc. using the bar code of existing method printout, Logistics company can usually be mixed into other receipts or other documents in duplicates when filing preservation, decline so as to cause the efficiency of electronic filing.
Summary of the invention
In view of the above problems, the object of the present invention is to provide a kind of printing bar code methods and printing bar code to set It is standby.Printing bar code method and printing bar code equipment of the invention does not need complicated configuration, does not depend on third-party yet Bar code font module only prints out the document comprising bar code by printing device itself, to significantly reduce Use cost.
According to an aspect of the present invention, a kind of printing bar code method is provided, method includes the following steps: receiving step Suddenly, for receiving the first print data stream of the print job from external equipment;Analyzing step is used for according to predetermined information, First print data stream is parsed, to obtain bar code information;Generation step, for according to the bar code letter got Breath generates bar code image data flow;Processing step, for the bar code image data flow generated to be inserted into described the In one print data stream, to form the second print data stream;And output step, for printing out second print data Stream.
By using printing bar code method of the invention, third-party bar code font module can not be at least being depended on In the case where, printout includes the document of bar code, to significantly reduce use cost.
In addition, first print data stream includes bar code data stream in printing bar code method of the invention;With And the predetermined information includes bar code font command information.The analyzing step further comprises: according to the bar shaped code word Body command information parses the bar code data stream in first print data stream, to obtain in bar code font and bar code Hold, and the bar code font that will acquire and the bar shaped digital content got are as the bar code information.
It, can be in the feelings for not depending on third-party bar code font module by using printing bar code method of the invention Under condition, printout includes the document of bar code, to reduce use cost.
In addition, first print data stream does not include bar code data stream in printing bar code method of the invention; And the predetermined information includes the preset keyword of user and the preset bar code font of user.The parsing step Suddenly further comprise: according to the keyword, parsing first print data stream, to obtain bar shaped digital content, and by institute The preset bar code font of user and the bar shaped digital content that gets are stated as the bar code information.
By using printing bar code method of the invention, third-party bar code generation module and item can not depended on In the case where shape code font module, printout includes the document of bar code, to further reduced use cost.Also, Bar code is formed by the preset keyword of user, it can be with the pattern of customized bar code.
In addition, the generation step further comprises in printing bar code method of the invention: being set in advance according to user Fixed bar code printing location generates bar code printing location order;And the processing step further comprises: by generation The bar code printing location order is inserted into first print data together with the bar code image data flow of generation In stream, to form second print data stream.
By using printing bar code method of the invention, bar code can be placed in document according to the setting of user In any position on.
In addition, the predetermined information further includes number command information in printing bar code method of the invention;Institute Stating analyzing step further comprises: according to the number command information, first print data stream is parsed, to obtain printing part Number;And according to the printing number got, according to page order, by it is corresponding with current number serial number can parameter According to current value combined with the bar shaped digital content got, to obtain current bar shaped digital content, and will be described current Bar shaped digital content as the bar shaped digital content for including in the bar code information.
By using printing bar code method of the invention, the additional variable data in bar shaped digital content can be improved and beat Print the efficiency of the electronic filing of the document comprising the bar code of output.
According to another aspect of the present invention, a kind of printing bar code equipment is provided, comprising: reception device, the reception First print data stream of print job of the device reception from external equipment;Dissection process device, the dissection process device First print data stream is parsed and handles, to form the second print data stream;And output device, the output device Print out second print data stream.The dissection process device further includes: resolution unit, the resolution unit root According to predetermined information, first print data stream is parsed, to obtain bar code information;Generation unit, the generation unit according to The bar code information that the resolution unit is got generates bar code image data flow;And processing unit, the processing The bar code image data flow that unit generates the generation unit is inserted into first print data stream, to be formed Second print data stream.
By using printing bar code equipment of the invention, third-party bar code font module can not be at least being depended on In the case where, printout includes the document of bar code, to significantly reduce use cost.
In addition, first print data stream includes bar code data stream in printing bar code equipment of the invention;With And the predetermined information includes bar code font command information.The resolution unit parses institute according to the font command information The bar code data stream in the first print data stream is stated, to obtain bar code font and bar shaped digital content, and will acquire The bar code font and the bar shaped digital content got are as the bar code information.
It, can be in the feelings for not depending on third-party bar code font module by using printing bar code equipment of the invention Under condition, printout includes the document of bar code, to reduce use cost.
In addition, first print data stream does not include bar code data stream in printing bar code equipment of the invention; And the predetermined information includes the preset keyword of user and the preset bar code font of user.The parsing is single Member parses first print data stream, to obtain bar shaped digital content, and the user is set in advance according to the keyword Fixed bar code font and the bar shaped digital content got are as the bar code information.
By using printing bar code equipment of the invention, third-party bar code generation module and item can not depended on In the case where shape code font module, printout includes the document of the bar code, to further reduced use cost.And And bar code formed by the preset keyword of user and bar code font, it can neatly customized bar code Pattern.
In addition, the generation unit is according to the preset bar code of user in printing bar code equipment of the invention Print position generates bar code printing location order;And the processing unit is in the bar code printing location that will be generated Order is inserted into first print data stream together with the bar code image data flow of generation, to form described second Print data stream.
By using printing bar code equipment of the invention, bar code can be set in document according to the needs of users In any position on, so as to neatly come customized bar code position.
In addition, the predetermined information further includes number command information in printing bar code equipment of the invention.
The resolution unit parses first print data stream according to the number command information, to obtain printing part Number;And the resolution unit is according to the printing number got, according to page order, by with current number serial number phase The current value of corresponding variable data is combined with the bar shaped digital content got, to obtain current bar shaped digital content, and And using the current bar shaped digital content as the bar shaped digital content for including in the bar code information.
By using printing bar code equipment of the invention, the additional variable data in bar shaped digital content can be improved and beat Print the efficiency of the electronic filing of the document comprising the bar code of output.
Detailed description of the invention
Fig. 1 (A) to Fig. 1 (C) display uses the print system of the printing bar code equipment of embodiment according to the present invention Block diagram;
Fig. 2 shows the block diagram of the printing bar code equipment of embodiment according to the present invention;
Fig. 3 shows the flow chart of the first operational instances of the printing bar code equipment of embodiment according to the present invention;
Fig. 4 shows the flow chart of the second operational instances of the printing bar code equipment of embodiment according to the present invention;
Fig. 5 shows the flow chart of the third operational instances of the printing bar code equipment of embodiment according to the present invention;
Fig. 6 shows the flow chart of the 4th operational instances of the printing bar code equipment of embodiment according to the present invention;
Fig. 7 shows the flow chart of the 5th operational instances of the printing bar code equipment of embodiment according to the present invention;
Fig. 8 shows the flow chart of the 6th operational instances of the printing bar code equipment of embodiment according to the present invention.
Specific embodiment
It describes below with reference to the accompanying drawings according to various embodiments of the present invention.
Fig. 1 (A) to Fig. 1 (C) shows the printing system of the printing bar code equipment 100 using embodiment according to the present invention The block diagram of system 11,12 and 13.
As shown in Fig. 1 (A), in print system 11, the external equipment 400 of personal computer etc. is via data management Server 200 is connected to printing bar code equipment 100.Data management server 200 includes bar code generating means 210.Outside The print data stream of print job is sent to data management server 200 by portion's equipment 400.In data management server 200 Bar code generating means 210 handle the print data stream received, generate the printing number comprising bar code font order According to stream, that is, the first print data stream comprising bar code data stream, and by first dozen comprising bar code data stream of generation Print data flow is sent to printing bar code equipment 100.
As shown in Fig. 1 (B), in print system 12, the external equipment 400 of personal computer etc. is via data management Server 300 is connected to printing bar code equipment 100 of the invention.Data management server 300 do not include bar code generating at Device.The print data stream of print job is sent to data management server 300 by external equipment 400.Data management server 300 print data streams that will be received, that is, the first print data stream not comprising bar code data stream is sent to of the invention Printing bar code equipment 100.
As shown in Fig. 1 (C), in print system 13, the external equipment 400 of personal computer etc. is directly connected to Printing bar code equipment 100 of the invention.External equipment 400 is by the print data stream of print job, that is, does not include bar shaped yardage According to the first print data stream of stream, it is sent to printing bar code equipment 100 of the invention.
Fig. 2 shows the block diagram of the printing bar code equipment 100 of embodiment according to the present invention.
As shown in Fig. 2, printing bar code equipment 100 includes reception device 110, dissection process device 120 and output device 130。
Reception device 110 receives the first print data stream.First print data stream may include bar code data stream, can also Not include bar code data stream.For example, when printing bar code equipment 100 is in the print system 11 as shown in Fig. 1 (A), The first print data stream that reception device 110 receives includes bar code data stream;When printing bar code equipment 100 is in such as Fig. 1 (B) when in print system 13 shown in print system 12 shown in and Fig. 1 (C), the first printing number that reception device 110 receives Bar code data stream is not included according to stream.
In addition, reception device 110 can also receive other data that user is pre-entered using external equipment 400, such as Keyword, bar code font, bar code printing location etc..
Dissection process device 120 parses and handles the first print data stream that reception device 110 receives, to form the Two print data streams.Dissection process device 120 includes resolution unit 121, generation unit 122, processing unit 123 and storage unit 124。
Resolution unit 121 parses the first print data stream that reception device 110 receives according to predetermined information, to obtain Bar code information.Predetermined information include bar code font command information, number command information, the preset keyword of user and Bar code font, etc..The bar code information that generation unit 122 is got according to resolution unit 121 generates bar code image number According to stream.The bar code image data flow that generation unit 122 generates is inserted into the first print data stream by processing unit 123, with Form the second print data stream.Storage unit 124 can store comprising such as bar code font command information, number command information Etc. existing specific command information, and it is preset to store the user received by reception device 110 Such as other information of keyword, bar code font, bar code printing location etc..
The printout of output device 130 handles the second obtained print data stream through dissection process device 120.
First operational instances
It is set below in conjunction with the printing bar code of Fig. 1 (A)-(C), Fig. 2 and Fig. 3 detailed description embodiment according to the present invention The first standby operational instances.Fig. 3 shows the stream of the first operational instances of the printing bar code equipment of embodiment according to the present invention Cheng Tu.
As shown in figure 3, firstly, reception device 110 receives external equipment 400 and takes via data management in step S301 The first print data stream that business device 200 or 300 is sent, or receive the first print data stream that external equipment 400 directly transmits. When reception device 110 receives the first print data stream that external equipment 400 is sent via data management server 200, first Print data stream includes bar code data stream.When reception device 110 receives external equipment 400 via data management server 300 When the first print data stream that the first print data stream or external equipment 400 sent directly transmits, the first print data stream Not comprising bar code data stream.
Then, in step s 302, the resolution unit 121 in dissection process device 120 is single according to storage is stored in advance in Predetermined information in member 124 parses the first print data stream, to obtain bar code information.Predetermined information includes bar code font Command information, number command information, the preset keyword of user and bar code font, etc..
When the first print data stream that reception device 110 receives includes bar code data stream, 121 basis of resolution unit The bar code font command information that is stored in advance in storage unit 124 parses the first print data stream.When reception device 110 When the first print data stream received does not include bar code data stream, resolution unit 121 is according to being stored in advance in storage unit The preset keyword of user in 124 parses the first print data stream.
Then, in step S303, the generation unit 122 in dissection process device 120 is got according to resolution unit 121 Bar code information, generate bar code image data flow.
Then, in step s 304, the item that the processing unit 123 in dissection process device 120 generates generation unit 122 Barcode image data flow is inserted into the first print data stream, to form the second print data stream.
Finally, the printout of output device 130 handles obtain second through dissection process device 120 in step S305 Print data stream, operation terminate.
Second operational instances
The printing bar code equipment of embodiment according to the present invention is described in detail below in conjunction with Fig. 1 (A), Fig. 2 and Fig. 4 Second operational instances.Fig. 4 shows the flow chart of the second operational instances of the printing bar code equipment of embodiment according to the present invention.
As shown in figure 4, firstly, reception device 110 receives external equipment 400 and takes via data management in step S401 The first print data stream comprising bar code data stream that business device 200 is sent.Bar code data stream is used as by data management service The bar code font order data stream that bar code generating means 210 in device 200 generate, is present in the first print data stream In PCL (printer control language) data flow.
Then, in step S402, the resolution unit 121 in dissection process device 120 is single according to storage is stored in advance in Bar code font command information in member 124, to parse the bar code data stream in the first print data stream, to obtain bar code Font and bar shaped digital content, and the bar code font and bar shaped digital content that will acquire are as bar code information.
For example, in this example, the bar code font command information being stored in advance in storage unit 124 are as follows:<esc> (s*p*v*s*b*T, and it is assumed that PCL data flow in the first print data stream that reception device 110 receives are as follows: ESC (s1p11v10s0b24670TESC(&a1750h5200V0113014189ESC(s1p11v0s0b24588T。
In this case, resolution unit 121 is according to above-mentioned bar code font command information, by byte one by one to above-mentioned PCL data flow is searched and is matched, to obtain the bar code font and item that match with above-mentioned bar code font command information Shape code content.For example, the bar code font that resolution unit 121 is got from above-mentioned PCL data flow is " 24670T " and item Shape code content is " 0113014189 ".
Then, in step S403, the generation unit 122 in dissection process device 120 is got according to resolution unit 121 Bar code font " 24670T " and bar shaped digital content " 0113014189 ", generate bar code image data flow.
Then, in step s 404, the item that the processing unit 123 in dissection process device 120 generates generation unit 122 Barcode image data flow is inserted into the first print data stream, is such as inserted into the PCL data flow in the first print data stream, To form the second print data stream.
Finally, the printout of output device 130 handles obtain second through dissection process device 120 in step S405 Print data stream, operation terminate.
Third operational instances
The printing bar code equipment of embodiment according to the present invention is described in detail below in conjunction with Fig. 1 (A), Fig. 2 and Fig. 5 Third operational instances.Fig. 5 shows the flow chart of the third operational instances of the printing bar code equipment of embodiment according to the present invention.
Third operational instances and the difference of the second operational instances shown in Fig. 4 shown in Fig. 5 are, shown in Fig. 5 Third operational instances further attached variable data in bar shaped digital content.In third operational instances shown in Fig. 5 Step S501 and S502 are identical as the step S401 and S402 in the second operational instances shown in Fig. 4 respectively, thus save herein Its detailed description is omited.
Below with reference to the step S503 to step S510 in third operational instances shown in Fig. 5, to describe in detail With the difference of the second operational instances shown in Fig. 4.
In step S503, resolution unit 121 in dissection process device 120 is according to being stored in advance in storage unit 124 In number command information, to parse the first print data stream, to obtain printing number.
For example, in this example, the number command information being stored in advance in storage unit 124 are as follows:@PJL SET QTY =number.
In this case, resolution unit 121 is according to above-mentioned number command information, by byte one by one to the first print data PJL (printer job language) data flow in stream is searched and is matched, and is matched with obtaining with above-mentioned number command information Printing number.
Then, resolution unit 121 is according to the printing number got, according to page order, by with current number serial number The current value of corresponding variable data is combined with the bar shaped digital content got, to obtain current bar shaped digital content.
User can set the corresponding relationship between number serial number and variable data according to actual needs, and can lead to The form for crossing such as list, corresponding relationship formula etc., by the corresponding relationship between the number serial number set and variable data It is stored in advance in storage unit 124.
For example, needing the variable data for increasing such as receipts or other documents in duplicate number in bar code to improve document in logistic industry The efficiency of filing.In this case, user can be by the corresponding pass between number serial number and the variable data of such as receipts or other documents in duplicate number System is set as following relationship: the current value of variable data (receipts or other documents in duplicate number)=- current number serial number/printing number, and will set The above-mentioned relation formula set is stored in advance in storage unit 124.
It is assumed that the printing number that resolution unit 121 is got is 5 parts.In step S504, resolution unit 121 is being obtained When to printing number (for example, 5 parts), current number serial number is set as 1, and according to being stored in advance in storage unit 124 In above-mentioned relation formula, obtain variable data (receipts or other documents in duplicate number) corresponding with current number serial number " 1 " current value be " -1/ 5”。
Then, in step S505, variable data corresponding with current number serial number that resolution unit 121 will obtain Current value " -1/5 " combined with the bar shaped digital content " 0113014189 " got in step S502, to obtain current item Shape code content " 0113014189-1/5 ".
Then, in step S506, the generation unit 122 in dissection process device 120 is according to resolution unit 121 in step The bar code font got in S502 and the current bar shaped digital content got in step S505 generate bar code image Data flow.
Then, in step s 507, the item that the processing unit 123 in dissection process device 120 generates generation unit 122 Barcode image data flow is inserted into the first print data stream, is such as inserted into the PCL data flow in the first print data stream, To form the second print data stream.
Then, in step S508, the printout of output device 130 handles obtain second through dissection process device 120 Print data stream.
Then, in step S509, increase the counting of current number serial number.For example, current number serial number is from " 1 " quilt Increase to " 2 ".
Then, in step S510, judge whether current number serial number is greater than the printing number got.If current Number serial number be less than or equal to the printing number that gets, then operation back to step S505 and repeats step S505 and arrives S510.If current number serial number is greater than the printing number got, operation terminates.
In this example, although the example using receipts or other documents in duplicate number as variable data is illustrated, the present invention not office It is limited to this.
4th operational instances
It is beaten below in conjunction with the bar code of Fig. 1 (B), Fig. 1 (C), Fig. 2 and Fig. 6 detailed description embodiment according to the present invention 4th operational instances of printing apparatus.Fig. 6 shows the 4th operational instances of the printing bar code equipment of embodiment according to the present invention Flow chart.
As shown in fig. 6, firstly, in step s 601, reception device 110 receives external equipment 400 and takes via data management The first print data stream not comprising bar code data stream that business device 300 is sent, or receive what external equipment 400 directly transmitted The first print data stream not comprising bar code data stream.
Then, in step S602, the resolution unit 121 in dissection process device 120 is single according to storage is stored in advance in The keyword of user's predetermined set in member 124 parses PCL (printer control language) data in the first print data stream Stream, to obtain bar shaped digital content, and the bar code information that will acquire and the user being stored in advance in storage unit 124 The bar code font of predetermined set is as bar code information.
User can according to need, arbitrarily to set keyword and bar code font, and the keyword that will be set It is stored in advance in storage unit 124 with bar code font.
It is assumed that keyword for example can be set as " Air Way Bill No./date " by user in advance in logistic industry, and will Bar code font is set as " 24670T ".
Resolution unit 121 is printed to first according to the keyword " Air Way Bill No./date " of user's predetermined set by byte one by one PCL data flow in data flow is searched and is matched, to obtain bar shaped digital content.It is assumed that resolution unit 121 is from PCL data The bar shaped digital content got in stream is " 80086332 ".
Then, in step S603, the generation unit 122 in dissection process device 120 is single according to storage is stored in advance in The bar shaped digital content that the bar code font " 24670T " and resolution unit 121 of user's predetermined set in member 124 are got " 80086332 " generate bar code image data flow.
Then, in step s 604, the item that the processing unit 123 in dissection process device 120 generates generation unit 122 Barcode image data flow is inserted into the first print data stream, is such as inserted into the PCL data flow in the first print data stream, To form the second print data stream.
Finally, in step s 605, the printout of output device 130 handles obtain second through dissection process device 120 Print data stream, operation terminate.
5th operational instances
It is beaten below in conjunction with the bar code of Fig. 1 (B), Fig. 1 (C), Fig. 2 and Fig. 7 detailed description embodiment according to the present invention 5th operational instances of printing apparatus.Fig. 7 shows the 5th operational instances of the printing bar code equipment of embodiment according to the present invention Flow chart.
The difference of 5th operational instances shown in fig. 7 and the 4th operational instances shown in Fig. 6 is, shown in Fig. 7 The 5th operational instances further increase the setting of print position.Step S701 in 5th operational instances shown in fig. 7 It is identical to step S603 as the step S601 in the 4th operational instances shown in Fig. 6 respectively to step S703, thus save herein Its detailed description is omited.
Below with reference to the step S704 to step S706 in the 5th operational instances shown in fig. 7, to describe in detail With the difference of the 4th operational instances shown in Fig. 6.
In step S704, the generation unit 122 in dissection process device 120 is beaten according to the preset bar code of user Position is printed, bar code printing location order is generated.
User can arbitrarily set position of the bar code in document out to be printed according to actual needs, and will The bar code printing location set is stored in advance in storage unit 124.
Then, in step S705, the processing unit 123 in dissection process device 120 is by generation unit 122 in step The bar code printing location order generated in S704 is inserted into together with the bar code image data flow generated in step S703 It in first print data stream, is such as inserted into the PCL data flow in the first print data stream, to form the second print data Stream.
Finally, the printout of output device 130 handles obtain second through dissection process device 120 in step S706 Print data stream, operation terminate.
6th operational instances
It is beaten below in conjunction with the bar code of Fig. 1 (B), Fig. 1 (C), Fig. 2 and Fig. 8 detailed description embodiment according to the present invention 6th operational instances of printing apparatus.Fig. 8 shows the 6th operational instances of the printing bar code equipment of embodiment according to the present invention Flow chart.
The difference of 6th operational instances shown in fig. 8 and the 4th operational instances shown in Fig. 6 is, shown in Fig. 8 The 6th operational instances further increase the setting of print position and further attached in bar shaped digital content can parameter According to.Step S801 and S802 in 6th operational instances shown in fig. 8 is respectively and in the 4th operational instances shown in Fig. 6 Step S601 and S602 is identical, thus there is omitted herein its detailed description.
Below with reference to the step S803 to step S810 in the 6th operational instances shown in fig. 8, to describe in detail With the difference of the 4th operational instances shown in Fig. 6.
In step S803, resolution unit 121 in dissection process device 120 is according to being stored in advance in storage unit 124 In number command information, to parse the first print data stream, to obtain printing number.
For example, in this example, the number command information being stored in advance in storage unit 124 are as follows:@PJL SET QTY =number.
In this case, resolution unit 121 is according to above-mentioned number command information, by byte one by one to the first print data PJL (printer job language) data flow in stream is searched and is matched, and is matched with obtaining with above-mentioned number command information Printing number.
Then, resolution unit 121 is according to the printing number got, according to page order, by with current number serial number The current value of corresponding variable data is combined with the bar shaped digital content got, to obtain current bar shaped digital content.
User can set the corresponding relationship between number serial number and variable data according to actual needs, and can lead to The form for crossing such as list, corresponding relationship formula etc., by the corresponding relationship between the number serial number set and variable data It is stored in advance in storage unit 124.
For example, needing the variable data for increasing such as receipts or other documents in duplicate number in bar code to improve document in logistic industry The efficiency of filing.In this case, user can be by the corresponding pass between number serial number and the variable data of such as receipts or other documents in duplicate number System is set as following relationship: the current value of variable data (receipts or other documents in duplicate number)=- current number serial number/printing number, and will set The above-mentioned relation formula set is stored in advance in storage unit 124.
It is assumed that the printing number that resolution unit 121 is got is 5 parts.In step S804, resolution unit 121 is being obtained When to printing number (for example, 5 parts), current number serial number is set as 1, and according to being stored in advance in storage unit 124 In above-mentioned relation formula, obtain variable data (receipts or other documents in duplicate number) corresponding with current number serial number " 1 " current value be " -1/ 5”。
Then, in step S505, variable data corresponding with current number serial number that resolution unit 121 will obtain Current value " -1/5 " combined with the bar shaped digital content " 80086332 " got in step S802, to obtain current bar shaped Digital content " 80086332-1/5 ".
Then, in step S806, the generation unit 122 in dissection process device 120 is according to resolution unit 121 in step The bar code font got in S802 and the current bar shaped digital content got in step S805 generate bar code image Data flow.
Then, in step S807, the generation unit 122 in dissection process device 120 is according to the preset item of user Shape code print position generates bar code printing location order.
User can arbitrarily set position of the bar code in document out to be printed according to actual needs, and will The bar code printing location set is stored in advance in storage unit 124.
Then, in step S808, the processing unit 123 in dissection process device 120 is by generation unit 122 in step The bar code printing location order generated in S807 is inserted into together with the bar code image data flow generated in step S806 It in first print data stream, is such as inserted into the PCL data flow in the first print data stream, to form the second print data Stream.
Then, in step S809, the printout of output device 130 handles obtain second through dissection process device 120 Print data stream.
Then, in step S810, increase the counting of current number serial number.For example, current number serial number is from " 1 " quilt Increase to " 2 ".
Then, in step S811, judge whether current number serial number is greater than the printing number got.If current Number serial number be less than or equal to the printing number that gets, then operation back to step S805 and repeats step S805 and arrives S811.If current number serial number is greater than the printing number got, operation terminates.
In this example, although the example using receipts or other documents in duplicate number as variable data is illustrated, the present invention not office It is limited to this.
All numerical value provided in the present specification are merely illustrative, rather than are used to limit the scope of the invention.
Although by being described in conjunction with specific embodiments to the present invention, for the ordinary artisan of this field, It will be apparent according to many substitutions, modification and the variation made after mentioned above.Therefore, when such substitution, modification When being fallen into variation within the spirit and scope of appended claims, it should be included in the present invention.

Claims (8)

1. a kind of printing bar code method, which is characterized in that the described method comprises the following steps:
Receiving step, for receiving the first print data stream of the print job from external equipment;
Analyzing step, for first print data stream being parsed, to obtain bar code information according to predetermined information;
Generation step, for generating bar code image data flow according to the bar code information got;
Processing step, for the bar code image data flow generated to be inserted into first print data stream, with shape At the second print data stream;And
Step is exported, for printing out second print data stream;
Wherein, if first print data stream does not include bar code data stream;And
The predetermined information includes the preset keyword of user and the preset bar code font of user;
The analyzing step further comprises: according to the keyword, first print data stream is parsed, to obtain bar code Content, and using the preset bar code font of the user and the bar shaped digital content got as the bar code Information.
2. printing bar code method as described in claim 1, which is characterized in that if first print data stream includes item Code data stream;And
The predetermined information includes bar code font command information;
The analyzing step further comprises: according to the bar code font command information, parsing first print data stream In bar code data stream, to obtain bar code font and bar shaped digital content, and the bar code font that will acquire and The bar shaped digital content got is as the bar code information.
3. printing bar code method as described in claim 1, which is characterized in that
The generation step further comprises: according to the preset bar code printing location of user, generating printing bar code position Set order;And
The processing step further comprises: by the bar code figure of the bar code printing location order of generation and generation As data flow is inserted into together in first print data stream, to form second print data stream.
4. printing bar code method as claimed in any one of claims 1-3, which is characterized in that the predetermined information is further Include number command information;
The analyzing step further comprises:
According to the number command information, first print data stream is parsed, to obtain printing number;And
According to the printing number got, according to page order, by variable data corresponding with current number serial number Current value combined with the bar shaped digital content got, to obtain current bar shaped digital content, and will be described current Bar shaped digital content is as the bar shaped digital content for including in the bar code information.
5. a kind of printing bar code equipment characterized by comprising
Reception device, the reception device receive the first print data stream of the print job from external equipment;
Dissection process device, the dissection process device parse and handle first print data stream, to form second dozen Data flow is printed, the dissection process device further includes:
Resolution unit, the resolution unit parse first print data stream according to predetermined information, to obtain bar code letter Breath;
Generation unit, the bar code information that the generation unit is got according to the resolution unit generate bar code figure As data flow;And
Processing unit, the bar code image data flow that the processing unit generates the generation unit are inserted into described In one print data stream, to form second print data stream;And
Output device, the output device print out second print data stream;
Wherein, if first print data stream does not include bar code data stream;And
The predetermined information includes the preset keyword of user and the preset bar code font of user;
The resolution unit parses first print data stream according to the keyword, to obtain bar shaped digital content, and will The preset bar code font of user and the bar shaped digital content got are as the bar code information.
6. printing bar code equipment as claimed in claim 5, which is characterized in that if first print data stream includes item Code data stream;And
The predetermined information includes bar code font command information;
The resolution unit parses the bar shaped yardage in first print data stream according to the bar code font command information According to stream, to obtain bar code font and bar shaped digital content, and the bar code font that will acquire and described in getting Bar shaped digital content is as the bar code information.
7. printing bar code equipment as claimed in claim 5, which is characterized in that
The generation unit generates bar code printing location order according to the preset bar code printing location of user;And
The processing unit is in the bar code printing location order that will be generated and the bar code image data flow of generation It is inserted into first print data stream together, to form second print data stream.
8. the printing bar code equipment as described in any one of claim 5-7, which is characterized in that the predetermined information is further Include number command information;
The resolution unit parses first print data stream, according to the number command information to obtain printing number;With And
The resolution unit will be opposite with current number serial number according to page order according to the printing number got The current value for the variable data answered is combined with the bar shaped digital content got, to obtain current bar shaped digital content, and Using the current bar shaped digital content as the bar shaped digital content for including in the bar code information.
CN201510603962.0A 2015-09-21 2015-09-21 Printing bar code method and printing bar code equipment Active CN106547494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510603962.0A CN106547494B (en) 2015-09-21 2015-09-21 Printing bar code method and printing bar code equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510603962.0A CN106547494B (en) 2015-09-21 2015-09-21 Printing bar code method and printing bar code equipment

Publications (2)

Publication Number Publication Date
CN106547494A CN106547494A (en) 2017-03-29
CN106547494B true CN106547494B (en) 2019-08-06

Family

ID=58364575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510603962.0A Active CN106547494B (en) 2015-09-21 2015-09-21 Printing bar code method and printing bar code equipment

Country Status (1)

Country Link
CN (1) CN106547494B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448522B (en) * 2021-06-23 2023-03-31 深圳市润天智数字设备股份有限公司 Variable data printing output method and device, terminal equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620520A (en) * 2008-07-03 2010-01-06 精工爱普生株式会社 Printing control device, control method for a printing device, and a control program
CN101800826A (en) * 2009-02-10 2010-08-11 夏普株式会社 Image processing apparatus, terminal installation, print apparatus and image processing method
CN101847212A (en) * 2009-03-25 2010-09-29 富士施乐株式会社 Barcode data management device, printing apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620520A (en) * 2008-07-03 2010-01-06 精工爱普生株式会社 Printing control device, control method for a printing device, and a control program
CN101800826A (en) * 2009-02-10 2010-08-11 夏普株式会社 Image processing apparatus, terminal installation, print apparatus and image processing method
CN101847212A (en) * 2009-03-25 2010-09-29 富士施乐株式会社 Barcode data management device, printing apparatus

Also Published As

Publication number Publication date
CN106547494A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
EP2713265A2 (en) Print control device, printer, and control method of a print control device
EP2942706B1 (en) Data conversion system, data conversion device, and data conversion method
US9135534B2 (en) Image processing device, image processing system, and printing method
US9143628B2 (en) Quality checks for printed pages using target images that are generated external to a printer
JP5304282B2 (en) Printing information conversion apparatus, printing apparatus, printing system, and program
JP5924218B2 (en) Template processing program and template processing method
US8643879B2 (en) Hosted print job ticket conversion
JP2018106717A (en) Preserving logical page order in print job
CA3002669C (en) Xml file condensing
US9384429B2 (en) Data supplying device for supplying access data indicating access information of content data
JP2018160897A (en) Image processing device
CN106547494B (en) Printing bar code method and printing bar code equipment
US9058136B2 (en) Defining reusable items in printer-ready document to include all graphic attributes for reproducing reusable items independently of external conditions
JP5954691B2 (en) Template processing program and template processing method
US20140268185A1 (en) Individualizing reduction of original pages in n-up copying or printing
US8649042B2 (en) System and method for automated generation of a fully parameterized workflow plan
CN108228113B (en) Information processing apparatus, recording medium, printing apparatus, and printing system
JP2010240844A (en) Label printer, program, and label printing system
US9372650B2 (en) Communication control method in image forming system which comprises a plurality of applications and an image forming apparatus and in which at least a print job described in JDF code is transmitted from said applications to said image forming apparatus and a message described in JMF code is exchanged between said applications and said image forming apparatus, storage medium stored with program for said image forming system, and said image forming system
CN105991879A (en) Printing system image forming apparatus, and printing method
CN106157004A (en) Control method, control system and commerce and trade system
JP2017033420A (en) Live variable printing system
JP2008299480A (en) Printing system, image forming apparatus, and printer driver program
US20150062598A1 (en) Printing quality determination based on text analysis
JP5459383B2 (en) Print data generation apparatus, print data generation method, printer driver program, and print data generation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant