CN117360098A - Printer with battery, printing control method and device thereof and storage medium - Google Patents

Printer with battery, printing control method and device thereof and storage medium Download PDF

Info

Publication number
CN117360098A
CN117360098A CN202311454445.2A CN202311454445A CN117360098A CN 117360098 A CN117360098 A CN 117360098A CN 202311454445 A CN202311454445 A CN 202311454445A CN 117360098 A CN117360098 A CN 117360098A
Authority
CN
China
Prior art keywords
heating
point
current
printing
point number
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.)
Pending
Application number
CN202311454445.2A
Other languages
Chinese (zh)
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.)
Xiamen Hanyin Electronic Technology Co Ltd
Original Assignee
Xiamen Hanyin Electronic Technology 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 Xiamen Hanyin Electronic Technology Co Ltd filed Critical Xiamen Hanyin Electronic Technology Co Ltd
Priority to CN202311454445.2A priority Critical patent/CN117360098A/en
Publication of CN117360098A publication Critical patent/CN117360098A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/36Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for portability, i.e. hand-held printers or laptop printers

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention discloses a printer with a battery, a printing control method, a printing control device and a storage medium thereof, wherein the method comprises the following steps: calculating the current maximum heatable point number n of the heating head according to the current voltage of the battery and the heating parameter of the heating head; obtaining the heating point number Nd of the current point row; when the heating point number Nd is larger than the maximum heatable point number n, discarding at least one heating point of the current point row according to the heating point number Nd and the maximum heatable point number n to obtain an actual heating point set; and printing the current point row according to the actual heating point set. According to the embodiment, when the battery is in a low-power or low-temperature environment and the output capacity is reduced, on the premise of guaranteeing the basic printing function of the printer, the printing speed is guaranteed under the condition that the printing quality is slightly reduced by discarding some heating points. The invention is especially suitable for some printed contents with more long solid lines, such as express bill.

Description

Printer with battery, printing control method and device thereof and storage medium
Technical Field
The present invention relates to the field of printers, and in particular, to a printer with a battery, a printing control method, a printing control device, and a storage medium.
Background
Printers are widely used as a general computer output device in work, study, and life of people. With the development of technology and the change of the work and life style, small portable printers are favored. Portable printers allow people to carry around for printing at any time.
In portable printers, it is often necessary to use a battery to power the printer, and in some printing scenarios, such as when printing an express bill, it is often necessary to print an entire horizontal line, which results in a large power consumption when printing the dot, so that exceeding the supply range of the battery causes the printer to trigger power-off protection, especially when the battery is in a low-power and low-temperature condition.
In order to ensure the normal operation of the printer, the prior art generally adopts a sectional printing mode, namely, the printing of the dot rows is realized by dividing the dot rows into a plurality of sections, but the sectional printing reduces the printing speed on one hand, and on the other hand, the printing medium and the printing head still have relative motion in the sectional printing process, so that the height difference exists in different sections, and the printing quality is reduced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a printer with a battery, a printing control method, a printing control device, and a storage medium for improving the above problems.
The embodiment of the invention provides a printing control method, which is applied to a printer with a battery and comprises the following steps:
calculating the current maximum heatable point number n of the heating head according to the current voltage of the battery and the heating parameter of the heating head;
obtaining the heating point number Nd of the current point row;
when the heating point number Nd is larger than the maximum heatable point number n, discarding at least one heating point of the current point row according to the heating point number Nd and the maximum heatable point number n to obtain an actual heating point set;
and printing the current point row according to the actual heating point set.
Preferably, the maximum heatable point number n=isrc/iavg= (isrc×u×tstd)/(r×t+toff)); wherein U is the current voltage of the battery, ton is the heating time of the heating head, ton=tstd is satisfied, tstd is the theoretical heating time of the heating head at the preset ambient temperature, tf is the heating compensation coefficient obtained according to the current ambient temperature T, isrc is the average current provided by the battery at the current ambient temperature T; instantaneous current i=u/R of a single heating element on the heating head, R being the resistance of the heating element, average current iavg=i×ton/(ton+toff) =u×tstd×tf/R (tstd×tf+toff), toff being the rest time.
Preferably, when the heating point number Nd is greater than the maximum heatable point number n, discarding at least one heating point of the current point row to obtain an actual heating point set, which specifically is:
when the heating point number Nd is larger than the maximum heatable point number n, discarding at least one heating point of the current point line, so that the number of segments of segmented printing required by the current point line is reduced under the condition that the set printing rate is met; here, the printing rate= (Nd-Nq)/Nd, nq being the number of discarded heating points.
Preferably, when the heating point number Nd is greater than the maximum heatable point number n, discarding at least one heating point of the current point row to obtain an actual heating point set, including:
when the heating point number Nd is larger than the maximum heatable point number n, acquiring the minimum printing point number Nmin of the current point line according to the heating point number Nd and a preset printing rate;
judging whether the maximum heatable point number n is larger than the minimum printing point number Nmin;
if the number of the discarded points is greater than the number of the discarded points, namely Nd-n;
if the number of the discarded points is not greater than Nd-T, T is the number of the segments printed in a segmented mode, and the number of the discarded points is obtained by upward rounding of Nmin/n.
Preferably, the discarding of the heating points is performed in a spaced-apart manner, i.e. the discarded heating points are discontinuous over the current line of points.
Preferably, the discarded heating points are equally spaced on the current point row.
Preferably, the method further comprises:
when judging that the heating points need to be discarded for two continuous point rows, staggering the heating points to be discarded for the two point rows in the printing direction so that the heating points discarded for the two continuous point rows are discontinuous in the printing direction.
The embodiment of the invention also provides a printing control device which is applied to the printer with the battery and comprises:
the maximum heatable point calculation unit is used for calculating the current maximum heatable point n of the heating head according to the current voltage of the battery and the heating parameters of the heating head;
the heating point number acquisition unit is used for acquiring the heating point number Nd of the current point line;
the discarding unit is used for discarding at least one heating point of the current point row according to the heating point number Nd and the maximum heatable point number n to obtain an actual heating point set when the heating point number Nd is larger than the maximum heatable point number n;
and the printing control unit is used for printing the current point row according to the actual heating point set.
The embodiment of the invention also provides a printer with a battery, which comprises a heating head, the battery and a controller, wherein the controller is electrically connected with the heating head and the battery, the controller comprises a memory and a processor, and a computer program is stored in the memory and can be executed by the processor so as to realize the printing control method.
The embodiment of the invention also provides a computer readable storage medium which stores a computer program, wherein the computer program can be executed by a processor of a device where the computer readable storage medium is located, so as to implement the printing control method.
In summary, in this embodiment, when the battery is in a low-power or low-temperature environment and the output capability is reduced, the printing speed is ensured under the condition of slightly reducing the printing quality by discarding some heating points on the premise of ensuring the basic printing function of the printer. The invention is especially suitable for some printed contents with more long solid lines, such as express bill.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a print control method according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram of a print including a long solid line according to an embodiment of the present invention.
Fig. 3 is a print effect diagram of the print content of fig. 2.
Fig. 4 is a schematic diagram of a print content including two long solid lines provided in an embodiment of the present invention.
Fig. 5 is a print effect diagram of the print content of fig. 4.
Fig. 6 is a schematic structural view of a printing connection device according to a second embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
References to "first\second" in the embodiments are merely to distinguish similar objects and do not represent a particular ordering for the objects, it being understood that "first\second" may interchange a particular order or precedence where allowed. It is to be understood that the "first\second" distinguishing objects may be interchanged where appropriate to enable the embodiments described herein to be implemented in sequences other than those illustrated or described herein.
Referring to fig. 1, a first embodiment of the present invention provides a print control method applied to a printer with a battery, comprising the steps of:
s101, calculating the current maximum heatable point number n of the heating head according to the current voltage of the battery and the heating parameters of the heating head.
In this embodiment, the output capacity of the battery is limited under low voltage or low temperature conditions, especially a 4.2V battery, and when the printer is operated, the current can reach several amperes, and the addition of the line resistance can cause the voltage supplied to the printer and the main board of the printer to be too low, which causes abnormal operation. Therefore, at low voltage or low temperature, it is necessary to ensure that the current for printing does not exceed a certain value, i.e., it is necessary to limit the maximum heatable number per printing.
In this embodiment, assuming that the current voltage of the battery is U, the current ambient temperature is T, the heating time ton=tstd of the heating head is equal to the theoretical heating time of the printing head when Tstd is the preset ambient temperature, preferably, the preset ambient temperature is 25 degrees celsius, tf is a heating compensation coefficient obtained according to the current ambient temperature T, more specifically, tf is a heating compensation coefficient obtained according to the difference between the current ambient temperature T and the preset ambient temperature Tstd, the instantaneous current i=u/R of the individual heating element on the heating head, and the rest time Toff, the average current iavg=i=ton/(ton+toff) =u×tstd×tf/R (tstd×tf+toff) of the individual heating element.
Assuming that the battery can provide an average current Isrc at the present ambient temperature T, the present maximum heatable point number n=isrc/iavg= (isrc×u×tstd×tf)/(r×tstd×tf+toff)).
S102, obtaining the heating point number Nd of the current point row.
In this embodiment, the heating point Nd of the current point line is determined according to the number of points to be printed on the current point line.
And S103, when the heating point number Nd is larger than the maximum heatable point number n, discarding at least one heating point of the current point row according to the heating point number Nd and the maximum heatable point number n to obtain an actual heating point set.
In this embodiment, when the heating point number Nd is greater than the maximum heatable point number n, it means that the heating point number Nd cannot be printed out simultaneously at one time, so this embodiment can implement one-time printing or reduce the number of segments of the segment by discarding at least one heating point of the current point line.
In this embodiment, the discarded heating points may optimize the print quality at a certain print speed or maximize the print speed at a certain print quality.
The printing speed is determined by the number of segments of the segment, and the printing speed is higher as the number of segments of the segment is smaller. The print quality is determined by the number of discarded heating points, and the smaller the number of discarded heating points is, the higher the print quality is.
However, in any case, the present embodiment needs to reduce the number of segments of the segmentation. For example, if a certain dot line originally needs to be printed in 3 segments, then if a faster printing speed is obtained, more heating dots can be discarded to reduce the segment number of the segments to 1. It is also possible to set a preset printing rate to meet the print quality requirement, so as to limit the number of discarded heating points, in which case, in order to ensure the printing instruction, the number of segments may only be 2.
Taking the latter as an example, specifically:
and when the heating point number Nd is larger than the maximum heatable point number n, acquiring the minimum printing point number Nmin of the current point line according to the heating point number Nd and a preset printing rate a.
Where the minimum print dot count nmin=nd×a.
The printing rate a here is to ensure the quality of printing without seriously affecting the printing quality by discarding too many heating points, and may be set to 75%, for example, but is not limited thereto.
Judging whether the maximum heatable point number n is larger than the minimum printing point number Nmin;
if the number is larger than the number, the discarded point number is Nd-n.
That is, the discarded point is the difference between the heating point Nd and the maximum heatable point n.
If the number of the discarded points is not greater than Nd-T, T is the number of the segments printed in a segmented mode, and the number of the discarded points is obtained by upward rounding of Nmin/n.
And S104, printing the heating point row according to the actual heating point set.
In order to facilitate the understanding of the present invention, the following description will be given by way of practical examples.
Referring to fig. 2, fig. 2 is a content to be printed, which includes a current horizontal dot line, and assuming that the heating point nd=240 of the current dot line and the preset printing rate is 75%, the minimum printing point nmin=180.
In one embodiment, assuming that the maximum heatable point number n=200, printing in two stages is required without discarding the heating point.
In the case of discarding the heating point, since the maximum heatable point number n is greater than the minimum printing point number Nmin, the number of discarded points is 40 points.
In particular, in order to ensure the printing effect, the heating points are discarded in a manner of discarding at intervals, namely, the discarded heating points are discontinuous on the heating point row.
And in particular, the intervals of the discarded heating points are equal, the interval is 240/40=6, namely, one point is discarded every 6 points, the interval between two adjacent discarded heating points is 5, the final printing effect is as shown in fig. 3, namely, one straight line can be printed into one broken line through one-time printing, the segmented printing is avoided, and the printing speed is further improved.
In another embodiment, assuming that the maximum heatable point number n=100, 3-segment printing is required without discarding the heating point.
In the case of discarding the heating point, since the maximum heatable point n is smaller than the minimum printing point Nmin, the number of segments for obtaining the segmented printing is 2 by rounding Nmin/n upward, and the number of discarded points is 240-2×100=40.
Likewise, in order to ensure the printing effect, the heating points are discarded in a manner of discarding at intervals, that is, the discarded heating points are discontinuous on the heating point line. In particular, the heating points are equally spaced apart by 240/40=6, i.e. one point is discarded every 6 points, and the adjacent two discarded heating points are spaced apart by 5, the final printing effect is shown in fig. 3. Compared with 3-segment printing without discarding the heating point, the segment number of the segment printing of the embodiment is 2, and the printing speed is improved.
In summary, in this embodiment, when the battery is in a low-power or low-temperature environment and the output capability is reduced, the printing speed is ensured under the condition of slightly reducing the printing quality by discarding some heating points on the premise of ensuring the basic printing function of the printer. The invention is especially suitable for some printed contents with more long solid lines, such as express bill.
Some preferred embodiments of the invention are described further below.
On the basis of the above embodiment, in a preferred embodiment of the present invention, further comprising:
when judging that the two continuous heating point rows need to discard the heating points, staggering the heating points to be discarded of the two heating point rows in the printing direction so that the heating points discarded of the two continuous heating point rows are discontinuous in the printing direction.
In this embodiment, as shown in fig. 4, assuming that two identical long solid lines are continuously present on the print content, it is necessary to discard a certain heating point thereto. According to the general heating point discarding mode, each row of discarded heating points corresponds to each other, so that a long white line is displayed along the printing direction, and the printing effect is affected.
For this reason, in the present embodiment, the heating points to be discarded of the two heating point rows are shifted in the printing direction so that the heating points of which the two consecutive heating point rows are discarded are discontinuous in the printing direction.
For example, the first long solid line and the second long solid line are each discarded one dot every 6 dots, wherein the dots discarded by the first long solid line have a sequence number (6,12,18, the use of the first long solid line) and the dots discarded by the second long solid line have a sequence number (5, 11,17, the use of the second long solid line) or (4,10,16, the use of the second long solid line).
Taking the example of the number (4,10,16) of the discarded dots of the second long solid line, since the 4 th heating element is in a heated state when the first long solid line is printed, when the first long solid line is moved to the second long solid line, the 4 th heating element is not electrified, but still has waste heat, and the waste heat can halate the 4 th heating dot, as shown in fig. 5, so that a certain printing effect can be improved.
Referring to fig. 6, a second embodiment of the present invention further provides a printing control apparatus applied to a printer with a battery, comprising:
a maximum heatable point calculation unit 210, configured to calculate a current maximum heatable point n of the heating head according to a current voltage of the battery and a heating parameter of the heating head;
a heating point obtaining unit 220, configured to obtain a heating point Nd of the current point line;
a discarding unit 230, configured to discard at least one heating point of the current point row according to the heating point Nd and the maximum heatable point n when the heating point Nd is greater than the maximum heatable point n, to obtain an actual heating point set;
and a printing control unit 240, configured to print the current dot row according to the actual heating dot set.
The embodiment of the invention also provides a printer with a battery, which comprises a heating head, the battery and a controller, wherein the controller is electrically connected with the heating head and the battery, the controller comprises a memory and a processor, and a computer program is stored in the memory and can be executed by the processor so as to realize the printing control method.
The embodiment of the invention also provides a computer readable storage medium which stores a computer program, wherein the computer program can be executed by a processor of a device where the computer readable storage medium is located, so as to implement the printing control method.
The various means and process steps described above may be implemented by a computer program, for example, which may be divided into one or more units stored in the memory and executed by the processor to accomplish the present invention.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be used to store the computer program and/or modules, and the processor may implement the various functions of the present invention by running or executing the computer program and/or modules stored in the memory, and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the electronic device or printer integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. A print control method applied to a printer with a battery, comprising:
calculating the current maximum heatable point number n of the heating head according to the current voltage of the battery and the heating parameter of the heating head;
obtaining the heating point number Nd of the current point row;
when the heating point number Nd is larger than the maximum heatable point number n, discarding at least one heating point of the current point row according to the heating point number Nd and the maximum heatable point number n to obtain an actual heating point set;
and printing the current point row according to the actual heating point set.
2. The print control method according to claim 1, wherein the maximum heatable dot number n=isrc/iavg= (isrc×u×tstd×tf)/(r×tstd×tf+toff)); wherein U is the current voltage of the battery, ton is the heating time of the heating head, ton=tstd is satisfied, tstd is the theoretical heating time of the heating head at the preset ambient temperature, tf is the heating compensation coefficient obtained according to the current ambient temperature T, isrc is the average current provided by the battery at the current ambient temperature T; instantaneous current i=u/R of a single heating element on the heating head, R being the resistance of the heating element, average current iavg=i×ton/(ton+toff) =u×tstd×tf/R (tstd×tf+toff), toff being the rest time.
3. The print control method according to claim 1, wherein when the heating point number Nd is greater than the maximum heatable point number n, discarding at least one heating point of the current point row to obtain an actual heating point set, specifically:
when the heating point number Nd is larger than the maximum heatable point number n, discarding at least one heating point of the current point line, so that the number of segments of segmented printing required by the current point line is reduced under the condition that the set printing rate is met; here, the printing rate= (Nd-Nq)/Nd, nq being the number of discarded heating points.
4. The print control method according to claim 3, wherein when the heating point number Nd is greater than the maximum heatable point number n, discarding at least one heating point of the current point row to obtain an actual heating point set, comprising:
when the heating point number Nd is larger than the maximum heatable point number n, acquiring the minimum printing point number Nmin of the current point line according to the heating point number Nd and a preset printing rate;
judging whether the maximum heatable point number n is larger than the minimum printing point number Nmin;
if the number of the discarded points is greater than the number of the discarded points, namely Nd-n;
if the number of the discarded points is not greater than Nd-T, T is the number of the segments printed in a segmented mode, and the number of the discarded points is obtained by upward rounding of Nmin/n.
5. The print control method according to claim 1, wherein the discarding of the heating dots is performed in a manner of discarding the heating dots at intervals, i.e., the discarded heating dots are discontinuous on the current dot row.
6. The print control method according to claim 5, wherein the discarded heating dots are equally spaced on the current dot row.
7. The print control method according to claim 6, characterized by further comprising:
when judging that the heating points need to be discarded for two continuous point rows, staggering the heating points to be discarded for the two point rows in the printing direction so that the heating points discarded for the two continuous point rows are discontinuous in the printing direction.
8. A print control apparatus for use in a printer with a battery, comprising:
the maximum heatable point calculation unit is used for calculating the current maximum heatable point n of the heating head according to the current voltage of the battery and the heating parameters of the heating head;
the heating point number acquisition unit is used for acquiring the heating point number Nd of the current point line;
the discarding unit is used for discarding at least one heating point of the current point row according to the heating point number Nd and the maximum heatable point number n to obtain an actual heating point set when the heating point number Nd is larger than the maximum heatable point number n;
and the printing control unit is used for printing the current point row according to the actual heating point set.
9. A printer with a battery, comprising a heating head, a battery, and a controller electrically connected to both the heating head and the battery, the controller comprising a memory and a processor, the memory storing a computer program executable by the processor to implement the print control method of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program executable by a processor of a device in which the computer-readable storage medium is located to implement the print control method according to any one of claims 1 to 7.
CN202311454445.2A 2023-11-03 2023-11-03 Printer with battery, printing control method and device thereof and storage medium Pending CN117360098A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311454445.2A CN117360098A (en) 2023-11-03 2023-11-03 Printer with battery, printing control method and device thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311454445.2A CN117360098A (en) 2023-11-03 2023-11-03 Printer with battery, printing control method and device thereof and storage medium

Publications (1)

Publication Number Publication Date
CN117360098A true CN117360098A (en) 2024-01-09

Family

ID=89392742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311454445.2A Pending CN117360098A (en) 2023-11-03 2023-11-03 Printer with battery, printing control method and device thereof and storage medium

Country Status (1)

Country Link
CN (1) CN117360098A (en)

Similar Documents

Publication Publication Date Title
CN115202597A (en) Print preview method, device, equipment and storage medium
US20100238254A1 (en) Thermal printer
CN109165103A (en) Frame rate control method, device, terminal and storage medium
CN107465811A (en) A kind of method for reducing temperature rise, computer-readable recording medium, electronic equipment
CN117360098A (en) Printer with battery, printing control method and device thereof and storage medium
EP2634729B1 (en) Method and device for print control, and printing device
CN115583115A (en) Method and device for realizing thermal printing
CN111813350B (en) Method, device and equipment for sending print data and storage medium
CN113434096A (en) Printer, adapter work control method and device thereof, and readable storage medium
CN112214183B (en) Printing control method, printing control device, printer, and computer-readable storage medium
JP2010228259A (en) Label printer, and method and program for controlling printing speed of label printer
JP2011178122A (en) Thermal printer
CN111873638B (en) Printing head temperature compensation method and device, printer and storage medium
CN103488444A (en) Method and system for controlling font sizes of labels of steel coils
CN115534544A (en) Printing method of thermal printer, printing system and storage medium
JP2019059157A (en) Printing process program
US20090074321A1 (en) Image processing apparatus and image processing method
CN111332024A (en) Printing method, printing apparatus, printer, and computer-readable storage medium
CN114261213B (en) Thermal transfer printer, printing control method and device thereof, and readable storage medium
JPH1158898A (en) Battery driven printer
US11001079B2 (en) Thermal printer and computer-readable storage medium
JP2014166724A (en) Thermal printer
CN113320302B (en) Printer, motor adaptive driving method and device thereof, and readable storage medium
JPH10250130A (en) Printing control unit for thermal line printer, printing control method for thermal line printer, and printing unit
JPH0725052A (en) Driving device for thermal head

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