CN116945773A - Bill printer and printing method - Google Patents

Bill printer and printing method Download PDF

Info

Publication number
CN116945773A
CN116945773A CN202310978598.0A CN202310978598A CN116945773A CN 116945773 A CN116945773 A CN 116945773A CN 202310978598 A CN202310978598 A CN 202310978598A CN 116945773 A CN116945773 A CN 116945773A
Authority
CN
China
Prior art keywords
paper
printing
state
black mark
printing paper
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
CN202310978598.0A
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.)
Beijing Spirit Technology Development Co ltd
Original Assignee
Beijing Spirit Technology Development 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 Beijing Spirit Technology Development Co ltd filed Critical Beijing Spirit Technology Development Co ltd
Priority to CN202310978598.0A priority Critical patent/CN116945773A/en
Publication of CN116945773A publication Critical patent/CN116945773A/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
    • 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
    • B41J2/32Typewriters 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
    • 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/46Applications of alarms, e.g. responsive to approach of end of line

Landscapes

  • Handling Of Sheets (AREA)

Abstract

The application discloses a bill printer and a printing method, which are characterized in that a first state of a first black mark sensor is obtained; under the preset condition, controlling the printing paper to empty and advance along the first direction for a preset distance, comparing the first state and the second state of the first black mark sensor, displaying the sticky paper mark and alarming under the condition that the first state and the second state are the same; and under the condition that the first state is different from the second state, controlling the printing paper to be idle for a preset distance along a second direction, wherein the second direction is opposite to the first direction. The method can detect whether the printing paper and the heating head are adhered, display the paper adhering mark under the condition that the printing paper and the heating head are adhered, give an alarm, avoid the user to print the bill under the condition that the printing paper and the heating head are adhered, further avoid the printed bill being waste due to the adhesion of the printing paper and the heating head, and have good use effect and are convenient to popularize and use.

Description

Bill printer and printing method
Technical Field
The application relates to the technical field of thermal printing, in particular to a bill printer and a printing method.
Background
The thermal printer heats the thermal paper by using a thermal head, thereby performing printing. In the case of performing two-color printing, the thermal printer presents each print content onto the thermal paper in the order of red (R) and black (B). The thermal printer controls the heating amount of the thermal head, thereby expressing the gradation of the image. A thermal head used in a thermal printer is provided with a heating element in a linear shape (line shape). The thermal printer prints every 1 line while feeding paper to the thermal head. That is, the thermal printer controls the heating amount of the heating element for every 1 line, and prints an image on a sheet.
At present, the thermal printer is widely applied to the fields of bill printing, ticket printing and the like, and in some special industries, the condition of waste ticket printing cannot be tolerated.
However, in the existing bill printing process, since the thermal printer achieves the printing effect by heating the thermal paper, under the high-temperature and high-humidity environment, the heating head with waste heat is very easy to adhere to the thermal paper, and the thermal heating head is in long-time contact with the thermal paper, so that the thermal paper and the heating head piece are easy to adhere, and the printed bill is waste.
Disclosure of Invention
In view of the above, it is an object of the present application to provide a bill printer and a printing method capable of avoiding the waste of printed bills due to adhesion between thermal paper and a heating head sheet.
In a first aspect, a ticket printer is characterized by comprising a shell, a reel, a printing module, a detection module, a control module and an alarm module, wherein the reel, the printing module, the detection module, the control module and the alarm module are all arranged in the shell;
the printing paper is wound on the reel, and a black mark is arranged on the printing paper;
the printing module comprises a cutter, a heating head, an air knife, a compressed air tank, a rubber roller and a stepping motor, wherein the heating head and the rubber roller are oppositely arranged, a paper outlet hole for printing paper to pass through is formed between the heating head and the rubber roller, and the compressed air tank and the stepping motor are respectively controlled by the control module;
the detection module comprises a paper non-taking sensor and at least one black mark sensor, and the paper non-taking sensor and the black mark sensor are respectively connected with the control module.
Optionally, the number of the black mark sensors is two, and the two black mark sensors are a first black mark sensor and a second black mark sensor respectively.
Optionally, the alarm module is an audible and visual alarm module.
A printing method of a ticket printer according to a second aspect, the printing method comprising:
acquiring a first state of a first black mark sensor;
under a preset condition, controlling the printing paper to empty and advance for a preset distance along a first direction, wherein the first direction is the paper outlet direction of the printing paper;
acquiring a second state of the first black mark sensor;
displaying a sticky paper mark and alarming when the first state is the same as the second state;
and controlling the printing paper to be idle for a preset distance along a second direction under the condition that the first state is different from the second state, wherein the second direction is opposite to the first direction.
Optionally, under the preset condition, controlling the printing paper to be idle for a preset distance along the first direction includes:
and after a first time interval when the printing of the target bill is finished, controlling the printing paper to be idle for a preset distance along a first direction.
Optionally, after the first time interval when the target bill is printed, controlling the printing paper to be empty and fed along the first direction by a preset distance, including:
after a first time interval when printing of the target bill is completed, controlling printing paper to empty and feed in a first direction;
under the condition of controlling the printing paper to be empty in the first direction, controlling the air knife to be in a working state;
and after the printing paper is empty and fed along the first direction for the preset distance, controlling the air knife to stop working, and controlling the printing paper to stop empty and fed along the first direction.
Optionally, under the preset condition, controlling the printing paper to be idle for a preset distance along the first direction includes:
and controlling the air knife to work for a preset time period at intervals of a second time when the printer is started or in a standby state.
Optionally, in the case that the first state is the same as the second state, displaying a sticker label, and after alarming, the method further includes:
the stepping motor of the printer is controlled to work according to the preset speed, and the air knife is controlled to work.
Optionally, the method further comprises:
under the condition that the actual advancing and retreating steps of the stepping motor are smaller than the preset advancing and retreating steps, acquiring a first detection signal of a first black mark sensor and acquiring a second detection signal of a second black mark sensor;
displaying a paper sticking mark and alarming when any one of the first detection signal and the second detection signal does not comprise a black mark signal;
the application has at least the following beneficial effects:
the application comprises a shell, a reel, a printing module, a detection module, a control module and an alarm module, wherein the reel, the printing module, the detection module, the control module and the alarm module are all arranged in the shell; the reel is wound with printing paper, and the printing paper is provided with a black mark; the printing module comprises a cutter, a heating head, an air knife, a compressed air tank, a rubber roller and a stepping motor, wherein the heating head and the rubber roller are oppositely arranged, a paper outlet hole for printing paper to pass through is arranged between the heating head and the rubber roller, and the compressed air tank and the stepping motor are respectively controlled by the control module; the detection module comprises a paper-unfinished sensor and at least one black mark sensor, and the paper-unfinished sensor and the black mark sensor are respectively connected with the control module. According to the bill printer, the black mark on the printing paper can be detected through the black mark sensor, so that whether the printing paper is adhered to the heating head or not is detected, an alarm can be given under the condition that the printing paper is adhered to the heating head, a user is prevented from printing a bill under the condition that the printing paper is adhered to the heating head, the printed bill is prevented from being a waste bill due to the adhesion of the printing paper and the heating head, the use effect is good, and popularization and use are facilitated.
Drawings
FIG. 1 is a schematic flow chart of a bill printing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a process for detecting break-off and sticking by advancing and retreating paper according to one embodiment of the present application;
FIG. 3 is a schematic view of a thermal printing paper with black marks according to one embodiment of the present application;
FIG. 4 is a schematic diagram of a printing system according to one embodiment of the present application;
FIG. 5 is a schematic diagram showing the relative positions of key components of a heating head and black marks on a lottery paper according to an embodiment of the present application;
the device comprises a 1-black mark, a 2-cutter, a 3-heating head piece, a 4-air knife, a 5-compressed air tank, a 6-1-first black mark sensor, a 6-2-second black mark sensor, a 7-rubber roller, an 8-stepping motor, 9-printing paper, a 10-control module, an 11-alarm module and a 12-non-paper taking sensor.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The application provides a bill printing method, as shown in figure 1, which comprises the following steps:
acquiring a first state of a first black mark sensor;
under a preset condition, controlling the printing paper to empty and advance for a preset distance along a first direction, wherein the first direction is the paper outlet direction of the printing paper;
acquiring a second state of the first black mark sensor;
displaying a sticky paper mark and alarming when the first state is the same as the second state;
and controlling the printing paper to be idle for a preset distance along a second direction under the condition that the first state is different from the second state, wherein the second direction is opposite to the first direction.
In one embodiment, under the preset condition, the controlling the printing paper to empty in the first direction by a preset distance includes:
and after a first time interval when the printing of the target bill is finished, controlling the printing paper to be idle for a preset distance along a first direction.
In one embodiment, after the first time interval when the target bill is printed, controlling the printing paper to be idle for a preset distance along the first direction includes:
after a first time interval when printing of the target bill is completed, controlling printing paper to empty and feed in a first direction;
under the condition of controlling the printing paper to be empty in the first direction, controlling the air knife to be in a working state;
and after the printing paper is empty and fed along the first direction for the preset distance, controlling the air knife to stop working, and controlling the printing paper to stop empty and fed along the first direction.
In one embodiment, under the preset condition, the controlling the printing paper to empty in the first direction by a preset distance includes:
and controlling the air knife to work for a preset time period at intervals of a second time when the printer is started or in a standby state.
In one embodiment, in the case that the first state is the same as the second state, a sticker label is displayed and after alerting, the method further comprises:
the stepping motor of the printer is controlled to work according to the preset speed, and the air knife is controlled to work.
The first state of the first black mark sensor is acquired; under a preset condition, controlling the printing paper to empty and advance along a first direction by a preset distance, wherein the first direction is the paper outlet direction of the printing paper; secondly, acquiring a second state of the first black mark sensor; finally, comparing the first state and the second state of the first black mark sensor, displaying the sticky paper mark and alarming under the condition that the first state and the second state are the same; and under the condition that the first state is different from the second state, controlling the printing paper to be idle for a preset distance along a second direction, wherein the second direction is opposite to the first direction. The method can detect whether the printing paper and the heating head are adhered, display the paper adhering mark under the condition that the printing paper and the heating head are adhered, give an alarm, avoid the user to print the bill under the condition that the printing paper and the heating head are adhered, further avoid the printed bill being waste due to the adhesion of the printing paper and the heating head, and have good use effect and are convenient to popularize and use.
In one embodiment, a ticket printer is disclosed, comprising a housing, a spool, a printing module, a detection module, a control module 10 and an alarm module 11, all disposed within the housing;
the printing paper 9 is wound on the reel, and the black mark 1 is arranged on the printing paper 9;
the printing module comprises a cutter 2, a heating head 3, an air knife 4, a compressed air tank 5, a rubber roller 7 and a stepping motor 8, wherein the heating head 3 and the rubber roller 7 are oppositely arranged, a paper outlet hole for printing paper 9 to pass through is formed between the heating head 3 and the rubber roller 7, and the compressed air tank 5 and the stepping motor 8 are respectively controlled by the control module 10;
the detection module comprises a paper non-taking sensor 12 and at least one black mark sensor 6, wherein the paper non-taking sensor 12 and the black mark sensor 6 are respectively connected with the control module 10.
In one embodiment, the number of the black mark sensors 6 is two, and the two black mark sensors 6 are respectively a first black mark sensor 6-1 and a second black mark sensor 6-2.
In one embodiment, the alarm module 11 is an audible and visual alarm module.
In one embodiment, a method is disclosed for solving the problem that a lottery operator suffers loss due to the fact that the printed lottery ticket is a waste ticket because the thermosensitive heating head is adhered to the thermosensitive printing paper in the printing process of the lottery ticket.
In one embodiment, after the printing of the lottery ticket and the cutting of the paper are completed, the printing process is not immediately finished, but the printing process is continuously carried out for L3 in a fixed distance [ fig. 2] in the front blank feeding process after a short time T, after the front blank feeding process is completed, the lottery ticket paper returns to the original position after the L3 distance is retracted, meanwhile, the black mark sensor1 detects the black mark moving condition of the lottery ticket paper, and the MCU judges whether the paper sticking condition occurs or not by calculating the AD sampling value of the black mark sensor1 in the whole paper feeding process.
In one embodiment, the air knife is applied in the paper feeding process, and after the air knife is applied, the high-temperature energy on the heating head generated in the thermal printing process can be released quickly, and meanwhile, the thermal paper can break loose from the heating head.
In one embodiment, the printer is powered on and idle to break loose once every t hours.
In one embodiment, after the sticking of the paper occurs, the stepping motor increases the torque force through speed reduction, simultaneously applies an air knife to break loose, and after the break loose is successful, the thermal paper is reset to the initial position through black mark positioning, and the control unit clears the sticking mark.
In one embodiment, the step motor is controlled to continue to feed forward for a fixed distance L3 in figure 2, the black mark sensor1 detects the accuracy of paper feeding in the paper feeding process, and when the paper feeding is inaccurate, the control unit sets a paper sticking mark and triggers an audible and visual alarm.
As shown in fig. 2 and 4, the 10-control unit controls the 8-stepper motor to empty the paper feeding distance L3, the black mark reaches the position above the black mark sensor1, when the black mark can completely cover the black mark sensor1, the state of the black mark sensor1 changes, and the black mark can be recognized by the 10-control unit, namely, no sticking paper occurs, otherwise, the black mark does not reach the position above the black mark sensor1, the state of the black mark sensor1 does not change or the AD sampling value does not reach the threshold value, and the 10-control unit sets a sticking paper mark and alarms through the 11-audible-visual alarm module. In the same way, in the process of returning and resetting the lottery paper, after the 10-control unit controls the 8-stepping motor to empty and return the paper by L3 distance, the black mark returns to the original position, the state of the black mark sensor1 changes again, if the AD sampling value is lower than the threshold value, no paper sticking occurs, otherwise, the paper sticking occurs, the 10-control unit sets a paper sticking mark and gives an alarm through the 11-audible and visual alarm module.
In one embodiment, when the thermal paper and the heating head piece are adhered, the thermal paper can be detected, and an alarm, an error record and an error report can be generated. And alarming through an 11-sound and light alarming module. Error recording is achieved by setting a variable StickState in the MCU to true. Before each bill is printed, after the printing is finished, the upper computer respectively sends a command for inquiring the state of the printer once, when the sticky paper mark is set, the bill is printed invalidity and reported to the server, and after the server judges that the printing produces the waste bill, the printing command is sent again until the normal lottery bill is printed out, so that a closed loop is formed.
In one embodiment, a technical scheme one for reducing sticking paper is provided, after the lottery ticket face sheet data is printed, the time T of millisecond level is increased, and the method is realized by adding the blank paper feeding and applying the heat dissipation air flow, wherein T is as short as possible, so that the heat generated by the heat-sensitive heating plate in the printing process can be radiated as soon as possible through the blank paper feeding, and the heat is prevented from being intensively released to a certain fixed position with the heat-sensitive paper, and sticking paper is generated. After printing the lottery ticket, the paper is continuously fed forward by a fixed distance L3 in figure 2 through controlling the stepping motor, in the paper feeding process, the air knife applies heat dissipation air flow between the rubber roller and the thermal paper to quicken the heat dissipation of the heating plate, in the whole process, the black mark sensor1 detects the accuracy of paper feeding, and when the paper feeding is inaccurate, the control unit sets a paper sticking mark and triggers audible and visual alarm.
As shown in fig. 2, the 10-control unit controls the distance of 8-step motor empty paper feeding L3, the black mark reaches the position above the black mark sensor1, when the black mark can completely cover the black mark sensor1, the state of the black mark sensor1 changes, and the black mark can be recognized by the 10-control unit, namely, no sticking paper occurs, otherwise, the black mark does not reach the position above the black mark sensor1, the state of the black mark sensor1 does not change or the AD sampling value does not reach the threshold value, and the 10-control unit sets a sticking paper mark and alarms through the 11-audible and visual alarm module. When no paper sticking occurs, the 10-control unit controls the 8-stepping motor to empty and withdraw the paper by L3 distance, the black mark returns to the original position, the state of the black mark sensor1 changes again, if the AD sampling value is lower than the threshold value, no paper sticking occurs, otherwise, paper sticking occurs, the 10-control unit sets a paper sticking mark and gives an alarm through the 11-audible and visual alarm module.
According to the second technical scheme for reducing the sticking of paper, the printer is powered on and turned on and breaks loose once every t time in an idle state. The operation procedure of the first technical scheme is repeated every interval t.
The technical scheme III for reducing the sticking paper is that after the sticking paper occurs, the stepping motor increases the torsion through reducing the speed, simultaneously applies an air knife to break loose, after the break loose is successful, the thermal paper is reset to the initial position through the black mark positioning, and the control unit clears the sticking paper mark.
In the scheme of detecting the sticking state in the printing process, in the step-in and step-out number of a specified stepping motor, the two black mark sensors detect the black mark in the specified step-in number and consider that no sticking occurs, otherwise, the sticking occurs, and the control unit sets a sticking mark.
When the lottery ticket is not adhered to the thermal head, after the normal paper feeding L3, the sensor1 can detect the black label of the lottery ticket, after the normal paper feeding L5-L4, the sensor2 can detect the black label of the lottery ticket, if the lottery ticket is slightly adhered, the thermal paper starts to feed after the stepping motor rotates for a period of time, the paper feeding step number length of the printer can be larger than L3 or L5-L4, and the compression degree of the ticket surface can be calculated according to the difference value.
And reporting the sticky paper, before each bill printing, after finishing printing, the upper computer respectively transmits a printer state inquiring instruction once, when the sticky paper mark is set, the bill printing is invalid and the server is reported, and after the server judges that the printing generates the waste bill, the printing instruction is retransmitted until a normal lottery bill is printed out, so that a closed loop is formed, and as shown in figure 4, the printer, the upper computer and the remote server form a closed loop control circuit.
The benefits of this embodiment are not limited to two black mark sensors, but also to the relative positions of two black mark sensors, and the implementation of the first technical scheme by adopting 1 to N black mark sensors, and the second technical scheme is in the protection scope of this patent.
The black mark sensor1 for detecting whether the sticking occurs or not can also be placed near the paper outlet, as shown in fig. 5, 12-the position of the non-single sensor is located. The 12-non-single sensor can also be used for detecting whether the sticking occurs, and the same control logic can be achieved by using the AD sampling value of the 12-non-single sensor instead of the AD sampling value of the black mark sensor 1.
And (5) starting up a ticket sticking detection flow. After the printer is started and self-checking is finished, firstly executing paper feeding operation, using Sensor1 to detect a black mark in the paper feeding process, if the black mark length of the paper feeding L3 still cannot be detected, sounding a buzzer, setting a state to be a paper sticking error, setting a variable StickState in an MCU to true, and detecting the paper sticking error when an upper computer sends a command to read the state.
After the detection is successful, the lottery paper is returned, the returning distance L3 is reserved, after the returning is finished, whether the Sensor1 detects that the black mark of the lottery ticket leaves the detection range of the Sensor1 is detected, if the black mark leaves the detection return is not detected, the buzzer sounds, the setting state is a paper sticking error, the variable StickState in the MCU is set to true, and the upper computer can detect the paper sticking error when sending a command reading state.
When the paper is cut, the printer is in an idle state, and the printer starts to time t2 in the idle state;
when t2> t1, executing a paper feeding instruction, feeding a paper distance L3, detecting a black mark by a sensor1 after paper feeding is completed, if detection fails, setting a state to be a paper jam error, setting a variable StickState in the MCU to be true, and ringing by a buzzer. If the detection is successful, the jam error state is cleared, and the variable StickState is set to false.
Ticket sticking detection flow during lottery printing
After the paper sticking error is detected by using the state detection function before printing starts, the upper machine interrupts the sales of the lottery ticket, and the transaction is not submitted to the background database, so that the occurrence of incomplete ticket is avoided, and the loss of a lottery ticket operator is reduced.
When the upper computer needs to print, detecting the state of the printer:
if the printer is in a ticket sticking error or other errors, directly returning an error, and not executing subsequent detection; otherwise, sending a printing instruction to print the lottery ticket.
When the lottery ticket is not adhered to the thermal head, after the paper is normally fed by L5-L4, the sensor2 can detect the black mark of the lottery ticket, if the lottery ticket is slightly adhered, the thermal paper starts to be fed after the stepping motor rotates for a period of time, the number of paper feeding steps of the printer is greater than L5-L4, and the compression degree of the ticket surface can be calculated according to the difference value.
A. When printing is started, the printing length count value length is cleared, and the lottery black label is located between the positions Sensor1Pos and Sensor2 Pos.
B. And 1 is added to 1 dot line length per paper feeding, meanwhile, the sensor2 detects the black mark of the lottery ticket, and the length counting is stopped when the black mark is detected.
C. When cutting is completed, the count value length is read, and whether print compression exists is judged.
If |length- (L5-L4) | <8, the paper feeding is normal, and the error is within the allowable range.
If |length- (L5-L4) | >8& (length- (L5-L4)) <24, it is explained that the first line character is compressed.
If (length- (L5-L4)) <24& (length- (L5-L4)) <8 x 50, it is stated that the ticket header is compressed and part of the content is lost.
If (length- (L5-L4)) > 8.times.50, this indicates that the face compression is severe.
When the ticket sticking problem cannot be automatically repaired, the error state needs to be cleared through the modes of uncovering, paper pulling and covering.
The black mark sensor1 for detecting whether or not paper sticking has occurred is characterized in that the black mark sensor1 for detecting whether or not paper sticking has occurred may be placed near the paper outlet or multiplexed with a non-taken single sensor, and the state change of the black mark may be replaced by a change in detecting the presence or absence of paper.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in fig. 1 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily sequential, but may be performed in rotation or alternatively with at least a portion of the steps or stages in other steps or other steps.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (9)

1. The bill printer is characterized by comprising a shell, a reel, a printing module, a detection module, a control module (10) and an alarm module (11), wherein the reel, the printing module, the detection module, the control module (10) and the alarm module (11) are all arranged in the shell;
the printing paper (9) is wound on the reel, and a black mark (1) is arranged on the printing paper (9);
the printing module comprises a cutter (2), a heating head (3), an air knife (4), a compressed air tank (5), a rubber roller (7) and a stepping motor (8), wherein the heating head (3) and the rubber roller (7) are oppositely arranged, a paper outlet hole for printing paper (9) to pass through is formed between the heating head (3) and the rubber roller (7), and the compressed air tank (5) and the stepping motor (8) are respectively controlled by the control module (10);
the detection module comprises a paper non-taking sensor (12) and at least one black mark sensor, and the paper non-taking sensor (12) and the black mark sensor are respectively connected with the control module (10).
2. A ticket printer according to claim 1, wherein the number of black mark sensors is two, and the two black mark sensors are a first black mark sensor (6-1) and a second black mark sensor (6-2), respectively.
3. A ticket printer according to claim 1, wherein the alarm module (11) is an audible and visual alarm module.
4. A method of printing a ticket printer according to any one of claims 1 to 3, wherein the method of printing comprises:
acquiring a first state of a first black mark sensor (6-1);
under a preset condition, controlling the printing paper (9) to be idle for a preset distance along a first direction, wherein the first direction is the paper outlet direction of the printing paper (9);
acquiring a second state of the first black mark sensor (6-1);
displaying a sticky paper mark and alarming when the first state is the same as the second state;
and controlling the printing paper (9) to be idle for a preset distance along a second direction when the first state is different from the second state, wherein the second direction is opposite to the first direction.
5. The method of claim 4, wherein controlling the printing paper to be empty in the first direction for a preset distance under preset conditions comprises:
after a first time interval when printing of the target bill is completed, the printing paper (9) is controlled to be empty and fed along a first direction for a preset distance.
6. The method of claim 5, wherein after the first time interval when the target ticket is printed, controlling the printing paper to be empty in the first direction by a preset distance comprises:
after a first time interval when printing of the target bill is completed, controlling the printing paper (9) to empty and feed the paper along a first direction;
under the condition of controlling the printing paper (9) to empty and feed along the first direction, controlling the air knife (4) to be in a working state;
after the printing paper (9) is empty to feed along the first direction for the preset distance, the air knife (4) is controlled to stop working, and the printing paper (9) is controlled to stop empty to feed along the first direction.
7. The method of claim 4, wherein controlling the printing paper to be empty in the first direction for a preset distance under preset conditions comprises:
and controlling the air knife (4) to work for a preset time period at intervals of a second time when the printer is started or in a standby state.
8. The method of claim 4, wherein in the case where the first state is the same as the second state, then displaying a sticker label and alerting, the method further comprises:
the stepping motor (8) of the printer is controlled to work at a preset speed, and the air knife (4) is controlled to work.
9. The method according to claim 4, wherein the method further comprises:
under the condition that the actual advancing and retreating steps of the stepping motor (8) are smaller than the preset advancing and retreating steps, acquiring a first detection signal of a first black mark sensor (6-1) and acquiring a second detection signal of a second black mark sensor (6-2);
and displaying a paper sticking mark and alarming when any one of the first detection signal and the second detection signal does not comprise a black mark signal.
CN202310978598.0A 2023-08-04 2023-08-04 Bill printer and printing method Pending CN116945773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310978598.0A CN116945773A (en) 2023-08-04 2023-08-04 Bill printer and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310978598.0A CN116945773A (en) 2023-08-04 2023-08-04 Bill printer and printing method

Publications (1)

Publication Number Publication Date
CN116945773A true CN116945773A (en) 2023-10-27

Family

ID=88451160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310978598.0A Pending CN116945773A (en) 2023-08-04 2023-08-04 Bill printer and printing method

Country Status (1)

Country Link
CN (1) CN116945773A (en)

Similar Documents

Publication Publication Date Title
EP0767066B1 (en) Printer and printing method
JP2936124B2 (en) Printer
JP5044667B2 (en) System and method for determining label stock roll status
US9042743B2 (en) Printer
CN106541714B (en) A kind of control method and label machine of label machine
US20120257250A1 (en) Print control method and device
CA2525617A1 (en) Roll and printer
JPH05229542A (en) Label printer and label tape therefor
JP2000141775A (en) Label sheet and label printer
EP2794278B1 (en) Media detection apparatus and method
WO2011146603A2 (en) Indicator marks on a roll of label stock
CN116945773A (en) Bill printer and printing method
US20080107466A1 (en) Printing Apparatus
US5697539A (en) Label or tag sheet feeding apparatus with failure detection
JP3357119B2 (en) Label printing method in label printer
JP2944630B1 (en) Continuous paper printer
JP2000168180A (en) Method and apparatus for identifying label and stripe mounting paper
JPH0584995A (en) Printer with cutter
JP2954189B1 (en) Paper feed detection mechanism of thermal printer
JP2000168181A (en) Method and apparatus for identifying label and stripe mounting paper
JP3549548B2 (en) Printer device
JPH10157232A (en) Printer
JPS63272648A (en) Label printer
JP2562012B2 (en) Label feeding control device for label printer
JPH02307765A (en) Label 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