CN109532239B - Printer segmented printing method and device and thermal printer - Google Patents
Printer segmented printing method and device and thermal printer Download PDFInfo
- Publication number
- CN109532239B CN109532239B CN201811270286.XA CN201811270286A CN109532239B CN 109532239 B CN109532239 B CN 109532239B CN 201811270286 A CN201811270286 A CN 201811270286A CN 109532239 B CN109532239 B CN 109532239B
- Authority
- CN
- China
- Prior art keywords
- printing
- current
- segment
- points
- thermal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000007639 printing Methods 0.000 title claims abstract description 303
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000007651 thermal printing Methods 0.000 claims abstract description 53
- 238000010438 heat treatment Methods 0.000 claims abstract description 40
- 238000012545 processing Methods 0.000 claims description 9
- 238000013021 overheating Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 239000011248 coating agent Substances 0.000 description 2
- 238000000576 coating method Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 239000000853 adhesive Substances 0.000 description 1
- 230000001070 adhesive effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/315—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
- B41J2/32—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
- B41J29/393—Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
Landscapes
- Electronic Switches (AREA)
Abstract
The embodiment of the invention provides a printer sectional printing method, a device and a thermal printer, wherein the method comprises the following steps: acquiring the total printing points required by the current printing line; judging whether the total printing number is larger than the maximum printing number of the current thermal printing head; if the number of the printing segments is larger than the preset value, determining the number of the printing segments of the current printing line according to the total printing point number and the maximum printing point number of one time of the thermal printing head, and determining the position of the point needing to be printed in each printing segment number according to the number of the printing segments and the positions of all the printing points of the current printing line; wherein, the positions of the points to be printed in each printing segment number are discontinuous; and controlling corresponding heating modules on the thermal printing head to perform segmented printing according to the positions of the points to be printed in each printing segment number, so as to realize the printing of the current printing line after the printing of all the printing segment numbers is completed. Based on the invention, the problem of unclear printing handwriting of the printer caused by overheating can be solved, and the printing efficiency and the practicability of the printer are improved.
Description
Technical Field
The invention relates to the field of digital printing, in particular to a printer sectional printing method and device and a thermal printer.
Background
The basic principle of the thermal printing technology is to convert the data received by the printer into dot matrix signals to control the heating of the thermal unit and heat and develop the thermal coating on the thermal paper. At present, thermal printers are widely used in the fields of POS terminal systems, banking systems, medical instruments, and the like.
Generally, the printing quality of a thermal printer depends on the time for heating a thermal coating, and if the time for heating a dot is too long, the printing quality is poor, the printed dot deepens in a partial area, and the thermal heating unit is possibly operated at an excessive temperature due to the fact that the heat of the printed dot is not dissipated, so that the service life is reduced.
The prior art is through obtaining the total number of points that the heating dot matrix needs to print, when it is not more than the biggest number of points that can print simultaneously, all drives accomplish and print, when it is greater than the biggest number of points that can print simultaneously, the sub-number of points that need to print of every section makes the sum of sub-number in every combination not more than the biggest number of points that can print simultaneously, print every combination in proper order again, drive the gating circuit that corresponds the sub-number in every combination and print in the lump, and accomplished the combination of the sub-number of points that need to print of every section. The problem of this method is that the current combination method of the sub-dot numbers is continuous combination, for example, if a straight line needs to be printed three times, the straight line is divided into three equal parts, and a line segment of three parts is printed each time, which may cause the problem of interference lines (as shown in fig. 1) at the boundary of the segment due to heat conduction of the heating element.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a method and an apparatus for printing by segments of a printer, and a thermal printer, so as to solve the problem of the occurrence of interference lines caused by heat conduction of a heating element in the prior art.
The invention discloses a printer sectional printing method, a device and a thermal printer, wherein the method comprises the following steps:
acquiring the total printing points required by the current printing line;
judging whether the total printing points are larger than the maximum printing points of the current thermal printing head;
if the number of the printing sections is larger than the preset printing total number, determining the number of the printing sections of the current printing line according to the total printing number and the maximum printing number of one time of the thermal printing head, and determining the position of the point needing to be printed in each printing section number according to the number of the printing sections and the positions of all printing points of the current printing line; wherein, the positions of the points to be printed in each printing segment number are discontinuous;
and controlling the corresponding heating module on the thermal printing head to perform segmented printing according to the position of the point to be printed in each printing segment number, so as to realize the printing of the current printing line after the printing of all the printing segment numbers is completed.
Preferably, the method further comprises the following steps: if the total printing number is not larger than the maximum printing number of the thermal printing head at one time, determining the positions of all the printed points of the current printing line, and controlling the corresponding heating module of the thermal printing head to print.
Preferably, the number of printing segments is obtained by rounding up a quotient obtained by dividing the total printing point number by the maximum printing point number at one time; the maximum printing point number at one time is determined by the number of heating modules in the printer and the voltage and current distribution relation.
Preferably, the determining the position of the dot to be printed in each print segment number according to the print segment number and the positions of all the print dots of the current print line specifically includes:
acquiring the serial number of the current printing segment number, and generating an arithmetic difference number sequence by taking the serial number as a first item and the value of the printing segment number as a tolerance;
and acquiring the positions of all printing points of the current printing line, and marking the printing points with the positions with the numbers positioned on the arithmetic progression as the points needing to be printed by the number of printing segments.
Preferably, the maximum item of the arithmetic progression is generated from the total number of printing points.
Further, an embodiment of the present invention further provides a segmented printing apparatus for a printer, including:
a printing total point number obtaining unit, configured to obtain a printing total point number required by a current printing line;
the judging unit is used for judging whether the total printing number is larger than the maximum printing number of the current thermal printing head;
the first printing processing unit is used for determining the number of printing segments of the current printing line according to the total printing point number and the maximum printing point number of the current thermal printing head when the total printing point number is greater than the maximum printing point number of one time of the current thermal printing head, and determining the position of the point needing to be printed by each printing segment number according to the number of the printing segments and the positions of all the printing points of the current printing line; wherein, the positions of the points to be printed in each printing segment number are discontinuous;
and the segmented printing unit is used for controlling the corresponding heating module on the thermal printing head to perform segmented printing according to the position of the point to be printed in each printing segment number, so that the printing of the current printing line is realized after the printing of all the printing segment numbers is finished.
Preferably, the method further comprises the following steps: and the second printing processing unit is used for determining the positions of all the printed points of the current printing line and controlling the corresponding heating modules of the thermal printing head to print when the total printing point number is not more than the maximum printing point number of the thermal printing head at one time.
Preferably, the number of printing segments is obtained by rounding up a quotient obtained by dividing the total printing point number by the maximum printing point number at one time; the maximum printing point number at one time is determined by the number of heating modules in the printer and the voltage and current distribution relation.
Preferably, the first print processing unit specifically includes:
the arithmetic progression generating module is used for acquiring the serial number of the current printing segment number, and generating an arithmetic progression by taking the serial number as a first item and the value of the printing segment number as a tolerance;
and the printing point acquisition module is used for acquiring the positions of all printing points of the current printing line and marking the printing points with the serial numbers of the positions positioned on the arithmetic progression as the points to be printed by the number of the printing segments.
Still further, an embodiment of the present invention provides a thermal printer, including a thermal print head, a processor, a memory, and a print driver stored in the memory, where the print driver is executable by the processor to control the thermal print head to execute the above-mentioned method for printing in segments.
The invention provides a printer segment printing method, a device and a thermal printer, which can reduce or prevent interference lines caused by heat accumulation after heating by controlling a printing device to segment the number of printing segments, and print points of each segment are discontinuous.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a prior art printing diagram.
Fig. 2 is a schematic flow chart of a segment printing method of a printer according to a first embodiment of the present invention.
Fig. 3 is a block diagram of a sectional printing apparatus of a printer according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
As shown in fig. 2, a first embodiment of the present invention provides a method, an apparatus and a thermal printer for printing in segments of a printer, where the method includes:
s1: acquiring the total printing points required by the current printing line;
s2: judging whether the total printing points are larger than the maximum printing points of the current thermal printing head;
s3: if the total printing point number is larger than the maximum printing point number, determining the number of printing sections of the current printing line according to the total printing point number and the maximum printing point number of the thermal printing head;
s4: determining the position of the point to be printed in each printing segment number according to the printing segment number and the positions of all printing points of the current printing line; wherein, the positions of the points to be printed in each printing segment number are discontinuous;
s5: and controlling the corresponding heating module on the thermal printing head to perform segmented printing according to the position of the point to be printed in each printing segment number, so as to realize the printing of the current printing line after the printing of all the printing segment numbers is completed.
Further, still include:
s6: if the total printing number is not more than the maximum printing number of the thermal printing head at one time, determining the positions of all the printed points of the current printing line, and controlling the corresponding heating modules of the thermal printing head to print, wherein the step defaults the number of the printing segments into one segment according to the judgment result in the S2, drives all the gating circuits at one time, and directly prints, namely, simultaneously prints all the printable points in the heating modules.
The embodiment of the present invention may further specifically show that:
s1: obtaining the total number of printing points required by the current printing line as X through the printing data identification function of the thermal printer;
s2: obtaining a maximum printing point number Y at one time according to the calculation of the working current, and comparing the total printing point number X with the maximum printing point number Y at one time;
s3: if X is larger than Y, obtaining a result Z by operating the X and the Y, wherein the number of printing sections of the current printing line is Z;
s4: determining the position of a point needing to be printed in each printing segment number according to the Z printing segment numbers and the positions of the X printing points, wherein the positions of the printed points are discontinuous;
s5: and controlling corresponding Z heating modules on the thermal printing head to perform segmented printing according to the positions of the points to be printed in each printing segment number, so as to realize the printing of the current printing line after the printing of the Z printing segment numbers is completed.
S6: and if the X is not greater than the Y, determining the positions of X printed points of the current printing line, and controlling the corresponding heating module of the thermal printing head to print.
The method comprises the steps that an execution subject is a thermal printer or one or more components in the thermal printer, the method is used for configuring parameters of the thermal printer, the thermal printer can comprise one or more to-be-configured parameters needing to be configured, and the configuration process can be a process of assigning values to the to-be-configured parameters;
the thermal printer can be connected with a POS terminal, a cash register or the like, or integrated on the POS terminal, the cash register or other equipment; the working principle of the thermal printer is that a semiconductor heating element is arranged on a thermal printing head, and required characters can be printed after the thermal printing head is heated and contacts a thermal printing medium; the thermosensitive printing medium comprises a paper base and a color development layer coated on the surface of the paper base, wherein the color development layer can be composed of an adhesive, a color development agent and a leuco dye (or called leuco dye).
Preferably, the number of printing segments is obtained by rounding up a quotient obtained by dividing the total printing point number by the maximum printing point number at one time; the maximum printing point number at one time is determined by the number of heating modules in the printer and the voltage and current distribution relation.
Further, the step S3 of determining the number of print segments in the current print line according to the total print dot number X and the maximum print dot number Y of the thermal print head at one time means that X/Y gating circuits are selected to control heating, and then a quotient obtained by dividing the total print dot number X and the maximum print dot number Y is rounded up to obtain a result Z, so that the number of print segments in the current print line is Z.
The number of the heating modules in the printer and the distribution relation of the voltage and the current are specifically counted by the total number of heating points of the thermal printer, when the amount of information to be heated by the thermal printing head is large, the voltage of the working power supply of the thermal printing head is adjusted, the load current is reduced, so that printing interruption caused by overcurrent protection of the working power supply of the thermal printing head due to the thermal printing head can be avoided, meanwhile, the working voltage of the thermal printing head is adjusted, the heating time of the thermal printing head is adjusted according to the working voltage of the current thermal printing head, the thermal printing head is prevented from working for a long time under a high working voltage, and the service life of the thermal printing head can be prolonged.
Preferably, the determining the position of the dot to be printed in each print segment number according to the print segment number and the positions of all the print dots of the current print line specifically includes:
and acquiring the serial number of the current printing segment number, and generating an arithmetic progression by taking the serial number as a first item and the value of the printing segment number as a tolerance.
Wherein, when printing the first segment, the serial number is 1, and when printing the second segment, the serial number is 2.
And acquiring the positions of all printing points of the current printing line, and marking the printing points with the positions with the numbers positioned on the arithmetic progression as the points needing to be printed by the number of printing segments.
Preferably, the maximum item of the arithmetic progression is generated from the total number of printing points.
Further, the step S4, in which the positions of the dots to be printed in each printing segment number are not continuous, also means that by obtaining the serial number of the current printing segment number, such as serial number a, and taking the serial number a as the first item, and taking the printing segment number Z as the tolerance, a set of arithmetic progression numbers, such as a, a + Z, a +2Z, a +3Z …, are generated, until the total number added is equal to the total number of printing dots X, and then the positions of all the printing dots of the current printing line are obtained, and the printing dots whose serial numbers of X positions are located on the arithmetic progression are marked as the dots to be printed in the printing segment number, then the dots to be printed in the printing segment number are marked according to the numbers a, a + Z, a +2Z, a +3Z …, and the printing is stopped after the dots are added to the total number of printing.
Further, as shown in the structural block diagram of the printer segmentation apparatus shown in fig. 3, an embodiment of the present invention further provides a printer segmentation printing apparatus, including:
a total printing point acquiring unit 01, configured to acquire a total printing point required by a current printing line;
the judging unit 02 is used for judging whether the total printing number is larger than the maximum printing number of the current thermal printing head;
the first print processing unit 03 is configured to determine the number of print segments of a current print line according to the total print point number and the maximum print point number of one time of the thermal print head when the total print point number is greater than the maximum print point number of one time of the current thermal print head, and determine the position of a dot to be printed in each print segment number according to the number of print segments and the positions of all print points of the current print line; wherein, the positions of the points to be printed in each printing segment number are discontinuous;
and the segmented printing unit 04 is used for controlling the corresponding heating module on the thermal printing head to perform segmented printing according to the position of the point to be printed in each printing segment number, so that the printing of the current printing line is realized after the printing of all the printing segment numbers is completed.
Preferably, the method further comprises the following steps: and the second printing processing unit 05 is configured to determine positions of all printed dots of the current printing line and control a corresponding heating module of the thermal printing head to print when the total printed dots are not greater than the maximum printed dots of the thermal printing head at one time.
Further, the functions of the first printing unit 03, the second printing unit 05 and the segment printing unit 04 may be implemented by hardware, software executed by a processor, or a combination of the two, and this embodiment is implemented by software, and a predetermined program may be burned into the processor, or the software may be installed in a preset system, and this embodiment does not need to change the hardware structure of the thermal printer, and only needs to continuously load data, that is, after the data of the current print line is processed, the data of the next print line is loaded; the thermal printer also needs to work together with a power supply module, a stepping motor driving module, a thermal printing head paper shortage detection module, a main control circuit and a communication module, so that the use performance of the thermal printer is ensured.
Preferably, the number of printing segments is obtained by rounding up a quotient obtained by dividing the total printing point number by the maximum printing point number at one time; the maximum printing point number at one time is determined by the number of heating modules in the printer and the voltage and current distribution relation.
Preferably, the first print processing unit specifically includes:
the arithmetic progression generating module is used for acquiring the serial number of the current printing segment number, and generating an arithmetic progression by taking the serial number as a first item and the value of the printing segment number as a tolerance;
and the printing point acquisition module is used for acquiring the positions of all printing points of the current printing line and marking the printing points with the serial numbers of the positions positioned on the arithmetic progression as the points to be printed by the number of the printing segments.
Still further, an embodiment of the present invention provides a thermal printer, including a thermal print head, a processor, a memory, and a print driver stored in the memory, where the print driver is executable by the processor to control the thermal print head to execute the above-mentioned method for printing in segments.
The most common thermal printer uses a thermal printing head in a dot matrix, a semiconductor heating element is mounted on the thermal printing head, the semiconductor heating element is electrified to heat the printing head, and the heated printing head can print required patterns after contacting the thermal printing paper; the print quality of the thermal printer is also related to the heating time, the heating speed, or the driving device thereof.
In summary, the method and the device for printing by segments of a printer and the thermal printer provided by the embodiments of the present invention reduce or prevent the problem of the interference lines caused by the heat accumulation after heating by controlling the printing device to perform the segmented and discontinuous driving printing on the number of segments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for printing in segments in a printer, comprising:
acquiring the total printing points required by the current printing line;
judging whether the total printing points are larger than the maximum printing points of the current thermal printing head;
if the number of the printing sections is larger than the preset printing total number, determining the number of the printing sections of the current printing line according to the total printing number and the maximum printing number of one time of the thermal printing head, and determining the position of the point needing to be printed in each printing section number according to the number of the printing sections and the positions of all printing points of the current printing line; wherein, the positions of the points to be printed in each printing segment number are discontinuous;
and controlling the corresponding heating module on the thermal printing head to perform segmented printing according to the position of the point to be printed in each printing segment number, so as to realize the printing of the current printing line after the printing of all the printing segment numbers is completed.
2. The printer segment printing method of claim 1, further comprising:
if the total printing number is not larger than the maximum printing number of the thermal printing head at one time, determining the positions of all the printed points of the current printing line, and controlling the corresponding heating module of the thermal printing head to print.
3. The printer segment printing method according to claim 1, wherein the number of printing segments is obtained by rounding up a quotient obtained by dividing a total number of printing dots by a maximum number of printing dots at one time; the maximum printing point number at one time is determined by the number of heating modules in the printer and the voltage and current distribution relation.
4. The method for printing by segments of a printer according to claim 1, wherein the determining the position of the dot to be printed for each segment number according to the segment number and the positions of all the printed dots of the current printing line comprises:
acquiring the serial number of the current printing segment number, and generating an arithmetic difference number sequence by taking the serial number as a first item and the value of the printing segment number as a tolerance;
and acquiring the positions of all printing points of the current printing line, and marking the printing points with the positions with the numbers positioned on the arithmetic progression as the points needing to be printed by the number of printing segments.
5. The printer segment printing method according to claim 4, wherein a maximum item of the arithmetic progression is generated from the total print points.
6. A segmented printing arrangement for a printer, comprising:
a printing total point number obtaining unit, configured to obtain a printing total point number required by a current printing line;
the judging unit is used for judging whether the total printing number is larger than the maximum printing number of the current thermal printing head;
the first printing processing unit is used for determining the number of printing segments of the current printing line according to the total printing point number and the maximum printing point number of the current thermal printing head when the total printing point number is greater than the maximum printing point number of one time of the current thermal printing head, and determining the position of the point needing to be printed by each printing segment number according to the number of the printing segments and the positions of all the printing points of the current printing line; wherein, the positions of the points to be printed in each printing segment number are discontinuous;
and the segmented printing unit is used for controlling the corresponding heating module on the thermal printing head to perform segmented printing according to the position of the point to be printed in each printing segment number, so that the printing of the current printing line is realized after the printing of all the printing segment numbers is finished.
7. The printer segment printing apparatus of claim 6, further comprising:
and the second printing processing unit is used for determining the positions of all the printed points of the current printing line and controlling the corresponding heating modules of the thermal printing head to print when the total printing point number is not more than the maximum printing point number of the thermal printing head at one time.
8. The segment printing apparatus of a printer according to claim 6, wherein the number of printing segments is obtained by rounding up a quotient obtained by dividing a total number of printing dots by a maximum number of printing dots at one time; the maximum printing point number at one time is determined by the number of heating modules in the printer and the voltage and current distribution relation.
9. The printer segment printing apparatus according to claim 6, wherein the first print processing unit specifically includes:
the arithmetic progression generating module is used for acquiring the serial number of the current printing segment number, and generating an arithmetic progression by taking the serial number as a first item and the value of the printing segment number as a tolerance;
and the printing point acquisition module is used for acquiring the positions of all printing points of the current printing line and marking the printing points with the serial numbers of the positions positioned on the arithmetic progression as the points to be printed by the number of the printing segments.
10. A thermal printer comprising a thermal print head, a processor, a memory, and a print driver stored in the memory, wherein the print driver is executable by the processor to control the thermal print head to perform the printer segment printing method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811270286.XA CN109532239B (en) | 2018-10-29 | 2018-10-29 | Printer segmented printing method and device and thermal printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811270286.XA CN109532239B (en) | 2018-10-29 | 2018-10-29 | Printer segmented printing method and device and thermal printer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109532239A CN109532239A (en) | 2019-03-29 |
CN109532239B true CN109532239B (en) | 2021-01-05 |
Family
ID=65845853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811270286.XA Active CN109532239B (en) | 2018-10-29 | 2018-10-29 | Printer segmented printing method and device and thermal printer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109532239B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112060777B (en) * | 2019-06-11 | 2022-06-17 | 深圳华智融科技股份有限公司 | Thermal printing method and device and terminal equipment |
CN110466260B (en) * | 2019-07-23 | 2021-08-06 | 厦门汉印电子技术有限公司 | Heating control method and device in printing process, printer and storage medium |
CN111152568B (en) * | 2020-01-20 | 2021-03-16 | 东莞炜煌打印机有限公司 | Segmented printing method and device of thermal printer and thermal printer |
CN112406333B (en) * | 2020-11-20 | 2022-06-10 | 厦门喵宝科技有限公司 | Control method of miniature thermal printer |
CN115583115B (en) * | 2022-12-13 | 2023-03-14 | 飞天诚信科技股份有限公司 | Method and device for realizing thermal printing |
CN116414324A (en) * | 2023-03-24 | 2023-07-11 | 珠海芯烨电子科技有限公司 | Data printing control method and system and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1126967A (en) * | 1994-04-15 | 1996-07-17 | 罗姆股份有限公司 | Thermal print head, driving IC used therefor, and control method of thermal print head |
CN101357543A (en) * | 2008-09-25 | 2009-02-04 | 北京公达数码科技有限公司 | Thermal printer sectional drive printing method and system |
CN102476507A (en) * | 2010-11-23 | 2012-05-30 | 天津中兴软件有限责任公司 | Printing method of thermal printer |
CN206030784U (en) * | 2016-08-24 | 2017-03-22 | 大连中盈科技股份有限公司 | New heat -generating body structure thermal printing head |
CN107234878A (en) * | 2017-07-27 | 2017-10-10 | 厦门汉印电子技术有限公司 | The drive device and its thermal printer of a kind of printhead |
JP2017185790A (en) * | 2016-03-31 | 2017-10-12 | カシオ計算機株式会社 | Printer, printing method and printing program |
JP2017209817A (en) * | 2016-05-24 | 2017-11-30 | セイコーエプソン株式会社 | Printer and control method for printer |
CN207291325U (en) * | 2017-07-26 | 2018-05-01 | 珠海浩盛标签打印机有限公司 | Thermal printing system |
CN108367572A (en) * | 2015-12-24 | 2018-08-03 | 精工爱普生株式会社 | Thermal head control device, the tape printing apparatus with the thermal head control device and thermal head control method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69530135T2 (en) * | 1994-12-07 | 2003-09-11 | King Jim Co., Ltd. | Character information processor for printing characters |
CN1083337C (en) * | 1996-03-26 | 2002-04-24 | 精工爱普生株式会社 | Printing device and its control method |
ATE376495T1 (en) * | 2000-09-11 | 2007-11-15 | Zipher Ltd | TAPE DRIVE AND PRINTING DEVICE |
US9662900B1 (en) * | 2016-07-14 | 2017-05-30 | Datamax-O'neil Corporation | Wireless thermal printhead system and method |
-
2018
- 2018-10-29 CN CN201811270286.XA patent/CN109532239B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1126967A (en) * | 1994-04-15 | 1996-07-17 | 罗姆股份有限公司 | Thermal print head, driving IC used therefor, and control method of thermal print head |
CN101357543A (en) * | 2008-09-25 | 2009-02-04 | 北京公达数码科技有限公司 | Thermal printer sectional drive printing method and system |
CN102476507A (en) * | 2010-11-23 | 2012-05-30 | 天津中兴软件有限责任公司 | Printing method of thermal printer |
CN108367572A (en) * | 2015-12-24 | 2018-08-03 | 精工爱普生株式会社 | Thermal head control device, the tape printing apparatus with the thermal head control device and thermal head control method |
JP2017185790A (en) * | 2016-03-31 | 2017-10-12 | カシオ計算機株式会社 | Printer, printing method and printing program |
JP2017209817A (en) * | 2016-05-24 | 2017-11-30 | セイコーエプソン株式会社 | Printer and control method for printer |
CN206030784U (en) * | 2016-08-24 | 2017-03-22 | 大连中盈科技股份有限公司 | New heat -generating body structure thermal printing head |
CN207291325U (en) * | 2017-07-26 | 2018-05-01 | 珠海浩盛标签打印机有限公司 | Thermal printing system |
CN107234878A (en) * | 2017-07-27 | 2017-10-10 | 厦门汉印电子技术有限公司 | The drive device and its thermal printer of a kind of printhead |
Also Published As
Publication number | Publication date |
---|---|
CN109532239A (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109532239B (en) | Printer segmented printing method and device and thermal printer | |
CN115583115B (en) | Method and device for realizing thermal printing | |
CN110303775B (en) | Method for adjusting printing speed of thermal printer, computer device and computer readable storage medium | |
JP2503465B2 (en) | Printing method of tape making device | |
US5902051A (en) | Character printing apparatus | |
JP5431986B2 (en) | Thermal printer and thermal printing method | |
JP2939059B2 (en) | Information processing apparatus, electronic device, and information processing method | |
JP2008183770A (en) | Wire breaking checker of thermal head | |
US5264866A (en) | Thermal printer control apparatus employing thermal correction data | |
JP2019171742A (en) | Printer and printer control method | |
JP3076612B2 (en) | Line thermal printer | |
JPS61149369A (en) | Thermal head driving unit | |
EP1385113A2 (en) | Method of detecting bad dots in bar code print zone | |
JP4592896B2 (en) | Thermal head disconnection check device | |
JPH0976568A (en) | Printer | |
CN116414324A (en) | Data printing control method and system and electronic equipment | |
JP2024131921A (en) | Printing device, control method for printing device, and control program for printing device | |
JP2821327B2 (en) | Information processing method | |
JPH04257480A (en) | Thermal printer | |
JPH0728651U (en) | Thermal head print density control device | |
JPH0624944U (en) | Thermal head controller | |
JPH0459360A (en) | Control method for overload printing in printer | |
JPH0820124A (en) | Thermal printer | |
JPH01184161A (en) | Method for driving thermal head | |
JPH023334A (en) | Control system of printer |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 361000 room 305A, Aung Yip house, Pioneer Park, torch high tech Zone, Xiamen, Fujian Patentee after: Xiamen Hanyin Co.,Ltd. Country or region after: China Address before: 361000 room 305A, Aung Yip house, Pioneer Park, torch high tech Zone, Xiamen, Fujian Patentee before: XIAMEN HANIN ELECTRONIC TECHNOLOGY Co.,Ltd. Country or region before: China |