[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109130542B - Method and device for detecting printing state of bill through black mark sensor - Google Patents

Method and device for detecting printing state of bill through black mark sensor Download PDF

Info

Publication number
CN109130542B
CN109130542B CN201711238023.6A CN201711238023A CN109130542B CN 109130542 B CN109130542 B CN 109130542B CN 201711238023 A CN201711238023 A CN 201711238023A CN 109130542 B CN109130542 B CN 109130542B
Authority
CN
China
Prior art keywords
black mark
time
ticket
error value
printing state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711238023.6A
Other languages
Chinese (zh)
Other versions
CN109130542A (en
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.)
Shenzhen Sinodata Tech Co ltd
Original Assignee
Shenzhen Sinodata Tech 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 Shenzhen Sinodata Tech Co ltd filed Critical Shenzhen Sinodata Tech Co ltd
Priority to CN201711238023.6A priority Critical patent/CN109130542B/en
Publication of CN109130542A publication Critical patent/CN109130542A/en
Application granted granted Critical
Publication of CN109130542B publication Critical patent/CN109130542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/0095Detecting means for copy material, e.g. for detecting or sensing presence of copy material or its leading or trailing end
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B1/00Machines for printing and issuing tickets
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B5/00Details of, or auxiliary devices for, ticket-issuing machines
    • G07B5/08Details of, or auxiliary devices for, ticket-issuing machines for avoiding incorrect action of the machine
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C15/00Generating random numbers; Lottery apparatus
    • G07C15/006Generating random numbers; Lottery apparatus electronically
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/42Coin-freed apparatus for hiring articles; Coin-freed facilities or services for ticket printing or like apparatus, e.g. apparatus for dispensing of printed paper tickets or payment cards
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/02Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
    • G07F9/026Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus for alarm, monitoring and auditing in vending machines or means for indication, e.g. when empty

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention is suitable for the technical field of printing, and provides a method and a device for detecting the printing state of a bill through a black mark sensor, and terminal equipment, wherein the method comprises the following steps: acquiring a first ticket drawing time from a first black mark to a second black mark through a black mark sensor; acquiring second ticket drawing time according to the length of the ticket between the first black mark and the second black mark and the speed of the stepping motor; calculating a time error value according to the first ticket drawing time and the second ticket drawing time; and judging whether the printing state is normal or not according to the time error value. According to the invention, an additional device is not required to be installed, and the black mark sensor carried by the printer is utilized, so that when a problem in printing is found, the printing is immediately stopped and background personnel are informed, and the generation of waste tickets and resource waste is avoided.

Description

Method and device for detecting printing state of bill through black mark sensor
Technical Field
The invention belongs to the technical field of printing, and particularly relates to a method and a device for detecting a printing state of a bill through a black mark sensor, and terminal equipment.
Background
In the existing bill printer, a device for detecting the printing effect is not generally configured, for example, a self-service bill taking device such as a lottery self-service printer, a train ticket taking machine and the like, in the printing process, if a problem occurs in the printing device, the problems of font compression, blurring, deformation and the like on the printed bill can be caused, so that the bill is invalidated, and especially when a large number of bills are continuously printed, all bills from a certain bill to the next can be invalidated. For value documents, this can result in the production of waste documents, with considerable losses. On the other hand, the device configured to detect the printing effect is also usually implemented by installing an additional device, and the installation of the additional device requires a greater cost, and after a printing problem occurs, a worker needs to be notified by manpower to suspend the mechanical work, which results in waste of human resources.
In order to solve the problem that the printing state of the lottery ticket is lost due to the fact that the existing printing equipment still continues to work when the existing printing equipment is in a problem, the invention provides a method for detecting the printing state of the lottery ticket through a black mark sensor, whether the printing is in a problem or not can be found by using the black mark sensor of the printer without installing an additional device, and the waste ticket and the resource waste are avoided.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for detecting a printing state of a ticket by using a black mark sensor, and a terminal device, so as to solve the technical problem in the prior art that a cost is high due to the need of installing an additional hardware device for detecting a printing effect.
The first aspect of the embodiment of the invention provides a method for detecting a bill printing state through a black mark sensor, which comprises the following steps:
acquiring a first ticket drawing time from a first black mark to a second black mark through a black mark sensor;
acquiring second ticket drawing time according to the length of the ticket between the first black mark and the second black mark and the speed of the stepping motor;
calculating a time error value according to the first ticket drawing time and the second ticket drawing time;
and judging whether the printing state is normal or not according to the time error value.
Further, the acquiring, by the black mark sensor, the first drawing time from the first black mark to the second black mark includes: the time interval from the sensing of a first black mark to the sensing of a second black mark adjacent to the first black mark is a first ticket drawing time through a black mark sensor. .
Further, the obtaining the second ticket outlet time through the ticket length between the first black mark and the second black mark and the speed of the stepping motor comprises: and obtaining the second ticket drawing time by dividing the ticket length between the first black mark and the second black mark by the speed of the stepping motor.
Further, the calculating a time error value according to the first ticket outlet time and the second ticket outlet time comprises: and the time error value is the first ticket paper time and the second ticket drawing time.
Further, the determining whether the printing state is normal according to the time error value includes: if the time error value is within the preset error range, judging that the printing state is normal; and if the time error value is larger than the preset error range, judging that the printing state is abnormal.
A second aspect of the embodiments of the present invention provides an apparatus for detecting a printing state of a ticket by a black mark sensor, including:
the first timing module is used for acquiring first ticket drawing time from a first black mark to a second black mark through a black mark sensor;
the second timing module is used for acquiring second ticket drawing time according to the length of the ticket between the first black mark and the second black mark and the speed of the stepping motor;
the error calculation module is used for calculating a time error value according to the first ticket drawing time and the second ticket drawing time;
and the error judgment module is used for judging whether the printing state is normal or not according to the time error value.
Further, the error calculation module is specifically configured to: and calculating the time error value by adopting a formula of second ticket drawing time-first ticket drawing time.
Further, the error determination module is specifically configured to: if the time error value is within the preset error range, judging that the printing state is normal; and if the time error value is out of the preset error range, judging that the printing state is abnormal.
A third aspect of an embodiment of the present invention provides a terminal device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor, when executing the computer program, realizes the steps of the method according to the first aspect.
A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program. Which when executed by a processor implements the steps of the method according to the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
need not install extra device, utilize the black mark sensor of printer self-band just can discover to print whether the problem appears, immediately stop printing and inform backstage personnel when the problem appears in the discovery printing, avoid producing useless ticket and wasting of resources.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions 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 it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a method for detecting a printing state of a bill through a black mark sensor according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an apparatus for detecting the printing state of a bill by a black mark sensor according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another apparatus for detecting the printing status of a bill by a black mark sensor according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
In the embodiment of the invention, a dot matrix printer is taken as an example for explanation, the dot matrix printer is commonly used for printing lottery tickets and train tickets, the printer is provided with a black mark sensor, many tickets are printed with black marks at present, and the black mark sensor is used for sensing the black marks on paper. The black mark sensor is connected with a single chip microcomputer in the printer, and the single chip microcomputer acquires time data when the black mark sensor senses black marks on the bill. It will be understood by those skilled in the art that the present invention has been described by way of example only, and not by way of limitation.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an implementation of a method for detecting a printing state of a ticket through a black mark sensor according to an embodiment of the present invention. The method is suitable for the condition that the printing state of the bill printer needs to be detected, and is executed by a device for detecting the printing state of the bill through a black mark sensor, and the device can be integrated in the bill printer. As shown in fig. 1, the method includes;
step S101, a first ticket drawing time from a first black mark to a second black mark is obtained through a black mark sensor.
The black mark is usually printed on the surface of a ticket such as a lottery ticket or a train ticket, the black mark sensor senses the black mark on the surface of the ticket, and the time interval from the sensing of the first black mark by the black mark sensor to the sensing of the second black mark is the first ticket outlet time.
In the embodiment of the invention, when the first black mark and the second black mark are two adjacent black marks, a complete lottery ticket is formed between the first black mark and the second black mark. The single chip microcomputer obtains accurate time when the black mark sensor senses each black mark, and the time can be used as actual time for drawing a ticket.
Optionally, the selected first black mark and the second black mark may not be adjacent to each other, and the embodiment of the present invention selects the adjacent first black mark and the adjacent second black mark to find a problem in time when the printing state is abnormal, so as to avoid more waste of printing paper. It will be appreciated by persons skilled in the art that the present invention has been described by way of example only, and is not intended to limit the practice of the invention.
And S102, acquiring second ticket drawing time according to the ticket length between the first black mark and the second black mark and the speed of the stepping motor.
If the first black mark and the second black mark are two adjacent black marks, the distance between the first black mark and the second black mark is the length of a complete bill, and the distance between every 2 adjacent black marks is the same and fixed. The dot matrix printer is driven by the stepping motor to print, and the speed of the stepping motor is constant and is a known quantity. The second ticket drawing time may be obtained by dividing the distance between the first black mark and the second black mark by the speed of the stepping motor. The second ticket issuing time is a theoretical time because the stepping motor may be affected due to factors such as the internal and external environments of the printer.
And step S103, calculating a time error value according to the first ticket drawing time and the second ticket drawing time.
In the first two steps, theoretical ticket drawing time and actual ticket drawing time, namely second ticket drawing time and first ticket drawing time are obtained, and a time error value is calculated by adopting a formula of 'time error value being first ticket drawing time-second ticket drawing time'. When a lottery ticket is printed, the calculation is carried out once, and the problem is found in time when the printing state is abnormal, so that more printing paper is avoided being wasted, and the printing accuracy is ensured.
And step S104, judging whether the printing state is normal or not according to the time error value.
In the invention, the error range of each font is obtained in advance through experiments, and the corresponding relation between the font and the preset error range is written into the singlechip. When the printer prints a certain font, a preset error range corresponding to the current printing font is called. If the obtained distance error value is within the corresponding preset error range, judging that the printing state is normal; and if the obtained distance error value is out of the corresponding preset error range, judging that the printing state is abnormal, and controlling an alarm device of the printer to give an alarm and stop printing. The error range in the present invention is the time for printing a line of the printed font, for example, the dot height of the printed font is 18, each dot height is 0.125mm, 18 × 0.125mm is 2.250mm, and assuming that the speed of the stepping motor of the printer is v (in mm/s), the error range of the font is-2.250/v ≦ x ≦ 2.250/v.
The method for detecting the printing state of the bill through the black mark sensor in the embodiment can timely find whether the printing state of the printer is normal or not, the printer is not required to be modified, various fonts can be supported, the machine can be stopped timely to prevent more loss, and the printing state detection and mechanical shutdown can be realized without the need of personnel to take care of the printer.
Fig. 2 is a schematic diagram of an apparatus for detecting a printing state of a bill by a black mark sensor according to an embodiment of the present invention, and reference is made to the foregoing method embodiment where details are not described in this embodiment. As shown in fig. 2, the apparatus for detecting the printing state of the bill by the black mark sensor includes: a first timing module 201, a second timing module 202, an error calculation module 203, and an error determination module 204.
The first timing module 201 is configured to acquire a first ticket drawing time from a first black mark to a second black mark through a black mark sensor.
And the second timing module 202 is used for acquiring a second ticket drawing time through the ticket length between the first black mark and the second black mark and the speed of the stepping motor.
And the error calculation module 203 is used for calculating a time error value according to the first ticket drawing time and the second ticket drawing time.
And the error judgment module 204 is configured to judge whether the printing state is normal according to the time error value.
On the basis of the above technical solution, refer to another schematic structural diagram of an apparatus for detecting a printing state of a bill through a black mark sensor shown in fig. 3, and refer to the previous embodiment of the method where details are not described in this embodiment. This detect device of bill printing state through black mark sensor includes: a first timing module 301, a second timing module 302, an error calculation module 303, an error determination module 304 and a control device 305.
The first timing module 301 is configured to acquire a first ticket drawing time from a first black mark to a second black mark through a black mark sensor.
And the second timing module 302 is used for acquiring a second ticket drawing time according to the ticket length between the first black mark and the second black mark and the speed of the stepping motor.
And the error calculation module 303 is configured to calculate a time error value according to the first ticket drawing time and the second ticket drawing time.
And an error determining module 304, configured to determine whether the printing state is normal according to the time error value.
And the control module 305 is used for controlling the alarm device to send out an alarm signal when the printing state is judged to be abnormal.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 4 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 4, the terminal device 4 of this embodiment includes: a processor 40, a memory 31 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in the various method embodiments described above, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules in the device embodiments, such as the functions of the modules 201 to 204 shown in fig. 2.
Illustratively, the computer program 42 may be partitioned into one or more modules that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the terminal device 4.
The terminal device 4 may be a printer. The terminal device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a terminal device 4 and does not constitute a limitation of terminal device 4 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. The memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used for storing the computer program and other programs and data required by the terminal device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for detecting the printing state of a bill through a black mark sensor is characterized by comprising the following steps:
acquiring a first ticket drawing time from a first black mark to a second black mark through a black mark sensor; acquiring second ticket drawing time according to the length of the ticket between the first black mark and the second black mark and the speed of the stepping motor;
calculating a time error value according to the first ticket drawing time and the second ticket drawing time;
judging whether the printing state is normal or not according to the time error value; each font has different error ranges, the corresponding relation between the font and the preset error range is written into the single chip microcomputer in advance, and when the printer prints the font, the preset error range corresponding to the current printed font is called.
2. The method of claim 1, wherein the obtaining a first time to draw a ticket from a first black mark to a second black mark via a black mark sensor comprises: the time interval from the sensing of a first black mark to the sensing of a second black mark adjacent to the first black mark is a first ticket drawing time through a black mark sensor.
3. The method of claim 1, wherein said obtaining a second ticket time via the length of the ticket between the first black mark and the second black mark and the speed of the stepper motor comprises: and obtaining the second ticket drawing time by dividing the ticket length between the first black mark and the second black mark by the speed of the stepping motor.
4. The method of claim 1, wherein calculating a time error value based on the first and second ticket times comprises: and the time error value is the first ticket paper time and the second ticket drawing time.
5. The method for detecting the printing status of the lottery ticket by the black mark sensor as claimed in claim 1, wherein the determining whether the printing status is normal according to the time error value comprises:
if the time error value is within the preset error range, judging that the printing state is normal; and if the time error value is out of the preset error range, judging that the printing state is abnormal.
6. An apparatus for detecting a printing state of a bill by a black mark sensor, comprising:
the first timing module is used for acquiring first ticket drawing time from a first black mark to a second black mark through a black mark sensor;
the second timing module is used for acquiring second ticket drawing time according to the length of the ticket between the first black mark and the second black mark and the speed of the stepping motor;
the error calculation module is used for calculating a time error value according to the first ticket drawing time and the second ticket drawing time;
the error judgment module judges whether the printing state is normal or not according to the time error value; each font has different error ranges, the corresponding relation between the font and the preset error range is written into the single chip microcomputer in advance, and when the printer prints the font, the preset error range corresponding to the current printed font is called.
7. The apparatus of claim 6, wherein the error calculation module is specifically configured to: and calculating the time error value by adopting a formula of second ticket drawing time-first ticket drawing time.
8. The apparatus of claim 6, wherein the error determination module is specifically configured to: if the time error value is within the preset error range, judging that the printing state is normal; and if the time error value is out of the preset error range, judging that the printing state is abnormal.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in 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.
CN201711238023.6A 2017-11-30 2017-11-30 Method and device for detecting printing state of bill through black mark sensor Active CN109130542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711238023.6A CN109130542B (en) 2017-11-30 2017-11-30 Method and device for detecting printing state of bill through black mark sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711238023.6A CN109130542B (en) 2017-11-30 2017-11-30 Method and device for detecting printing state of bill through black mark sensor

Publications (2)

Publication Number Publication Date
CN109130542A CN109130542A (en) 2019-01-04
CN109130542B true CN109130542B (en) 2020-09-11

Family

ID=64803738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711238023.6A Active CN109130542B (en) 2017-11-30 2017-11-30 Method and device for detecting printing state of bill through black mark sensor

Country Status (1)

Country Link
CN (1) CN109130542B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110202962B (en) * 2019-06-25 2021-06-18 深圳弘博智能数码设备有限公司 Front-back registration detection method for digital printing machine
CN112229328A (en) * 2020-11-18 2021-01-15 上海商米科技集团股份有限公司 Paper black mark position detection device and paper black mark position detection method
CN115302959B (en) * 2022-08-05 2024-03-08 上海商米科技集团股份有限公司 Black label printing method and printer based on multiple sensors
CN118386693B (en) * 2024-06-21 2024-08-16 珠海芯烨电子科技有限公司 Double black mark detection method, terminal equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0243081A (en) * 1988-08-03 1990-02-13 Nec Home Electron Ltd Color ink ribbon cueing method
JPH06144638A (en) * 1992-11-04 1994-05-24 Shinko Electric Co Ltd Sheet length detecting method in color printer
CN101324975A (en) * 2007-06-15 2008-12-17 阿克西姆公司 Method for delivering a printed ticket
CN101823581A (en) * 2010-04-30 2010-09-08 苏州博砚机电设备有限公司 Label feeding and backing paper recovery mechanism of full-automatic adhesive labeling machine
CN203306320U (en) * 2013-05-17 2013-11-27 苏州弘邦资通物贸有限公司 Label peeling device and labeling machine comprising same
CN103569700A (en) * 2012-08-03 2014-02-12 兄弟工业株式会社 Sheet conveyer device and image forming apparatus
CN107187058A (en) * 2017-06-08 2017-09-22 东莞远铸智能科技有限公司 3D printing closed loop control method, device, 3D printer and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0243081A (en) * 1988-08-03 1990-02-13 Nec Home Electron Ltd Color ink ribbon cueing method
JPH06144638A (en) * 1992-11-04 1994-05-24 Shinko Electric Co Ltd Sheet length detecting method in color printer
CN101324975A (en) * 2007-06-15 2008-12-17 阿克西姆公司 Method for delivering a printed ticket
CN101823581A (en) * 2010-04-30 2010-09-08 苏州博砚机电设备有限公司 Label feeding and backing paper recovery mechanism of full-automatic adhesive labeling machine
CN103569700A (en) * 2012-08-03 2014-02-12 兄弟工业株式会社 Sheet conveyer device and image forming apparatus
CN203306320U (en) * 2013-05-17 2013-11-27 苏州弘邦资通物贸有限公司 Label peeling device and labeling machine comprising same
CN107187058A (en) * 2017-06-08 2017-09-22 东莞远铸智能科技有限公司 3D printing closed loop control method, device, 3D printer and storage medium

Also Published As

Publication number Publication date
CN109130542A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109130542B (en) Method and device for detecting printing state of bill through black mark sensor
CN110097776B (en) Parking space detection method, monitoring camera and monitoring terminal
CN104268049B (en) Method, device and terminal for judging storage device abnormity
JP2009246970A5 (en)
CN111259890A (en) Water level identification method, device and equipment of water level gauge
CN1925987A (en) Printer
CN103514092A (en) Method for automatic testing of software system of ATM
CN101848305B (en) Image processing device and image forming device
CN111516397A (en) Label paper identification method, device, equipment and readable storage medium
CN114550415A (en) Vehicle-road-cooperation-based large-scale vehicle lane-level accurate control method and system
CN112132016A (en) Bill information extraction method and device and electronic equipment
JP2012240230A (en) Printing apparatus, printing method, printing system, and program
CN107909747B (en) Method and device for acquiring paper money information and terminal equipment
CN113630594B (en) Bad point detection system of display panel
CN113766312A (en) Method, device, equipment and storage medium for calculating response delay between equipment
CN112463081A (en) Digital printing evaluation system and method
CN109130529B (en) Bill printing state detection method and device and bill printer
CN117092117A (en) System and method for detecting pre-press state of paper of printer
KR101074278B1 (en) Apparatus for inspecting RFID Tag and method for thereof
CN211827293U (en) Tool with display device
US20100278544A1 (en) System and method for ensuring that only a specific toner is used for printing a document
CN107958535B (en) Method and device for acquiring paper money information and terminal equipment
CN109767544A (en) The image analysis method and image analysis system of marketable securities
CN107680245B (en) paper money image processing method, paper money image processing device and electronic equipment
CN104408818A (en) Currency counter testing 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
GR01 Patent grant
GR01 Patent grant