CN115157870A - Method for controlling driving assembly of printing head of thermal transfer printer and product - Google Patents

Method for controlling driving assembly of printing head of thermal transfer printer and product Download PDF

Info

Publication number
CN115157870A
CN115157870A CN202210965962.5A CN202210965962A CN115157870A CN 115157870 A CN115157870 A CN 115157870A CN 202210965962 A CN202210965962 A CN 202210965962A CN 115157870 A CN115157870 A CN 115157870A
Authority
CN
China
Prior art keywords
current value
displacement
printing
electromagnet
value
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
CN202210965962.5A
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 CN202210965962.5A priority Critical patent/CN115157870A/en
Publication of CN115157870A publication Critical patent/CN115157870A/en
Pending legal-status Critical Current

Links

Images

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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters 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
    • 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
    • B41J25/00Actions or mechanisms not otherwise provided for
    • 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

Landscapes

  • Electronic Switches (AREA)

Abstract

The embodiment of the application provides a method for controlling a printing head driving assembly of a thermal transfer printer, a thermal transfer printer controller, the thermal transfer printer and a storage medium. The method comprises the following steps: determining a basic current value, wherein the basic current value is a current value required by the electromagnet to drive the printing head to move to a printing position; determining a current compensation value, wherein the current compensation value is a current value required by the electromagnet to drive the printing head to generate printing pressure at the printing position; and determining a target current value according to the basic current value and the current compensation value, and controlling the electromagnet to work based on the target current value. According to the method, under any printing head installation mode, a proper target current value can be configured for the electromagnet, so that the printing requirement under the current installation mode is met, a user does not need to independently set different installation modes, and the thermal transfer printer is more intelligent.

Description

Method for controlling driving assembly of printing head of thermal transfer printer and product
Technical Field
The embodiment of the application relates to the field of thermal transfer printers, in particular to a method for controlling a printing head driving assembly of a thermal transfer printer, a thermal transfer printer controller, a thermal transfer printer and a storage medium.
Background
The thermal transfer printer is one kind of printer, and can print pattern, bar code or time information on the surface of packing label or smooth card made of soft and thin material. The thermal transfer printer presses the ribbon to the surface of the substrate using a print head, and then melts the ink on the ribbon by heat generated by a heating element on the print head and imprints the ink on the substrate to complete printing.
Currently, thermal transfer printers can move the print head by the magnetic attraction of an electromagnet. In practical application, can adopt different mounting means to install the printer head that beats of thermal transfer printer, the required power that promotes to beat printer head motion of different mounting means is inequality, and the control current that corresponds is set up to the electro-magnet to the mounting means to the difference needs be aimed at to the tradition mode to satisfy the printing demand, lead to intelligent lower.
Disclosure of Invention
The application provides a method for controlling a print head driving assembly of a thermal transfer printer, a thermal transfer printer controller, a thermal transfer printer and a storage medium.
In a first aspect, an embodiment of the present application provides a method for controlling a print head driving assembly of a thermal transfer printer, the thermal transfer printer including a print head, an electromagnet configured to drive the print head toward a printing position, and a displacement monitoring module configured to monitor a displacement of the print head, the method including: determining a basic current value, wherein the basic current value is a current value required by the electromagnet to drive the printing head to move to a printing position; determining a current compensation value, wherein the current compensation value is a current value required by the electromagnet to drive the printing head to generate printing pressure at the printing position; and determining a target current value according to the basic current value and the current compensation value, and controlling the electromagnet to work based on the target current value.
According to the technical scheme, the basic current value required by the electromagnet to drive the printing head to move to the printing position is determined, the current compensation value required by the electromagnet to drive the printing head to generate the printing pressure at the printing position is determined, the target current value is further determined according to the basic current value and the current compensation value, and the electromagnet is controlled to work based on the target current value, so that the force for pushing the printing head to move converted from the target current value can meet the printing requirement, the printing quality is improved, the abrasion of the printing head is reduced, and the service life of the printing head is prolonged. In addition, according to the technical scheme, under any printing head installation mode, a proper target current value can be configured for the electromagnet, so that the printing requirement under the current installation mode is met, a user does not need to separately set different installation modes, and the thermal transfer printer is more intelligent.
In one embodiment, the determining the base current value includes: controlling the electromagnet to drive the printing head to move according to a first current value, and acquiring first displacement of the printing head corresponding to the first current value; increasing the first current value to obtain a second current value, and controlling the electromagnet to drive the printing head to move according to the second current value to obtain a second displacement of the printing head; a base current value is determined based on a difference of the first displacement and the second displacement.
The technical scheme that the embodiment of this application provides, through the electric current that increases the electro-magnet in proper order, and the current value control electro-magnet drive after increasing beats printer head and removes, obtain the displacement of beating printer head, change through the size between this displacement and the last displacement, confirm to make and beat printer head and remove to the basic current value of the electro-magnet of printing the position, and combine the electro-magnet work of current compensation value and basic current value control heat transfer printer, thereby satisfy the printing demand, need not to distinguish the mounting means that the heat transfer printer beaten printer head at this in-process, the control current that the demand was printed in all can be satisfied for the automatic definite demand of heat transfer printer, need not the user and carry out the independent setting of electro-magnet control current to the different mounting means that beat printer head, the convenience and the suitability of heat transfer printer installation have been improved, reduce installation training cost and after sale cost.
In one embodiment, the determining a base current value based on a difference between the first displacement and the second displacement includes: determining the first current value as a base current value if a difference between the first displacement and the second displacement is less than or equal to a preset threshold; and if the difference value between the first displacement and the second displacement is larger than a preset threshold value, taking the second current value as a new first current value, taking the second displacement as a new first displacement, obtaining the first displacement and the second displacement again until the difference value between the first displacement and the second displacement is smaller than or equal to the preset threshold value, and determining the latest first current value as a basic current value.
The technical scheme that this application embodiment provided is through the electric current that increases the electro-magnet in proper order to obtain the produced displacement difference between this displacement and the last displacement of beating printer head of the produced electric current after increasing, confirm basic current value through the displacement difference with the comparative result of predetermineeing the threshold value, constantly finely tune the electric current of electro-magnet as judging the benchmark through setting up the predetermined threshold value promptly, until satisfying the predetermined requirement, improved basic current value's accuracy.
In one embodiment, the determining the current compensation value includes: acquiring a distance between a mounting position of the print head and the printing position and a desired printing pressure; and determining a current compensation value corresponding to the expected printing pressure according to the working characteristic curve of the electromagnet at the distance.
The technical scheme that this application embodiment provided can confirm the working characteristic curve of corresponding electro-magnet through the distance, has ensured that the working characteristic curve of the electro-magnet of selecting accords with actual conditions, and then confirms the current compensation value that expectation printing pressure corresponds based on the working characteristic curve of the electro-magnet of selecting for the current compensation value that confirms is more accurate, can satisfy the printing demand. In one embodiment, the determining a target current value according to the base current value and the current compensation value includes: and obtaining a target current value based on the sum of the basic current value and the current compensation value.
According to the technical scheme provided by the embodiment of the application, the basic current value can enable the electromagnet to drive the printing head to move to the printing position, the current compensation value can enable the electromagnet to drive the printing head to generate expected printing pressure at the printing position, the basic current value and the current compensation value are summed, and the obtained target current value can meet the driving force required by the printing task.
In a second aspect, an embodiment of the present application provides a thermal transfer printer controller, including: one or more processors; a memory for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the processors to implement the steps of the method provided by the first aspect of the embodiments of the present application.
In a third aspect, an embodiment of the present application provides a thermal transfer printer, including: a print head; a print head return mechanism configured to provide a force to move the print head to a mounting position; an electromagnet configured to provide a force that, when operated, moves the printhead to a print position; a displacement monitoring module configured to monitor a displacement of the print head; an electromagnet control module configured to control operation of the electromagnet according to the method provided by the first aspect of the embodiments of the present application.
In one embodiment, the displacement testing module comprises a hall displacement sensor or a grating ruler displacement sensor.
In one embodiment, the print head return mechanism is a tension spring.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method as provided in the first aspect of embodiments of the present application.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for controlling a printhead driving assembly of a thermal transfer printer according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a basic current value determining process according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a controller of a thermal transfer printer according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a thermal transfer printer according to an embodiment of the present application.
Detailed Description
Generally, the force for pushing the print head is different for different installation modes of the print head, so that a user needs to set the working current of the electromagnet of the thermal transfer printer according to different installation modes of the print head, and the intelligentization is low. Therefore, the technical scheme provided by the embodiment of the application can adaptively adjust the working current of the electromagnet according to different installation modes of the printing head of the thermal transfer printer, so that the printing head is driven by the electromagnet to move, the adaptive adjustment of the working force required by different installation modes is realized, the independent setting of a user is not needed, and the intellectualization of the thermal transfer printer is improved.
The working force refers to a force required for the print head to complete a printing task, and may include a force (which may be referred to as an "urging force" herein) for urging the print head to a printing position against a resistance of the print head returning mechanism, and a force (which may be referred to as a "printing pressure" herein) continuously applied between the print head and the printing medium. The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Fig. 1 is a schematic flowchart of a method for controlling a print head driving assembly of a thermal transfer printer according to an embodiment of the present disclosure. The present embodiment relates to a situation of adaptive adjustment of a working force required by a thermal transfer printer, where the method may be executed by a controller of the thermal transfer printer in the embodiment of the present application, the thermal transfer printer further includes a print head, an electromagnet, and a displacement monitoring module, the electromagnet is configured to drive the print head to move toward a printing position, the displacement monitoring module is configured to monitor a displacement of the print head, and optionally, the displacement monitoring module may be a hall displacement sensor or a grating ruler displacement sensor. As shown in fig. 1, the method may include:
and S101, determining a basic current value.
And the basic current value is a current value required by the electromagnet to drive the printing head to move to the printing position.
In the embodiment, the working force of the thermal transfer printer is provided by the electromagnet, namely, the printing head is driven to work by the attraction force of the electromagnet, so that the printing task is completed. Alternatively, the print head of the thermal transfer printer may be installed towards the ground (i.e. installed upright), or installed away from the ground (i.e. installed upside down), or installed side-ways or obliquely, and the working force of the print head required by different installation modes of the print head is different, for example, the working force required by the print head for installing upside down is larger than that required by installing upright. That is, the force with which the printhead is urged against the resistance of the printhead return mechanism to the print position is not the same for different mounting configurations of the printhead.
Generally, the attractive force output by the electromagnet is controlled by current, so that in order to realize the required driving force under different installation modes of the printing head, the basic current value required for driving the printing head to move to the printing position by the electromagnet of the thermal transfer printer can be obtained by sequentially adjusting the current of the electromagnet, so that the corresponding basic current value can be obtained no matter the printing head of the thermal transfer printer is installed in a forward mode, a reverse mode, a side mode or an inclined mode, the basic current value is used for controlling the electromagnet in the thermal transfer printer to drive the printing head to move, and the printing head can be moved to the printing position.
And S102, determining a current compensation value.
Wherein the current compensation value is a current value required by the electromagnet to drive the printing head to generate printing pressure at the printing position. The basic current value enables the electromagnet to drive the printing head to move to the printing position, and the printing head needs to output a certain printing pressure when the printing head completes a printing task, namely, the current compensation value is a current value for providing the printing pressure for the printing head. Optionally, the process of determining the current compensation value may be: acquiring a distance between a mounting position and a printing position of a printing head and a desired printing pressure; and determining a current compensation value corresponding to the expected printing pressure according to the working characteristic curve of the electromagnet at the distance.
Specifically, the desired printing pressure refers to a printing pressure of a print head output desired to complete a print job, and may be set in advance based on a printing demand in general. In practical application, different distances correspond to different working characteristic curves, so that the distance between the installation position and the printing position of the printing head of the thermal transfer printer can be obtained, then the working characteristic curve of the electromagnet corresponding to the distance is determined, the working characteristic curve comprises the corresponding relation between the printing pressure and the current value, and therefore the current compensation value corresponding to the expected printing pressure can be determined through the working characteristic curve.
S103, determining a target current value according to the basic current value and the current compensation value, and controlling the electromagnet to work based on the target current value.
After obtaining the basic current value and the current compensation value, the thermal transfer printer controller controls the electromagnet to work according to the basic current value and the current compensation value. Alternatively, the current compensation value may be superimposed on the base current value, that is, the sum of the base current value and the current compensation value is determined as a target current value, and the electromagnet is controlled to operate based on the target current value, so that the electromagnet can generate the working force required by the print head to drive the print head to move, thereby completing the printing task. Therefore, no matter the printing head of the thermal transfer printer is positively installed, reversely installed, laterally installed or obliquely installed, the working force required by the printing head under the corresponding installation mode can be achieved, and the self-adaptive adjustment of the working force of the printing head under different printing head installation modes is realized.
The method for controlling the printing head driving assembly of the thermal transfer printer determines a basic current value required by the electromagnet to drive the printing head to move to the printing position, determines a current compensation value required by the electromagnet to drive the printing head to generate printing pressure at the printing position, further determines a target current value according to the basic current value and the current compensation value, and controls the electromagnet to work based on the target current value, so that the force for pushing the printing head to move converted from the target current value can meet the printing requirement, the printing quality is improved, the abrasion of the printing head is reduced, and the service life of the printing head is prolonged. In addition, according to the technical scheme, under any printing head installation mode, a proper target current value can be configured for the electromagnet, so that the printing requirement under the current installation mode is met, a user does not need to separately set different installation modes, and the thermal transfer printer is more intelligent.
In one embodiment, a smaller current may be set for the electromagnets and the base current value may be obtained by sequentially increasing the current to the electromagnets. Therefore, on the basis of the above embodiment, optionally, as shown in fig. 2, the process of S101 may be:
s201, controlling the electromagnet to drive the printing head to move according to a first current value, and obtaining a first displacement of the printing head corresponding to the first current value.
Specifically, the thermal transfer printer can obtain the basic current value of the control electromagnet through a plurality of circulation processes. During the first cycle, the first current value may be an initial current value set for the electromagnet in advance, and generally, the first current value may be set to be smaller, so that the base current value of the electromagnet is obtained by sequentially increasing the first current value. The first current value may be a second current value set for the electromagnet during a previous cycle, during a non-initial cycle.
Alternatively, a displacement monitoring module is provided in the thermal transfer printer, and the displacement monitoring module may be provided on the print head, and the displacement of the print head moving toward the printing position is acquired by the displacement monitoring module. Optionally, the displacement monitoring module may be a hall displacement sensor or the like, or may be a grating ruler displacement sensor, and the specific type of the displacement monitoring module is not limited in this embodiment. It can be understood that when the printing head of the thermal transfer printer is installed normally, the pressing displacement of the printing head can be obtained through the displacement monitoring module, when the printing head of the thermal transfer printer is installed reversely, the ascending displacement of the printing head can be obtained through the displacement monitoring module, and by analogy, the displacement of the printing head moving towards the printing position can be obtained through the displacement monitoring module.
S202, increasing the first current value to obtain a second current value, and controlling the electromagnet to drive the printing head to move according to the second current value to obtain second displacement of the printing head.
The first current value may be increased according to a certain rule, for example, according to a preset increment. Alternatively, there may be a plurality of preset increments, and initially, a larger preset increment may be selected to increase the first current value, and as the number of times of sequential increases changes, a smaller preset increment may be selected to increase the first current value.
After the second current value is obtained, the electromagnet can be controlled again to drive the printing head to move towards the printing position directly based on the second current value, and the second displacement of the printing head moving towards the printing position is obtained through the displacement monitoring module.
S203, determining a basic current value based on the difference value of the first displacement and the second displacement.
After acquiring the first displacement and the second displacement, a controller of the thermal transfer printer may determine a base current value for controlling the electromagnets by comparing magnitudes between the first displacement and the second displacement and based on the comparison result.
In one embodiment, optionally, if a difference between the first displacement and the second displacement is less than or equal to a preset threshold, determining the first current value as the base current value;
and if the difference value between the first displacement and the second displacement is larger than a preset threshold value, taking the second current value as a new first current value, taking the second displacement as a new first displacement, obtaining the first displacement and the second displacement again until the difference value between the first displacement and the second displacement is smaller than or equal to the preset threshold value, and determining the latest first current value as a basic current value.
Specifically, the preset threshold may be set in combination with practical experience. In the case where the difference between the first displacement and the second displacement is less than or equal to the preset threshold value, it is indicated that the driving force of the electromagnet converted by the first current value and the second current value is equivalent, and the driving force converted by the second current value has failed to cause the print head to continue moving toward the printing position, at which point it can be determined that the print head has contacted the print medium, the first current value can be determined as the basic current value for controlling the electromagnet.
When the difference between the first displacement and the second displacement is larger than the preset threshold, it indicates that the printing head still moves a certain distance towards the printing position after the current value is increased, the driving force of the electromagnet converted by the first current value cannot move the printing head to the printing position, but at this time, it cannot be determined whether the driving force of the electromagnet converted by the second current value moves the printing head to the printing position, and the next round of circulation process is needed to confirm. Therefore, the second current value may be taken as a new first current value, the second displacement may be taken as a new first displacement, the first displacement and the second displacement may be reacquired, it may be determined again whether a difference between the reacquired first displacement and the second displacement is less than or equal to the preset threshold, and if so, the latest first current value may be determined as the base current value. If the difference value between the second displacement and the first displacement is still larger than the preset threshold value, the driving force of the electromagnet converted by the latest first current value still cannot move the printing head to the printing position, and a next circulation process is needed to search the basic current value of the electromagnet capable of moving the printing head to the printing position.
In this embodiment, the thermal transfer printer can be through the electric current that increases the electro-magnet in proper order, and the current value control electro-magnet drive after increasing beats printer head and removes, obtain the displacement of beating printer head, change through the size between this displacement and the last displacement, confirm to make and beat printer head and remove to the basic current value of the electro-magnet of printing the position, and combine the electro-magnet work of current compensation value and basic current value control thermal transfer printer, thereby satisfy the printing demand, need not to distinguish the mounting means that the thermal transfer printer beaten printer head at this in-process, the control current that all can satisfy the printing demand for thermal transfer printer automatic determination, need not the user to beat printer head mounting means to the difference and carry out the independent setting of electro-magnet control current, the convenience and the suitability of thermal transfer printer installation have been improved, reduce installation training cost and after sale cost.
Fig. 3 is a schematic structural diagram of a thermal transfer printer controller provided in an embodiment of the present application, and as shown in fig. 3, the thermal transfer printer controller may include a processor 30, a memory 31, an input device 32, and an output device 33; alternatively, the number of processors 30 in the thermal transfer printer controller may be one or more, and one processor 30 is exemplified in fig. 3; the processor 30, the memory 31, the input device 32, and the output device 33 in the thermal transfer printer controller may be connected by a bus or other means, and the bus connection is exemplified in fig. 3.
The memory 31 is a computer readable storage medium for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the method for controlling the print head driving assembly of the thermal transfer printer in the embodiment of the present application. The processor 30 executes various functional applications and data processing of the thermal transfer printer by executing software programs, instructions and modules stored in the memory 31, namely, the method for controlling the print head driving assembly of the thermal transfer printer.
The memory 31 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 required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 31 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 31 may further include memory located remotely from the processor 30, which may be connected to the device/terminal/server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 32 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the thermal transfer printer. The output device 33 may include a display device such as a display screen.
In one embodiment, there is also provided a thermal transfer printer, as shown in fig. 4, which may include: the printing device comprises a printing head 401, a printing head resetting mechanism 402, an electromagnet 403, a displacement monitoring module 404 and an electromagnet control module 405.
Wherein the print head reset mechanism 402 is configured to provide a force that moves the print head 401 to a mounting position;
the electromagnet 403 is configured to provide a force that, when operated, moves the print head 401 towards a print position;
a displacement monitoring module 404 configured to monitor the displacement of the print head 401;
the electromagnet control module 405 is configured to control the operation of the electromagnet 403 according to the method described in any of the above embodiments.
Optionally, the displacement testing module 404 includes a hall displacement sensor or a grating ruler displacement sensor.
Optionally, the print head return mechanism is a tension spring or a spring. Embodiments of the present application also provide a storage medium containing computer executable instructions which, when executed by a computer processor, are operable to perform a method of controlling a thermal transfer printer printhead drive assembly, the method comprising:
determining a basic current value, wherein the basic current value is a current value required by the electromagnet to drive the printing head to move to a printing position;
determining a current compensation value, wherein the current compensation value is a current value required by the electromagnet to drive the printing head to generate printing pressure at the printing position;
and determining a target current value according to the basic current value and the current compensation value, and controlling the electromagnet to work based on the target current value.
Of course, the storage medium provided by the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the method for controlling the print head driving assembly of the thermal transfer printer provided by any embodiments of the present application.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the search apparatus, each included unit and each included module are merely divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A method of controlling a printhead drive assembly of a thermal transfer printer, the thermal transfer printer comprising a printhead, an electromagnet configured to drive the printhead toward a print position, and a displacement monitoring module configured to monitor displacement of the printhead, the method comprising:
determining a basic current value, wherein the basic current value is a current value required by the electromagnet to drive the printing head to move to a printing position;
determining a current compensation value, wherein the current compensation value is a current value required by the electromagnet to drive the printing head to generate printing pressure at the printing position;
and determining a target current value according to the basic current value and the current compensation value, and controlling the electromagnet to work based on the target current value.
2. The method of claim 1, wherein determining the base current value comprises:
controlling the electromagnet to drive the printing head to move according to a first current value, and acquiring first displacement of the printing head corresponding to the first current value;
increasing the first current value to obtain a second current value, and controlling the electromagnet to drive the printing head to move according to the second current value to obtain a second displacement of the printing head;
a base current value is determined based on a difference of the first displacement and the second displacement.
3. The method of claim 2, wherein determining a base current value based on a difference of the first displacement and the second displacement comprises:
determining the first current value as a base current value if a difference between the first displacement and the second displacement is less than or equal to a preset threshold;
and if the difference value between the first displacement and the second displacement is larger than a preset threshold value, taking the second current value as a new first current value, taking the second displacement as a new first displacement, obtaining the first displacement and the second displacement again until the difference value between the first displacement and the second displacement is smaller than or equal to the preset threshold value, and determining the latest first current value as a basic current value.
4. The method of any of claims 1 to 3, wherein the determining a current compensation value comprises:
acquiring a distance between a mounting position of the print head and the printing position and a desired printing pressure;
and determining a current compensation value corresponding to the expected printing pressure according to the working characteristic curve of the electromagnet at the distance.
5. The method of claim 4, wherein determining a target current value based on the base current value and the current compensation value comprises:
and obtaining a target current value based on the sum of the basic current value and the current compensation value.
6. A thermal transfer printer controller, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processors to perform the steps of the method of any of claims 1 to 5.
7. A thermal transfer printer, comprising:
a print head;
a print head return mechanism configured to provide a force to move the print head to a mounting position;
an electromagnet configured to provide a force that, when operated, moves the printhead to a print position;
a displacement monitoring module configured to monitor a displacement of the print head;
an electromagnet control module configured to control operation of the electromagnet according to the method of any one of claims 1 to 5.
8. The thermal transfer printer of claim 7, wherein the displacement test module comprises a Hall displacement sensor or a grating scale displacement sensor.
9. The thermal transfer printer of claim 7, wherein the print head return mechanism is a tension spring.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202210965962.5A 2022-08-12 2022-08-12 Method for controlling driving assembly of printing head of thermal transfer printer and product Pending CN115157870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210965962.5A CN115157870A (en) 2022-08-12 2022-08-12 Method for controlling driving assembly of printing head of thermal transfer printer and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210965962.5A CN115157870A (en) 2022-08-12 2022-08-12 Method for controlling driving assembly of printing head of thermal transfer printer and product

Publications (1)

Publication Number Publication Date
CN115157870A true CN115157870A (en) 2022-10-11

Family

ID=83479710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210965962.5A Pending CN115157870A (en) 2022-08-12 2022-08-12 Method for controlling driving assembly of printing head of thermal transfer printer and product

Country Status (1)

Country Link
CN (1) CN115157870A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116968458A (en) * 2023-08-01 2023-10-31 上海迪凯标识科技有限公司 Control method and device for printer ribbon, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07329368A (en) * 1994-06-03 1995-12-19 Hitachi Koki Co Ltd Dot line printer
JPH11320855A (en) * 1998-05-18 1999-11-24 Mitsubishi Electric Corp Ink jet recording device
CN108349264A (en) * 2015-09-14 2018-07-31 录象射流技术公司 Printing device and method
CN110337370A (en) * 2016-12-22 2019-10-15 录象射流技术公司 Printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07329368A (en) * 1994-06-03 1995-12-19 Hitachi Koki Co Ltd Dot line printer
JPH11320855A (en) * 1998-05-18 1999-11-24 Mitsubishi Electric Corp Ink jet recording device
CN108349264A (en) * 2015-09-14 2018-07-31 录象射流技术公司 Printing device and method
CN110337370A (en) * 2016-12-22 2019-10-15 录象射流技术公司 Printer
CN113601994A (en) * 2016-12-22 2021-11-05 录象射流技术公司 Printer with a movable platen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116968458A (en) * 2023-08-01 2023-10-31 上海迪凯标识科技有限公司 Control method and device for printer ribbon, electronic equipment and storage medium
CN116968458B (en) * 2023-08-01 2024-04-02 上海迪凯标识科技有限公司 Control method and device for printer ribbon, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7436418B2 (en) Thermal printer, thermal printer control method, and printing system
CN115157870A (en) Method for controlling driving assembly of printing head of thermal transfer printer and product
US20050243115A1 (en) Control method and controller for a thermal print head and a motor using an encoder
EP3376363A1 (en) Printing device and information collection and transmission method
EP2133208A2 (en) Printing apparatus
JP4779428B2 (en) POS terminal device
EP3549771B1 (en) Methods and systems for operating a printer apparatus
JP4899336B2 (en) Composite device management apparatus and method
CN103135741A (en) Multi-device power saving
US20050134890A1 (en) Image forming device and a method of selecting emulation automatically thereof
JP5445325B2 (en) Print management system, management apparatus and program
JP2007030263A (en) Printer and method for controlling the same
KR100433416B1 (en) printing system and method of counting quantity of ink consumption
US20240069834A1 (en) Information processing apparatus, non-transitory computer readable medium storing program, and information processing method
JP2021121473A (en) Printing control device, printing method and printing control program
JP7215031B2 (en) Printing system, printing method and program
JPH07219730A (en) Printing controller, printing device and control method thereof
JP2006281718A (en) Printing method of setting value, management method of setting value and printer
JP2005148172A (en) Image forming apparatus
WO2023055338A1 (en) Printer usage distributions
JP4579753B2 (en) Receipt printer
JP2016021164A (en) Print control device, printing system, and printing method
JPH07295766A (en) Device and method for processing information
JP3693178B2 (en) Terminal printer
JP2020015181A (en) Printer system, printer control device and printer control method

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