CN107878059A - Efficient Method of printing, storage medium - Google Patents
Efficient Method of printing, storage medium Download PDFInfo
- Publication number
- CN107878059A CN107878059A CN201710865707.2A CN201710865707A CN107878059A CN 107878059 A CN107878059 A CN 107878059A CN 201710865707 A CN201710865707 A CN 201710865707A CN 107878059 A CN107878059 A CN 107878059A
- Authority
- CN
- China
- Prior art keywords
- print data
- heat time
- printing
- heated current
- dutycycle
- 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
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41M—PRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
- B41M5/00—Duplicating or marking methods; Sheet materials for use therein
- B41M5/26—Thermography ; Marking by high energetic means, e.g. laser otherwise than by burning, and characterised by the material used
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1211—Improving printing performance
- G06F3/1215—Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Optics & Photonics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electronic Switches (AREA)
Abstract
The present invention, which provides a kind of efficiently Method of printing, storage medium, method, to be included:S1:Print data dutycycle, heated current and the mapping table of heat time are preset, print data dutycycle is inversely proportional with heated current, is direct ratio with the heat time in the mapping table;S2:Obtain a line print data;S3:Dutycycle corresponding to acquired print data is calculated;S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;S5:Heated according to hot spot corresponding to the heated current and heat time control.According to dutycycle corresponding to print data of not going together, heated current is printed energy of the invention with the heat time corresponding to setting, realizes the balance in heated current and print speed, improves printing effect.
Description
Technical field
The present invention relates to thermal printing field, particularly relates to a kind of efficiently Method of printing, storage medium.
Background technology
Thermal printer cassette is widely used in the electronic products such as POS.There is row heating on thermal printer cassette
Point, this row's hot spot form a heater wire.Whether hot spot, which heats, is entered by the print data in movement latch register
Row control.If desired a black line is printed, then controls all hot spots all to be heated (printing dutycycle 100%), if printing
Be content of text, it is necessary to which the hot spot of heating is usually no more than 20% (printing dutycycle is 20%).
When it is 100% to print dutycycle, all hot spots are required for heating, and now need to consume larger electric current,
By taking Puri spy's PT488A movements as an example, the electric current that single hot spot heating needs to consume is 36.8mA, and a heater wire has 384
Hot spot, then black line (printing dutycycle 100%) is printed, it is necessary to the electric current of consumption be 14.1A, it is electric using lithium for some
Battery-powered product, such as POS is moved, because current value exceedes the protection value of lithium battery, it is likely that make product when printing
Direct power down.Now in general way is that all hot spots are divided into several groups to be heated.Although so it can also obtain same
Printing effect, but after packet is heated, the time-write interval for completing a print wire also will be elongated.One section of printing content is by very
More print wire compositions, the time-write interval of a print wire are elongated, then the time-write interval for completing whole section of content just becomes longer
, customer experience is deteriorated, and product can also lose competitiveness.
So now the problem is that, if all hot spots on printer core heat together, the time-write interval shortens, still
Printing total current may be too high, more than the protection value of lithium battery, causes product powered-off fault;If hot spot is divided into several groups
Heating, without electric current it is too high the problem of, but complete printing time it is also elongated.
The content of the invention
The technical problems to be solved by the invention are:There is provided it is a kind of efficiently Method of printing, storage medium, realize low current and
Quickly finish printing.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:
A kind of efficient Method of printing, including:
S1:Default print data dutycycle, heated current and the mapping table of heat time, in the mapping table
Print data dutycycle is inversely proportional with heated current, is direct ratio with the heat time;
S2:Obtain a line print data;
S3:Dutycycle corresponding to acquired print data is calculated;
S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;
S5:Heated according to hot spot corresponding to the heated current and heat time control.
Another technical scheme provided by the invention is:
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is by the processor of printing device
Following steps are realized during execution:
S1:Default print data dutycycle, heated current and the mapping table of heat time, in the mapping table
Print data dutycycle is inversely proportional with heated current, is direct ratio with the heat time;
S2:Obtain a line print data;
S3:Dutycycle corresponding to acquired print data is calculated;
S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;
S5:Heated according to hot spot corresponding to the heated current and heat time control.
The beneficial effects of the present invention are:The present invention presets printing number on the premise of ensureing that printing effect meets the requirements
According to dutycycle, heated current and the mapping table of heat time, heated current and heat time by change so that product
In printing, maximum current also can complete printing not over product requirement with the most short time, in heated current and beat
A best balance has been taken in print-out rate.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of efficiently Method of printing of the present invention;
Fig. 2 is a kind of schematic flow sheet of efficiently Method of printing of the embodiment of the present invention one;
Fig. 3 is a kind of module frame chart of three print control system of the embodiment of the present invention.
Label declaration:
100th, system module;110th, CPU module;120th, Flash modules;
200th, heated current control module;
300th, print module;310th, heating module;320th, heating control module;330th, print data control module.
Embodiment
To describe the technology contents of the present invention, the objects and the effects in detail, below in conjunction with embodiment and coordinate attached
Figure is explained.
The design of most critical of the present invention is:According to dutycycle corresponding to print data of not going together, corresponding heat is set
Electric current is printed with the heat time, realizes the balance in heated current and print speed, improves printing effect.
Fig. 1 is refer to, the present invention provides a kind of efficient Method of printing, including:
S1:Default print data dutycycle, heated current and the mapping table of heat time, in the mapping table
Print data dutycycle is inversely proportional with heated current, is direct ratio with the heat time;
S2:Obtain a line print data;
S3:Dutycycle corresponding to acquired print data is calculated;
S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;
S5:Heated according to hot spot corresponding to the heated current and heat time control.
It was found from foregoing description, the beneficial effects of the present invention are:Heated current and heat time by change so that
In printing, if printing total current exceedes the design requirement of product, system can reduce the heated current of each hot spot automatically, and
The proper extension heat time, to obtain same printing effect;If desired the heating points heated are less, the caused total electricity of printing
Stream is smaller, then system control each needs the hot spot heated to be heated with larger heated current, reduces the heat time,
Improve the speed of printing.Such way has taken a best balance in heated current and print speed.
Further, S6:Judge whether to have completed to print;
If it is not, then obtaining next line print data, return continues executing with S3;
If so, then terminate.
Seen from the above description, according to heat time and heated current corresponding to often capable dutycycle setting, realize on demand
Regulate and control the working condition of hot spot, the process for thus completing each print out task not only can guarantee that printing total current meets printing and set
Standby design requirement is without power down easily, while and can improves print speed.
Further, maximum current of the mapping table in the S1 according to printing device, and the minimum of hot spot
Heated current is preset.
Further, the minimum heated current of the hot spot is the half of the maximum current of hot spot.
Seen from the above description, the default of mapping table can be according to the difference of every printing device actual design requirement
Carry out flexible configuration;Meanwhile in order to ensure that the heat of hot spot can meet the minimum temperature requirement of printing, the corresponding relation
The setting of table reference will also be made to the minimum heated current of each print point, so as to improve the adaptability of mapping table.
Further, the S2 is specially:
S21:Under control of the clock signal, print data is sequentially input to the shift LD of printer core in a serial fashion
In device;
S22:After inputting a line print data, data are arrived into a line print data storage of the input according to latch signal
In latch.
Further, the S5 is specially:
S51:Printing device is according to work corresponding to a line print data determination of the input in the data latches
Make hot spot;
S52:According to identified work hot spot, heating gating signal corresponding to control output;
S53:According to the heated current and heat time, the hot spot that worked corresponding to heating gating signal is added
Heat;
S54:After completing the printing to a line print data, drive motor one step angle of advance.
Seen from the above description, it is specific in the electronic equipment containing thermal printer cassette to additionally provide mapping table
Implementation process, ensure the feasibility of scheme.
Further, the efficiently Method of printing applies to move POS.
Seen from the above description, it will well be used in the mobile POS using lithium battery power supply, effectively avoided
In print procedure due to current value exceed lithium battery protection value and direct power down, while and can improve print speed.
Further, in the mapping table, when print data dutycycle is less than 60%, corresponding heated current is
40-45mA, corresponding heat time are 1-1.5ms;It is corresponding when print data dutycycle is more than or equal to 60% and is less than 100%
Heated current be 23-30mA, the corresponding heat time is 4-5ms.
Further, in the mapping table, when print data dutycycle is less than 25%, corresponding heated current is
40-45mA, corresponding heat time are 1-1.5ms;It is corresponding when print data dutycycle is more than or equal to 25% and is less than 70%
Heated current is 31-35mA, and the corresponding heat time is 2-3ms;Print data dutycycle is more than or equal to 70% and less than 100%
When, corresponding heated current is 23-30mA, and the corresponding heat time is 4-5ms.
Seen from the above description, there is provided print data dutycycle it is corresponding feasible, optimal in different range plus
Thermocurrent and two kinds of concrete configuration modes of heat time, print speed and printing electric current is set to obtain a best balance.With
Family can directly be selected according to demand, is saved test configurations process, is user-friendly.
Another technical scheme provided by the invention is:
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is by the processor of printing device
Following steps are realized during execution:
S1:Default print data dutycycle, heated current and the mapping table of heat time, in the mapping table
Print data dutycycle is inversely proportional with heated current, is direct ratio with the heat time;
S2:Obtain a line print data;
S3:Dutycycle corresponding to acquired print data is calculated;
S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;
S5:Heated according to hot spot corresponding to the heated current and heat time control.
Further, described program can also realize following steps:
S6:Judge whether to have completed to print;
If it is not, then obtaining next line print data, return continues executing with S3;
If so, then terminate.
Further, maximum current of the mapping table in the S1 according to printing device, and the minimum of hot spot
Heated current is preset.
Further, the minimum heated current of the hot spot is the half of the maximum current of hot spot.
Further, following sub-step is specifically performed during the S2 that described program performs:
S21:Under control of the clock signal, print data is sequentially input to the shift LD of printer core in a serial fashion
In device;
S22:After inputting a line print data, data are arrived into a line print data storage of the input according to latch signal
In latch.
Further, following sub-step is specifically performed during the S5 that described program performs:
S51:Printing device is according to work corresponding to a line print data determination of the input in the data latches
Make hot spot;
S52:According to identified work hot spot, heating gating signal corresponding to control output;
S53:According to the heated current and heat time, the hot spot that worked corresponding to heating gating signal is added
Heat;
S54:After completing the printing to a line print data, drive motor one step angle of advance.
Further, the processor is the processor of mobile POS.
Further, in the mapping table, when print data dutycycle is less than 60%, corresponding heated current is
40-45mA, corresponding heat time are 1-1.5ms;It is corresponding when print data dutycycle is more than or equal to 60% and is less than 100%
Heated current be 23-30mA, the corresponding heat time is 4-5ms.
Further, in the mapping table, when print data dutycycle is less than 25%, corresponding heated current is
40-45mA, corresponding heat time are 1-1.5ms;It is corresponding when print data dutycycle is more than or equal to 25% and is less than 70%
Heated current is 31-35mA, and the corresponding heat time is 2-3ms;Print data dutycycle is more than or equal to 70% and less than 100%
When, corresponding heated current is 23-30mA, and the corresponding heat time is 4-5ms.
Embodiment one
Fig. 2 is refer to, the present embodiment offer is a kind of to be applied to any electronic equipment containing thermal printer cassette, preferably
, for the product using lithium battery power supply, such as POS is moved, there will be good utilization effect.The present embodiment will be with movement
Illustrated exemplified by POS, but not limited to this.
The method of the present embodiment includes:
S1:Default print data dutycycle, heated current and the mapping table of heat time, in the mapping table
Print data dutycycle is inversely proportional with heated current, is direct ratio with the heat time.
Specifically, it can ensure that printing effect meets the feelings of design requirement by carrying out dependence test checking to POS
Under condition, heated current (I) and the relation of heat time (T) are drawn.Then a print data duty is established according to this relation
It is as shown in table 1 below than (X), heated current (I) and heat time (T) mapping table, and this mapping table is prestored
Enter the system of POS.
Table 1
It should also be noted that, the heated current (I) and heat time (T) in table 1 are corresponding single hot spots;And I1
>I2>I3 ... In, T1<T2<T3…Tn.Different products, not even same thermal printing paper, the mapping table matched can
Can be all different.Specifically, the setting of mapping table, the maximum current of printing device restriction is reference will also be made to set.It is different
The design of product is different, so the requirement to maximum current may be also different, can be according to the actual requirement of printing device
To set.Meanwhile heated current be not can be with infinitely small, electric current is too small, and the heat of hot spot possibly can not meet heat
The minimum temperature requirement of quick printing paper, therefore, the setting of mapping table will also be limited by minimum heated current Imin, and one
As minimum heated current Imin be the maximum current Imax half that can bear of printer core hot spot or so, or can join
According to the specifications of thermal printer cassette.
S2:Obtain a line print data;
Specifically, following sub-step can be included:
S21:POS performs printing, under control of the clock signal, the print data of correlation is passed through into serial side
Formula moves into the shift register of printer core successively;
S22:After a line print data inputs, in the presence of latch signal/LAT, the row print data is stored
Into data latches, while equipment performs S3;
S3:Dutycycle corresponding to acquired print data is calculated.
Specifically, data latches can also read dutycycle (X) corresponding to the row print data and calculating simultaneously.
S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained.
Specifically, POS will confirm which in default mapping table of dutycycle (X) corresponding to the row print data
One grade, and S5 is performed accordingly, the heated current (I) of control output respective notch and heat time (T).
S5:Heated according to hot spot corresponding to the heated current and heat time control.
Specifically, the S5 can specifically include following sub-step:
S51:The printing device of POS determines corresponding need according to a line data to be printed stored in the data latches
The work hot spot to be heated;
S52:Heating gating signal/ST* corresponding to the printing device control output of POS, for starting identified work
Make hot spot;
S53:Printing device is to the work hot spot started, heated current (I) and heat time (T) according to S4 determinations
Heated;
S54:The row data for needing to print are printed upon on thermal printing paper, complete to beat a line print data
Print, i.e., the printing of a print wire is so far completed, then one step angle of drive motor advance.
S6:Judge whether to have completed to print;
If it is not, then obtaining next line print data, return continues executing with S3, continues the printing of next print wire;
If so, then terminating, printing device completes printing.
Heated current and heat time of the present embodiment by change so that the printing device of POS is in printing, if beating
The maximum allowed current that total current exceedes POS is printed, system can reduce the heated current of each hot spot, and proper extension automatically
Heat time, to obtain same printing effect;If desired the heating points heated are less, and caused printing total current is smaller,
Then system control each needs the hot spot heated to be heated with larger heated current, reduces the heat time, thus carries
The high speed of printing, realizes and a best balance has been taken in heated current and print speed.
Embodiment two
The present embodiment is on the basis of embodiment one, there is provided two kinds of different configuration modes of mapping table, facilitates user
Directly select, improve applicability.
As shown in table 2 below, a kind of configuration mode of mapping table can be:
When print data dutycycle X is more than or equal to 0 and is less than 60%, corresponding heated current is 40-45mA, corresponding to add
The hot time is 1-1.5ms;Preferably, if 0≤X<60%, then corresponding heated current (I)=43.7mA, the heat time (T)=
1.25ms。
When print data dutycycle X is more than or equal to 60% and is less than 100%, corresponding heated current is 23-30mA, corresponding
Heat time be 4-5ms;Preferably, if 60%≤X≤100%, corresponding heated current (I)=25.3mA, heating when
Between (T)=4ms.
Table 2
As shown in table 3 below, the configuration mode of another mapping table can be:
When print data dutycycle X is less than 25%, corresponding heated current is 40-45mA, and the corresponding heat time is 1-
1.5ms;Preferably, if 0≤X<25%, then corresponding heated current (I)=43.7mA, heat time (T)=1.25ms.
When print data dutycycle X is more than or equal to 25% and is less than 70%, corresponding heated current is 31-35mA, corresponding
Heat time be 2-3ms;Preferably, if 25%≤X<70%, then corresponding heated current (I)=33.12mA, heat time
(T)=2.5ms.
When print data dutycycle is more than or equal to 70% and is less than 100%, corresponding heated current is 23-30mA, corresponding
Heat time be 4-5ms;Preferably, if 70%≤X≤100%, corresponding heated current (I)=25.3mA, heating when
Between (T)=4.3ms.
Table 3
Embodiment three
As shown in figure 3, the present embodiment provides the print control system of a corresponding embodiment one, comprising system module 100, add
Thermoelectricity flow control module 200 and print module 300.
The system module 100 is used to control heat time, control electric current control module to export correspondingly sized heating electricity
Print data is simultaneously inputted print module by stream, the dutycycle for reading print data.
Specifically, system module 100 includes CPU module 110 and Flash modules 120;The CPU module 110 is used to handle
Instruction, perform the operation such as operation, control time, processing data;
The Flash modules 120 are used to store associated control software;
The heated current control module 200 is used for the control according to system module 100, exports correspondingly sized electric current;
The print module 300 is used for according to the heated current and heat time inputted, it would be desirable to the data of printing
Print on thermal printing paper;
Specifically, print module 300 includes heating module 310, heating control module 320 and print data control module
330;
The heating module 310 is by R1, R2 ..., and hot spots all .Rn form;
The heating control module 320 is by Q1, Q2 ..., and .Qn transistor forms, and whether these transistor controls hot spots
Heated, each hot spot has a corresponding transistor;
The print data control module 330 is made up of shift register, data latches, gating circuit etc..
When printhead works, print data moves into displacement successively from data input pin DI in the presence of clock signal clk
Register.After data line inputs, data latch register is arrived into a row storage in the presence of latch signal/LAT, most
Afterwards by the effective heating gating signal/ST1 of software control output ,/ST2, corresponding hot spot is set to obtain electrical heating, will temperature-sensitive again
The point row figure corresponding with the input data of current data latch is obtained on printing paper.
Example IV
The present embodiment corresponds to embodiment two and provides a kind of computer-readable recording medium, is stored thereon with computer program,
The program by printing device computing device when realize following steps:
S1:Default print data dutycycle, heated current and the mapping table of heat time, in the mapping table
Print data dutycycle is inversely proportional with heated current, is direct ratio with the heat time;Preferably, mapping table is according to printing device
Maximum current, and the minimum heated current of hot spot preset, and the minimum heated current of the hot spot is hot spot
Maximum current half.
S2:Obtain a line print data;
Specifically, described program specifically performs following sub-step when performing S2:
S21:Under control of the clock signal, print data is sequentially input to the shift LD of printer core in a serial fashion
In device;
S22:After inputting a line print data, data are arrived into a line print data storage of the input according to latch signal
In latch.
S3:Dutycycle corresponding to acquired print data is calculated;
S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;
S5:Heated according to hot spot corresponding to the heated current and heat time control;
Specifically, described program specifically performs following sub-step when performing S5:
S51:Printing device is according to work corresponding to a line print data determination of the input in the data latches
Make hot spot;
S52:According to identified work hot spot, heating gating signal corresponding to control output;
S53:According to the heated current and heat time, the hot spot that worked corresponding to heating gating signal is added
Heat;
S54:After completing the printing to a line print data, drive motor one step angle of advance.
S6:Judge whether to have completed to print;
If it is not, then obtaining next line print data, return continues executing with S3;
If so, then terminate.
Preferably, above-mentioned printing device is the printing device of mobile POS.
Meanwhile it is also that two kinds of configuration modes for providing mapping table are selective, it is easy to user directly to use, while and can
Improve applicability.Specifically:
A kind of configuration mode of mapping table is:When print data dutycycle is less than 60%, corresponding heated current is
40-45mA, corresponding heat time are 1-1.5ms;It is corresponding when print data dutycycle is more than or equal to 60% and is less than 100%
Heated current be 23-30mA, the corresponding heat time is 4-5ms.
Another configuration mode of mapping table is:When print data dutycycle is less than 25%, corresponding heated current
For 40-45mA, the corresponding heat time is 1-1.5ms;It is corresponding when print data dutycycle is more than or equal to 25% and is less than 70%
Heated current be 31-35mA, the corresponding heat time is 2-3ms;Print data dutycycle is more than or equal to 70% and is less than
When 100%, corresponding heated current is 23-30mA, and the corresponding heat time is 4-5ms.
In summary, it is provided by the invention efficiently Method of printing, storage medium, can not only realize low current and quickly it is complete
Into printing;And the flexible configuration of mapping table can also be realized;Further, moreover it is possible to provide two kinds of different configuration modes for
Family directly selects;Further, moreover it is possible to improve customer experience, while improve product competitiveness in the market.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalents that bright specification and accompanying drawing content are made, or the technical field of correlation is directly or indirectly used in, similarly include
In the scope of patent protection of the present invention.
Claims (18)
- A kind of 1. efficient Method of printing, it is characterised in that including:S1:Print data dutycycle, heated current and the mapping table of heat time are preset, is printed in the mapping table Data duty cycle is inversely proportional with heated current, is direct ratio with the heat time;S2:Obtain a line print data;S3:Dutycycle corresponding to acquired print data is calculated;S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;S5:Heated according to hot spot corresponding to the heated current and heat time control.
- 2. efficient Method of printing as claimed in claim 1, it is characterised in that also include:S6:Judge whether to have completed to print;If it is not, then obtaining next line print data, return continues executing with S3;If so, then terminate.
- 3. efficient Method of printing as claimed in claim 1, it is characterised in that the mapping table in the S1 is set according to printing Standby maximum current, and the minimum heated current of hot spot are preset.
- 4. efficient Method of printing as claimed in claim 3, it is characterised in that the minimum heated current of the hot spot is heating The half of the maximum current of point.
- 5. efficient Method of printing as claimed in claim 1, it is characterised in that the S2 is specially:S21:Under control of the clock signal, print data is sequentially input to the shift register of printer core in a serial fashion In;S22:After inputting a line print data, a line print data storage of the input is latched to data according to latch signal In device.
- 6. efficient Method of printing as claimed in claim 5, it is characterised in that the S5 is specially:S51:Printing device determines that corresponding work adds according to a line print data of the input in the data latches Focus;S52:According to identified work hot spot, heating gating signal corresponding to control output;S53:According to the heated current and heat time, the hot spot that worked corresponding to heating gating signal is heated;S54:After completing the printing to a line print data, drive motor one step angle of advance.
- 7. efficient Method of printing as claimed in claim 1, it is characterised in that the efficiently Method of printing applies to move POS Machine.
- 8. efficient Method of printing as claimed in claim 1, it is characterised in that in the mapping table, print data duty During than less than 60%, corresponding heated current is 40-45mA, and the corresponding heat time is 1-1.5ms;Print data dutycycle is big In equal to 60% and less than 100% when, corresponding heated current is 23-30mA, and the corresponding heat time is 4-5ms.
- 9. efficient Method of printing as claimed in claim 1, it is characterised in that in the mapping table, print data duty During than less than 25%, corresponding heated current is 40-45mA, and the corresponding heat time is 1-1.5ms;Print data dutycycle is big In equal to 25% and less than 70% when, corresponding heated current is 31-35mA, and the corresponding heat time is 2-3ms;Print data When dutycycle is more than or equal to 70% and is less than 100%, corresponding heated current is 23-30mA, and the corresponding heat time is 4- 5ms。
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program, which is printed, to be set Following steps are realized during standby computing device:S1:Print data dutycycle, heated current and the mapping table of heat time are preset, is printed in the mapping table Data duty cycle is inversely proportional with heated current, is direct ratio with the heat time;S2:Obtain a line print data;S3:Dutycycle corresponding to acquired print data is calculated;S4:According to the mapping table, heated current and heat time corresponding to the dutycycle are obtained;S5:Heated according to hot spot corresponding to the heated current and heat time control.
- 11. computer-readable recording medium as claimed in claim 10, it is characterised in that described program can also be realized following Step:S6:Judge whether to have completed to print;If it is not, then obtaining next line print data, return continues executing with S3;If so, then terminate.
- 12. computer-readable recording medium as claimed in claim 10, it is characterised in that mapping table in the S1 according to Preset according to the minimum heated current of the maximum current of printing device, and hot spot.
- 13. computer-readable recording medium as claimed in claim 12, it is characterised in that the minimum heating electricity of the hot spot Flow the half of the maximum current for hot spot.
- 14. computer-readable recording medium as claimed in claim 10, it is characterised in that described program is specific when performing S2 Perform following sub-step:S21:Under control of the clock signal, print data is sequentially input to the shift register of printer core in a serial fashion In;S22:After inputting a line print data, a line print data storage of the input is latched to data according to latch signal In device.
- 15. computer-readable recording medium as claimed in claim 14, it is characterised in that described program is specific when performing S5 Perform following sub-step:S51:Printing device determines that corresponding work adds according to a line print data of the input in the data latches Focus;S52:According to identified work hot spot, heating gating signal corresponding to control output;S53:According to the heated current and heat time, the hot spot that worked corresponding to heating gating signal is heated;S54:After completing the printing to a line print data, drive motor one step angle of advance.
- 16. computer-readable recording medium as claimed in claim 10, it is characterised in that the processor is mobile POS Processor.
- 17. computer-readable recording medium as claimed in claim 10, it is characterised in that in the mapping table, printing When data duty cycle is less than 60%, corresponding heated current is 40-45mA, and the corresponding heat time is 1-1.5ms;Print data When dutycycle is more than or equal to 60% and is less than 100%, corresponding heated current is 23-30mA, and the corresponding heat time is 4- 5ms。
- 18. computer-readable recording medium as claimed in claim 10, it is characterised in that in the mapping table, printing When data duty cycle is less than 25%, corresponding heated current is 40-45mA, and the corresponding heat time is 1-1.5ms;Print data When dutycycle is more than or equal to 25% and is less than 70%, corresponding heated current is 31-35mA, and the corresponding heat time is 2-3ms; Print data dutycycle is more than or equal to 70% and during less than 100%, and corresponding heated current is 23-30mA, during corresponding heating Between be 4-5ms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710865707.2A CN107878059B (en) | 2017-09-22 | 2017-09-22 | Efficient printing method and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710865707.2A CN107878059B (en) | 2017-09-22 | 2017-09-22 | Efficient printing method and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107878059A true CN107878059A (en) | 2018-04-06 |
CN107878059B CN107878059B (en) | 2020-01-31 |
Family
ID=61780663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710865707.2A Active CN107878059B (en) | 2017-09-22 | 2017-09-22 | Efficient printing method and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107878059B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111923605A (en) * | 2018-12-29 | 2020-11-13 | 厦门汉印电子技术有限公司 | Printing method, printing device, printer and storage medium |
CN113829769A (en) * | 2021-09-30 | 2021-12-24 | 珠海趣印科技有限公司 | Printing speed optimization method and device of Bluetooth printer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1655138A2 (en) * | 2004-11-05 | 2006-05-10 | Samsung Electronics Co., Ltd. | Thermal Printer |
CN101357543A (en) * | 2008-09-25 | 2009-02-04 | 北京公达数码科技有限公司 | Thermal printer sectional drive printing method and system |
CN102529417A (en) * | 2010-12-28 | 2012-07-04 | 理想科学工业株式会社 | Thermal head system and electrifying control method for thermal head |
CN104309339A (en) * | 2014-10-23 | 2015-01-28 | 福建联迪商用设备有限公司 | Print control method and device of thermal printer |
CN104494317A (en) * | 2014-11-27 | 2015-04-08 | 深圳市理邦精密仪器股份有限公司 | Apparatus and method for automatically adjusting heating time of thermo-sensitive printer |
-
2017
- 2017-09-22 CN CN201710865707.2A patent/CN107878059B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1655138A2 (en) * | 2004-11-05 | 2006-05-10 | Samsung Electronics Co., Ltd. | Thermal Printer |
CN101357543A (en) * | 2008-09-25 | 2009-02-04 | 北京公达数码科技有限公司 | Thermal printer sectional drive printing method and system |
CN102529417A (en) * | 2010-12-28 | 2012-07-04 | 理想科学工业株式会社 | Thermal head system and electrifying control method for thermal head |
CN104309339A (en) * | 2014-10-23 | 2015-01-28 | 福建联迪商用设备有限公司 | Print control method and device of thermal printer |
CN104494317A (en) * | 2014-11-27 | 2015-04-08 | 深圳市理邦精密仪器股份有限公司 | Apparatus and method for automatically adjusting heating time of thermo-sensitive printer |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111923605A (en) * | 2018-12-29 | 2020-11-13 | 厦门汉印电子技术有限公司 | Printing method, printing device, printer and storage medium |
CN113829769A (en) * | 2021-09-30 | 2021-12-24 | 珠海趣印科技有限公司 | Printing speed optimization method and device of Bluetooth printer |
CN113829769B (en) * | 2021-09-30 | 2023-09-22 | 珠海趣印科技有限公司 | Printing speed optimization method and device for Bluetooth printer |
Also Published As
Publication number | Publication date |
---|---|
CN107878059B (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107878059A (en) | Efficient Method of printing, storage medium | |
CN109353127B (en) | A kind of Method of printing of thermal printer, thermal printer and storage medium | |
CN115583115B (en) | Method and device for realizing thermal printing | |
JPH03266659A (en) | Line thermal printer | |
CN109842345A (en) | Method and device for driving steering engine | |
CN107415481B (en) | Thermal printer and its control method | |
CN109532239A (en) | A kind of printer step printing method, apparatus and thermal printer | |
Hayashikoshi et al. | Normally-off MCU architecture for low-power sensor node | |
CN112904751B (en) | Heating logic control method of thermal print head | |
CN112590401B (en) | Thermal printer control method, thermal printer control device, thermal printer and medium | |
CN110450553A (en) | A kind of print control program, control module, machine core and terminal | |
US8803932B2 (en) | Printer | |
CN101038473B (en) | Method and apparatus for controlling power for heating roller, and phase control citcuit of the same | |
JP7067261B2 (en) | Printing equipment and printing programs | |
JP6166626B2 (en) | Printer and printing method thereof | |
CN112590400B (en) | Thermal printer control method, thermal printer control device, thermal printer and medium | |
CN115534545A (en) | Printing control method of thermal printer based on motor and thermal sensitive sheet | |
CN112895732B (en) | System for heating logic control thermal printing head | |
CN114489184A (en) | Heating garment temperature control system and method | |
JP2000185426A (en) | Thermal printer | |
US10328716B2 (en) | Method for managing a thermal printer, corresponding device and program | |
JPH01160657A (en) | Thermosensitive printer | |
Ye | Benefit allocation method for supply chain collaboration based on cooperation game | |
JP2005331462A (en) | Method and detector for detecting voltage reduction in line printer | |
CN212623560U (en) | Film heating and dehumidifying device |
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 |