CN109367249B - Lottery printing terminal - Google Patents

Lottery printing terminal Download PDF

Info

Publication number
CN109367249B
CN109367249B CN201811090399.1A CN201811090399A CN109367249B CN 109367249 B CN109367249 B CN 109367249B CN 201811090399 A CN201811090399 A CN 201811090399A CN 109367249 B CN109367249 B CN 109367249B
Authority
CN
China
Prior art keywords
printing
paper
flip
lottery
resistor
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
CN201811090399.1A
Other languages
Chinese (zh)
Other versions
CN109367249A (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 CN201811090399.1A priority Critical patent/CN109367249B/en
Publication of CN109367249A publication Critical patent/CN109367249A/en
Application granted granted Critical
Publication of CN109367249B publication Critical patent/CN109367249B/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
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/36Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for portability, i.e. hand-held printers or laptop printers
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The invention relates to the technical field of printers, and provides a lottery ticket printing terminal which comprises a printing control board, wherein the printing control board comprises a control module and a storage module connected with the control module, and the printing control board also comprises a power failure detection module; the power-down detection module generates a trigger signal when the power supply is powered down; the control module writes the printing state into the storage module according to the triggering signal and the residual electric quantity of the energy storage module on the printing control panel, so that when the lottery printing terminal is started next time, the upper computer executes corresponding operation according to the printing state read from the storage module by the control module; when the power supply is powered down, the control module can write the printing state into the storage module according to the trigger signal generated by the power-down detection module and the residual electric quantity of the energy storage module on the printing control panel, so that an external UPS is not required to be equipped or a customized power supply with the UPS function is not required, the design is simplified, and the cost is reduced.

Description

Lottery printing terminal
Technical Field
The invention relates to the technical field of printers, in particular to a lottery printing terminal.
Background
Lottery tickets are increasingly becoming an important way for the national raising of social public funds, sponsoring of sports, welfare, education and other social public utility developments. The public welfare fund raised by issuing the welfare lottery is mainly used for supporting the social welfare enterprises and other public welfare enterprises of the old, the disabled, the orphan, the poverty-stricken people and the like. The lottery terminal is used as a client of the lottery industry and plays an irreplaceable role in the development of lottery enterprises. The lottery terminal is used as terminal equipment of a lottery sales system and is directly responsible for data acquisition of a large number of cash transactions of lottery purchased by the lottery players. Currently, there are mainly self-service lottery machines, stationary table type large lottery machines, and portable lottery terminals. Portable lottery terminals are widely used because of their convenience in use, convenience in movement, and the like.
Generally, in order to ensure the safety of the sales process, an external uninterruptible power supply (Uninterruptible Power System, UPS) is required or a customized power supply with UPS function is required to be used to realize the power-down protection function, which is complex in design and high in cost.
Disclosure of Invention
The invention aims to provide a lottery printing terminal, which aims to solve the technical problems of complex design and higher cost caused by the fact that an external UPS is arranged or a customized power supply with a UPS function is used in a portable lottery terminal in the prior art.
In order to achieve the above purpose, the invention adopts the following technical scheme: a lottery ticket printing terminal, includes the printing control board, the printing control board includes control module and connects storage module with it, the printing control board still includes:
the power failure detection module is connected with the control module and used for generating a trigger signal when the power supply fails;
the control module is used for writing the printing state into the storage module according to the triggering signal and the residual electric quantity of the energy storage module on the printing control board, so that when the lottery printing terminal is started next time, the upper computer executes corresponding operation according to the printing state read from the storage module by the control module.
Specifically, the power failure detection module comprises a comparator, a first capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor;
the power supply end of the comparator, the first end of the first resistor, the first end of the third resistor and the first end of the fifth resistor are commonly connected to a first power supply, the non-inverting input end of the comparator is connected with the second end of the third resistor and the first end of the fourth resistor, the inverting input end of the comparator is connected with the second end of the first resistor, the first end of the first capacitor and the first end of the second resistor, the output end of the comparator and the second end of the fifth resistor commonly form the output end of the power failure detection module, and the grounding end of the comparator, the second end of the fourth resistor, the second end of the first capacitor and the second end of the second resistor are commonly connected to the power supply ground.
Further, the control module is further used for receiving bitmap data sent by the upper computer so that the lottery printing terminal prints according to the bitmap data; the bitmap data is image data generated by the upper computer according to the printing characters.
Further, the control module is further configured to send printer authentication information to enable the upper computer to perform authentication according to the printer authentication information and feed back a first authentication result and the upper computer authentication information, perform authentication according to the upper computer authentication information and generate a second authentication result, and enable the lottery printing terminal to enter a working state according to the first authentication result and the second authentication result.
Further, still include drain pan and printer subassembly, the drain pan includes the shell body and locates in the shell body and be used for the holding to print the paper storehouse inside lining of stock form, be equipped with in the paper storehouse inside lining and be used for detecting the detection module that prints the stock form, the printer subassembly include the printer body with print the control panel electric connection just all locates in the shell body, the detection module with print control panel electric connection, and, the detection module will detect the signal feedback extremely print the control panel, print the control panel according to the detection signal control the printer body stops printing the work and prompts the user to renew and print the stock form.
Specifically, the paper bin lining is also provided with two paper feeding roller bodies, each paper feeding roller body is pivoted in the paper bin lining relatively along the axial direction of the printing roll paper, the printing roll paper is arranged on two paper feeding roller bodies, and the detection module is arranged between the two paper feeding roller bodies and is positioned below the printing roll paper.
Further, the lottery printing terminal further comprises an auxiliary paper outlet device and a flip cover assembly, the flip cover assembly is pivoted to the outer shell and can rotate and open relative to the outer shell, the auxiliary paper outlet device comprises a driving roller assembly and a driven roller assembly, the driving roller assembly is arranged on the printer body, the driven roller assembly is arranged on the flip cover assembly and abuts against the driving roller assembly when the flip cover assembly is closed relative to the bottom shell, and the printing roll paper is pushed out through the driving roller assembly and the driven roller assembly after being printed by the printer body.
Specifically, the driving roller assembly comprises a driving roller body, a first support, a driving device, a paper outlet sensor and a paper outlet control board, wherein the first support is installed on the printer body, the driving roller body is pivoted on the first support and driven by the driving device to rotate around an axis, the paper outlet sensor is arranged on the first support and located below the driving roller body, and the paper outlet sensor and the driving device are electrically connected with the paper outlet control board.
Specifically, the driven roller assembly comprises a driven roller body and a second support, the second support is arranged on the flip assembly, a pivot hole is formed in the second support, and two ends of the driven roller body are pivoted in the corresponding pivot hole and are abutted against the driving roller body.
Further, the lottery ticket printing terminal also comprises a roll paper shaping device, the roll paper shaping device comprises a shaping component and a shaping scraping piece, the shaping component is mounted on one side of the flip component, which faces the outer shell, the shaping scraping piece is transversely arranged on the outer shell and located between the printer body and the printing roll paper, the shaping component comprises a supporting arm and a buffer arm, the supporting arm and the buffer arm are arranged back and forth along the paper outlet direction of the printing roll paper, an included angle is formed between the supporting arm and the buffer arm, the flip rents the roll paper covers the outer shell and is arranged on two opposite sides of the shaping scraping piece, and the printing roll paper sequentially slides on the supporting arm, winds on the shaping scraping piece, slides on the buffer arm and is arranged in the printing zone of the printer component along the paper outlet direction when the flip rents the roll paper covers the outer shell.
Specifically, the shaping assembly comprises a fixed substrate, the fixed substrate is mounted on one side of the flip assembly, which faces the outer shell, one side of the fixed substrate extends outwards to form the supporting arm, the supporting arm and the buffer arm are located on the same side of the fixed substrate, and one end of the buffer arm is pivoted on the fixed substrate and can rotate around a pivot point to be close to the supporting arm or far away from the supporting arm.
Further, the shaping assembly further comprises a plurality of paper pressing elastic piece pieces, a plurality of first arrangement grooves which are arranged side by side are formed in the supporting arm, mounting holes are formed in the bottoms of the first arrangement grooves, and each paper pressing elastic piece is arranged in the corresponding first arrangement groove and passes through the mounting holes to abut against the shaping scraping piece.
Specifically, the first flip of flip subassembly, second flip and flip support, first flip wear the cover in the second flip outside and the pin joint in on the shell body, the second flip pin joint in the first flip just can be relative first flip is around pivoting point rotation, flip support locates first flip orientation drain pan one side, fixed baseplate installs in flip support.
Further, the flip cover assembly further comprises a paper outlet guide plate, the first flip cover is sunken towards the bottom shell to form a ticket collecting bin, the paper outlet guide plate is arranged on the first flip cover and extends to the upper side of the ticket collecting bin, and the paper outlet guide plate corresponds to a paper outlet gap between the driving roller body and the rolling of the driven roller body.
The invention has the beneficial effects that: the lottery ticket printing terminal comprises a printing control board, wherein the printing control board comprises a control module and a storage module connected with the control module, and the printing control board further comprises a power failure detection module; the power-down detection module generates a trigger signal when the power supply is powered down; the control module writes the printing state into the storage module according to the triggering signal and the residual electric quantity of the energy storage module on the printing control panel, so that when the lottery printing terminal is started next time, the upper computer executes corresponding operation according to the printing state read from the storage module by the control module. When the power supply is powered down, the control module can write the printing state into the storage module according to the triggering signal generated by the power failure detection module and the residual electric quantity of the energy storage module on the printing control panel, so that an external UPS is not required to be equipped or a customized power supply with the UPS function is not required to be used, the design is simplified, and the cost is reduced. In addition, by directly receiving and printing bitmap data, when data transmission errors caused by continuous interference occur, messy code images and texts which are very easy to identify appear on the ticket surface, so that the random code images and texts are easier to find by sales personnel, and the printing reliability is improved. Meanwhile, through bidirectional verification between the lottery printing terminal and the upper computer, the security of the system is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of a lottery printing terminal according to an embodiment of the present invention;
fig. 2 is an exemplary circuit diagram of a power-down detection module of a lottery printing terminal according to an embodiment of the present invention;
fig. 3 is a cross-sectional view of a lottery printing terminal according to an embodiment of the invention;
FIG. 4 is an enlarged view of FIG. 3 at A;
FIG. 5 is an enlarged view at B in FIG. 3;
fig. 6 is a schematic structural diagram of a lottery printing terminal in an open state according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a lottery printing terminal in an encapsulated state according to an embodiment of the present invention;
fig. 8 is an exploded view of a lottery printing terminal according to an embodiment of the present invention;
fig. 9 is another exploded view of a lottery printing terminal according to an embodiment of the present invention;
fig. 10 is an enlarged view of fig. 9 at C;
FIG. 11 is an exploded view of a flip cover assembly and a paper bin liner of a lottery printing terminal provided in an embodiment of the invention;
fig. 12 is a schematic structural view of a driven roller assembly of a lottery printing terminal according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a roll paper shaping device of a lottery printing terminal according to an embodiment of the invention;
fig. 14 is an enlarged view of D in fig. 13.
Wherein, each reference sign in the figure:
100-bottom case 200-printer assembly 101-outer case
102-paper bin lining 300-detection module 201-printer body
202-printing control board 203-fixing frame 103-paper feeding roller body
400-auxiliary paper-out device 500-flip cover assembly 401-driving roller assembly
402-driven roller assembly 403-driving roller body 404-first bracket
405-drive 406-paper output sensor 407-paper output control board
408-motor 409-gear drive shaft 410-conveyor belt
411-spindle 412-first gear 413-second gear
414-mounting seat 415-protective cover 416-driven roller body
417-second bracket 418-pivot 419-resilient member
420-positioning column 421-driving shaft 422-driving roller
423-driven shaft 424-driven roller 600-roll paper shaping device
601-shaping assembly 602-shaping blade 603-support arm
604-buffer arm 104-transition roller 605-fixed substrate
606-first roller 607-second roller 608-buffer spring
609-fixing column 610-pressing elastic piece 611-first setting groove
612-mounting hole 613-second seating groove 614-tension spring
615-spring piece body 616-pin joint ear 617-transition piece body
618-connecting sheet 619-substrate body 620-wiper
621-fixing portion 622-first contact cambered surface 623-second contact cambered surface
501-first flip 502-second flip 503-flip holder
504-paper-out guide plate 505-ticket collecting bin 506-guide cambered surface
507-upper cover 508-supporting block 509-pre-ticket outlet
510-functional slot 700-print web 701-lottery ticket
624-support plate.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
In the description of the present invention, it should be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present invention and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
Referring to fig. 1, the lottery printing terminal provided by the embodiment of the invention comprises a printing control board, wherein the printing control board comprises a control module 01 and a storage module 02 connected with the control module, and the printing control board further comprises a power failure detection module 03.
The power-down detection module 03 is connected with the control module 01 and is used for generating a trigger signal when the power supply is powered down; the control module 01 is used for writing the printing state into the storage module 02 according to the triggering signal and the residual electric quantity of the energy storage module on the printing control panel, so that when the lottery printing terminal is started next time, the upper computer executes corresponding operation according to the printing state read from the storage module 02 by the control module 01.
The energy storage module is connected with the control module 01, and the energy storage module can be a capacitor on the printing control board.
In the specific implementation, the printing state is the state at the moment before the power supply is powered off, and when the printing state is the current printing task execution completion, the upper computer sends the printing completion state information to the background server and marks the printing state as the completion state; when the printing state is that the current printing task is not executed, the upper computer cancels or cancels the printing task, or the printing task which is not executed is re-executed after the next starting.
As shown in fig. 2, the power failure detection module includes a comparator U1, a first capacitor C1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, and a fifth resistor R5.
The power supply end of the comparator U1, the first end of the first resistor R1, the first end of the third resistor R3 and the first end of the fifth resistor R5 are commonly connected to the first power supply VCC, the non-inverting input end of the comparator U1 is connected with the second end of the third resistor R3 and the first end of the fourth resistor R4, the inverting input end of the comparator U1 is connected with the second end of the first resistor R1, the first end of the first capacitor C1 and the first end of the second resistor R2, the output end of the comparator U1 and the second end of the fifth resistor R5 commonly form an output end of the power failure detection module, and the grounding end of the comparator U1, the second end of the fourth resistor R4, the second end of the first capacitor C1 and the second end of the second resistor R2 are commonly connected to the power supply ground.
When the first power supply VCC is powered down, the non-inverting input terminal of the comparator U1 transitions from a high level to a low level, and the inverting input terminal of the comparator U1 is still at a high level due to the energy storage effect of the first capacitor C1, so that the output terminal of the comparator U1 transitions from a high level to a low level, thereby generating a trigger signal.
In specific implementation, the control module is further used for receiving bitmap data sent by the upper computer, so that the lottery printing terminal prints according to the bitmap data; the bitmap data is image data generated by the upper computer according to the printing characters.
In the traditional printing process, a printer is required to carry a word stock, an upper computer issues printed words to be printed, and corresponding image-text data is generated by the printer through the word stock; in the invention, the upper computer issues the printing command and the bitmap data to be printed in the form of the data packet, and the data integrity is ensured by checking the data packet of the bitmap data.
Although the conventional printing mode can ensure no problem in the process under most conditions, under the external interference of static electricity and the like, problems still can occur, for example, character data transmitted by an upper computer is subjected to the static electricity interference, one byte of data error occurs, the error of character printing possibly occurs, such error means that the error of lottery number printing possibly occurs, and the error of the character is difficult to be found in the sales process; in addition, if continuous interference occurs, multiple character errors may occur in the lottery printing. Both of these situations are absolutely not allowed during the lottery sales process.
Printing is carried out by directly transmitting bitmap data, if single-byte errors occur, only one-dot errors occur in printing, and character recognition is not affected; if errors caused by continuous interference occur, the random code image and text which is reflected on the ticket surface is very easy to identify and is easily found by sales personnel, so that the stable reliability of printing is further enhanced.
In addition, in design, the printer does not need to carry a word stock, so that the difficulty of software and hardware development of the printer is reduced, and a large-capacity ROM and a complex instruction set are not needed, thereby reducing development cost and time.
In a specific implementation, the control module is further configured to send printer authentication information to enable the upper computer to perform authentication according to the printer authentication information and feed back a first authentication result and the upper computer authentication information, perform authentication according to the upper computer authentication information and generate a second authentication result, and enable the lottery printing terminal to enter a working state according to the first authentication result and the second authentication result. Through the bidirectional verification between the lottery printing terminal and the upper computer (lottery betting machine), the security of the system is improved.
In the two-way authentication process, the following two schemes can be applied:
scheme one:
1) The method comprises the steps that printer authentication information is written in a hardware ROM (read only memory) or a special chip (Dallas key and the like) of the lottery printing terminal, after communication connection is established between the printer authentication information and a handshake of an upper computer in an initialization process, the upper computer sends the printer authentication information to the upper computer, and judges whether the printer is legal equipment or not, if the upper computer does not return relevant response data (a first verification result) according to a specified format, the lottery printing terminal is judged not to be connected to authentication equipment (the upper computer), and a program stops working and alarms to a center.
2) The upper computer authentication information is added into the upper computer program, after communication connection is established between the upper computer program and the upper computer handshake in the initialization process, the upper computer also sends the upper computer authentication information to the lottery printing terminal, and the lottery printing terminal judges whether the upper computer program is a legal program or not, if the upper computer program is legal, the lottery printing terminal performs initialization operation, and if the upper computer program is illegal, the lottery printing terminal cannot perform subsequent operation.
Scheme II: scheme using smart IC card chip (CPU card) and encryption algorithm
The upper computer and the lottery printing terminal can adopt one of a singlechip built-in encryption algorithm scheme, an integrated encryption chip scheme or an intelligent IC card encryption scheme, and the scheme adopts a CPU card scheme with higher security.
The CPU card has the safety functions of preventing illegal detection, illegal attack and tampering, encrypting bus, true random number generator, self-destruction of internal data after detecting illegal external attack, and the like, and the safety is far higher than that of the traditional hardware safety scheme.
1) The printer control board is provided with a CPU card safety module, and the lottery ticket betting machine is provided with a safety function module in the forms of inserting USBKey or internally arranging a CPU card encryption chip and the like.
2) The CPU card security module of the lottery printing terminal is configured with a public key of a lottery machine, a private key of a printer, an encryption and decryption algorithm function and security control parameters; in the USBKey or the built-in CPU card encryption chip of the lottery ticket betting machine, a printer public key, a lottery ticket private key, an encryption algorithm function and a security control parameter are configured.
3) The CPU card safety module communicates with the control module, the CPU card encryption chip or USBKey communicates with the lottery machine host, and a self-defined nonstandard communication protocol is adopted to improve the safety.
4) The CPU card safety module is provided with a random number generator which generates a required random number for the encryption algorithm.
5) The CPU card security module of the printer and a secret key configured in a USBKey of the lottery betting machine or a built-in CPU card encryption chip are generated in advance through an authentication center and written into the module, and are matched for issuing;
6) In the starting self-checking process, the main program of the lottery ticket machine calls the USBKey of the lottery ticket machine or an encryption algorithm function in an encryption chip of a built-in CPU card, the encryption algorithm function generates a random number by using a random number generator, calls a private key of the lottery ticket machine, calculates a ciphertext 1, and transmits the ciphertext 1 to a lottery printing terminal for verification; the lottery printing terminal calls a betting machine public key and a decryption algorithm to decrypt the ciphertext 1 so as to judge whether the main program is a legal program or not; if the program is legal, the lottery printing terminal performs initialization operation, and if the upper computer program is illegal, the lottery printing terminal cannot perform subsequent operation.
7) In the starting self-checking process, the lottery printing terminal calls an encryption algorithm function in the CPU card security module, the encryption algorithm function generates a random number by using a random number generator, and calls a printer private key to calculate a ciphertext 2, and the printer transmits the ciphertext 2 to the upper computer for verification; the lottery betting machine calls a printer public key and a decryption algorithm to decrypt the ciphertext 2 so as to judge whether the main program is a legal program or not; if the program is legal, the lottery printing terminal performs initialization operation, and if the upper computer program is illegal, the lottery printing terminal cannot perform subsequent operation.
During the lottery sales process, the lottery printing terminal and the upper computer (lottery betting machine) randomly perform mutual identity verification.
Referring to fig. 3, 6 and 8, the lottery printing terminal provided by the embodiment of the invention comprises a bottom shell 100 and a printer assembly 200, wherein the bottom shell 100 comprises an outer shell 101 and a paper bin liner 102 arranged in the outer shell 101 and used for accommodating printing roll paper 700. The paper bin liner 102 is internally provided with a detection module 300 for detecting the printing roll paper 700, the printer assembly 200 comprises a printer body 201 and a printing control board 202, and the printer body 201 is electrically connected with the printing control board 202 and is arranged in the outer shell 101. The detection module 300 is electrically connected with the print control board 202, and the detection module 300 feeds back a detection signal to the print control board 202, and the print control board 202 controls the printer body 201 to stop printing according to the detection signal and prompts the user to replace the new print roll paper 700.
When the detection module 300 is an angular velocity sensor, the print control board 202 calculates the actual thickness of the roll paper 700 according to the detection signal, and if the actual thickness of the roll paper 700 is smaller than a preset value, the print control board 202 controls the printer body 201 to stop printing and prompts the user to update the roll paper 700.
When the detection module 300 is a photoelectric sensor, the print control board 202 determines whether the roll paper 700 has run out according to the detection signal, and if it is determined that the roll paper 700 has run out, the print control board 202 controls the printer body 201 to stop the printing work and prompts the user to replace the roll paper 700 with a new one.
In general, a roll paper is installed in a portable lottery terminal as a sample paper of a lottery ticket, but the existing portable lottery terminal is known to be replaced with a new roll paper after the roll paper is used up, thus affecting printing efficiency.
Because the linear speed of the drawn-out printing paper is a fixed value, namely the printing speed of the printer body is a fixed value, the real-time thickness radius of the printing paper in the printing process can be obtained, if the real-time detected thickness radius of the printing paper is smaller than the preset value, the printing control board controls the printer body to stop working after printing the last lottery ticket, and prompts the user to replace the printing paper
The lottery printing terminal provided by the embodiment of the invention has the following working principle: the roll paper 700 is placed in the hopper liner 102, and is drawn out to be placed in the printing area of the printer body 201 in the paper discharge direction. When the printing operation is performed, the printing roll paper 700 rotates around the axis of the printing roll paper in the paper bin lining 102, so that the rotation angular velocity exists, the detection module 300 detects the angular velocity of the printing roll paper 700 in real time, and feeds back a measured angular velocity signal to the printing control board 202, according to the formula angular velocity x radius=linear velocity, since the linear velocity at which the printing roll paper 700 is drawn out is a fixed value, that is, the printing speed of the printer body 201 is a fixed value, the real-time thickness radius of the printing roll paper 700 in the printing process can be obtained, if the real-time detected thickness radius of the printing roll paper 700 is smaller than the preset value, the printing control board 202 controls the printer body 201 to stop working after printing the last lottery ticket 701, and prompts the user to replace the printing roll paper 700.
Referring to fig. 8 and 9, in the present embodiment, the printer assembly 200 further includes a fixing frame 203, the fixing frame 203 is U-shaped and is fixed in the outer housing 101, the printer body 201 is installed in the fixing frame 203, and the print control board 202 is disposed outside the bottom of the fixing frame 203. Here, the mounting stability of the printer body 201 is further improved by the holder 203.
Referring to fig. 3, in the present embodiment, the paper bin liner 102 is further provided with two paper feeding roller bodies 103, each paper feeding roller body 103 is pivoted in the paper bin liner 102 relatively along the axial direction of the printing paper roll 700, and when the printing work starts, the printing paper roll 700 is placed on the two paper feeding roller bodies 103 and rotates around the axis of the printing paper roll 700, so that the smoothness of the rotation of the printing paper roll 700 around the axis is ensured, and the requirement of high-speed printing is better met. The detection module 300 is disposed between the two paper feeding roller bodies 103 and below the printing roll paper 700, so that even if the thickness radius of the printing roll paper 700 gradually decreases along with the continuous advancing of the printing process, the detection module 300 can detect the angular velocity of the printing roll paper 700 in real time and feed back the detection signal to the printing control board 202.
Further, referring to fig. 3, 4 and 6, in the present embodiment, the lottery printing terminal further includes an auxiliary paper output device 400 and a flip cover assembly 500. The flip assembly 500 is pivoted to the outer housing 101 and can rotate to open and close relative to the outer housing 101, the auxiliary paper discharging device 400 comprises a driving roller assembly 401 and a driven roller assembly 402, the driving roller assembly 401 is arranged on the printer body 201, the driven roller assembly 402 is arranged on the flip assembly 500 and abuts against the driving roller assembly 401 when the flip assembly 500 is covered relative to the bottom housing 100, and the printing roll paper 700 is pushed out through the driving roller assembly 401 and the driven roller assembly 402 after being printed by the printer body 201. Thus, when the printer body 201 completes the printing operation, the driving roller assembly 401 and the driven roller assembly 402 act together to push out the printed bill, so that the problem that the printer body 201 is adhered to the printing roll paper 700 due to long-time non-use of ink, and the bill is easy to jam is avoided.
Specifically, referring to fig. 3, 4 and 9, in the present embodiment, the driving roller assembly 401 includes a driving roller body 403, a first bracket 404, a driving device 405, a paper output sensor 406 and a paper output control board 406. The first bracket 404 is mounted on the printer body 201, the driving roller 403 is pivotally connected to the first bracket 404, and the driving roller 403 is driven by the driving device 405 to rotate around its axis. The paper output sensor 406 is disposed on the first support 404 and is disposed below the active roller body 403, the paper output sensor 406 and the driving device 405 are both electrically connected with the paper output control board 406, that is, the printed lottery ticket 701 sequentially passes through the paper output sensor 406 and the active roller body 403, and when the lottery ticket 701 passes through the paper output sensor 406, the paper output sensor 406 is triggered to send a start signal to the paper output control board 406, the paper output control board 406 receiving the start signal starts the driving device 405 to work, and the driving device 405 drives the active roller body 403 to rotate around its axis so as to push out the lottery ticket 701.
Referring to fig. 9 and 10, in the present embodiment, the driving device 405 includes a motor 408, a gear transmission shaft 409, and a conveyor 410. The gear transmission shaft 409 is pivoted to the first bracket 404 and engaged with the driving roller 403, and the motor 408 drives the gear transmission shaft 409 to rotate around the shaft through the conveyor belt 410. The gear transmission shaft 409 includes a rotation shaft 411, a first gear 412, and a second gear 413, and the first gear 412 and the second gear 413 are fixed to both end sides of the rotation shaft 411, respectively. The first bracket 404 is provided with a mounting seat 414 for pivotally connecting the rotating shaft 411, and a protective cover 415 covering the mounting seat 414 to prevent the rotating shaft 411 from being separated. The conveyor belt 410 is sleeved on the first gear 412 to be meshed with the first gear, the second gear 413 is meshed with the driving roller 403, so that the motor 408 is meshed with the first gear 412 through the conveyor belt 410 to drive the second gear 413 to rotate around the axis of the rotating shaft 411, and the second gear 413 is meshed with the driving roller 403 to drive the driving roller 403 to rotate around the axis. Preferably, referring to the figure, in this embodiment, the motor 408 is mounted on a vertical plate of the mount 203. In this way, the belt 410 is used for a shorter length, which is advantageous for reducing the transmission stroke.
Specifically, referring to fig. 11 and 12, in the present embodiment, the driven roller assembly 402 includes a driven roller body 416 and a second bracket 417, the second bracket 417 is disposed on the flip assembly 500, the second bracket 417 is provided with a pivot hole 418, and two ends of the driven roller body 416 pivot in the corresponding pivot hole 418 and abut against the driving roller body 403. In this way, the printed ticket 701 can be ejected from between the driving roller 403 and the driven roller 416.
Preferably, referring to fig. 4 and 12, in the present embodiment, the driven roller assembly 402 further includes two elastic members 419, two positioning posts 420 are disposed on the second support 417, and the elastic members 419 are sleeved on the positioning posts 420 and push against the driven roller body 416 so that the driven roller body 416 abuts against the driving roller body 403. Here, the shape of the pivot hole 418 is elliptical, and the driven roller body 416 can move in the elliptical pivot hole 418 along the radial direction thereof under the action of the elastic member 419, so that the driven roller body 416 always abuts against the driving roller body 403, and the problem that the paper output of the lottery ticket 701 is unsmooth due to the overlarge paper output gap between the driven roller body 416 and the driving roller body 403 can be avoided.
Preferably, referring to fig. 9 and 12, in the present embodiment, the driving roller body 403 includes a driving shaft 421 and two driving rollers 422, the driving shaft 421 is disposed through the two driving rollers 422 and coaxially disposed with the two driving rollers 422, the diameter of the driving rollers 422 is larger than that of the driving shaft 421, the driven roller body 416 includes a driven shaft 423 and two driven rollers 424, the driven shaft 423 is disposed through the two driven rollers 424 and coaxially disposed with the two driven rollers 424, and the diameter of the driven roller 424 is larger than that of the driven shaft 423. When the flip assembly 500 pivots relative to the bottom case 100 and covers the bottom case 100, the two driven rollers 424 respectively abut against the corresponding driving rollers 422, i.e. the lottery ticket 701 is pushed out by the driving rollers 422 and the driven rollers 424. Because the contact surface between the driving roller 422 and the driven roller 424 is smaller, the friction force between the driving roller 422 and the driven roller 424 is larger under the action of the same propping pressure, so that the paper is discharged more smoothly. Of course, the number of driving rollers 422 may be increased or decreased on the driving shaft 421 or the number of driven rollers 424 may be increased or decreased on the driven shaft 423, as needed.
Further, referring to fig. 3, 5 and 6, in the present embodiment, the lottery printing terminal further includes a roll paper reshaping device 600. The roll paper reshaping device 600 includes a reshaping assembly 601 and a reshaping wiper member 602, the reshaping assembly 601 is mounted on the side of the flip assembly 500 facing the outer housing 101, and the reshaping wiper member 602 is laterally disposed on the outer housing 101 between the printer body 201 and the roll paper 700. The shaping assembly 601 includes a supporting arm 603 and a buffer arm 604 disposed in front and back of the paper discharging direction of the printing roll paper 700 (the arrow direction in the drawing is the paper discharging direction of the printing roll paper 700), the supporting arm 603 and the buffer arm 604 form an included angle, and are separately disposed on two opposite sides of the shaping wiper blade 602 when the flip assembly 500 is covered on the outer housing 101, and the printing roll paper 700 slides sequentially around the supporting arm 603, around the shaping wiper blade 602, around the buffer arm 604, and is disposed in the printing area of the printer body 201 along the paper discharging direction when the flip assembly 500 is covered on the outer housing 101. When the flip assembly 500 is pivoted about the pivot point relative to the outer housing 101, the roll paper 700 slides sequentially in the paper out direction about the support arm 603, about the sizing blade 602, and about the buffer arm 604. In this way, the drawn portion of the roll paper 700 is shaped straight in the opposite direction of the roll paper 700 after being wound by a plurality of winding points, which greatly reduces the probability of the roll paper 700 being jammed at the outlet and facilitates printing by the printer body 201.
Preferably, referring to fig. 3, a transition roller 104 is disposed on a side of the paper bin liner 102 near the supporting arm 603, that is, when printing starts, the roll paper 700 is wound on the transition roller 104 first, and then sequentially wound on the supporting arm 603, the shaping wiper 602 and the buffer arm 604, so that the roll paper 700 is prevented from directly contacting the inner wall of the paper bin liner 102, and the appearance of the roll paper 700 is prevented from being affected.
Specifically, referring to fig. 3, 5 and 13, in the present embodiment, the shaping assembly 601 includes a fixed substrate 605, the fixed substrate 605 is mounted on a side of the flip assembly 500 facing the outer shell 101, a side portion of the fixed substrate 605 extends outwards to form a supporting arm 603, the supporting arm 603 and the buffer arm 604 are located on the same side of the fixed substrate 605, that is, when the flip assembly 500 is covered on the outer shell 101, the supporting arm 603 and the buffer arm 604 are equivalent to two hands to straighten the printing roll paper 700 on the shaping blade 602 along the opposite direction of curling towards the printing roll paper 700, so as to achieve the effect of straightening and shaping. One end of the buffer arm 604 is pivoted to the fixed substrate 605, and the buffer arm 604 can rotate around the pivot point to be close to the support arm 603 or far away from the support arm 603, so that the tightness degree of the printing roll paper 700 in the process of straightening and shaping can be automatically adjusted through the buffer arm 604, and the phenomenon that the printing roll paper 700 is broken off due to sudden stop in the process of high-speed printing can be avoided, so that the buffer effect is achieved. For example, when the printer body 201 prints quickly, the printing paper 700 sliding around the buffer arm 604 drives the buffer arm 604 to move away from the support arm 603 around the pivot point, that is, the included angle between the buffer arm 604 and the support arm 603 increases; if printing is stopped, the buffer arm 604 continues to rotate a certain angle around the pivot point in a direction away from the support arm 603 under the action of inertia, so as to avoid the tension generated by sudden stop from breaking the printing paper 700 at the contact position with the buffer arm 604.
Referring to fig. 3 and 5, in the present embodiment, a plurality of first rollers 606 are pivotally connected to an end of the support arm 603 away from the fixing substrate 605, and each of the first rollers 606 is disposed on the support arm 603 side by side. When the flip assembly 500 is folded over the outer housing 101, the roll paper 700 is wound around each of the first rollers 606, thereby reducing frictional resistance and facilitating quick passage. Referring to fig. 3, a plurality of second rollers 607 are pivotally connected to an end of the buffer arm 604 away from the fixed substrate 605, and each of the second rollers 607 is disposed on the buffer arm 604 side by side. Similarly, when the flip cover assembly 500 is folded over the bottom housing 100, the roll paper 700 is wound around each second roller 607 with less friction resistance for quick passage.
Referring to fig. 5, in the present embodiment, the shaping assembly 601 further includes a plurality of buffer springs 608, the other side portion of the fixing substrate 605 extends toward the buffer arm 604 to form a supporting plate 624, a plurality of fixing columns 609 arranged side by side are disposed on the supporting plate 624, and each buffer spring 608 is sleeved on the corresponding fixing column 609 and abuts against the buffer arm 604. Thus, when printing is stopped, the buffer arms 604 are limited by the buffer springs 608 to be wound around the pivot points and away from the support arms 603, that is, excessive swinging of the buffer arms 604 around the pivot points is avoided, and the printing work of the next period is influenced.
Referring to fig. 5 and 13, in the present embodiment, the shaping assembly 601 further includes a plurality of paper pressing spring pieces 610, a plurality of first positioning slots 611 disposed side by side are formed on the supporting arm 603, mounting holes 612 are formed at the bottom of the first positioning slots 611, and each paper pressing spring piece 610 is disposed in the corresponding first positioning slot 611 and abuts against the shaping wiper piece 602 through the mounting hole 612. That is, when the roll paper 700 slides around the sizing blade 602, the platen spring 610 applies a force to the roll paper 700 against the sizing blade 602, and the curled roll paper 700 is further flattened by the combined action of the sizing blade 602 and the platen spring 610.
Referring to fig. 5 and 13, in the present embodiment, a plurality of second positioning grooves 613 are formed on the fixing substrate 605 and arranged side by side, each second positioning groove 613 is in one-to-one correspondence with each first positioning groove 611 and is in communication with each first positioning groove 611, the shaping assembly 601 further includes a plurality of tension springs 614, each tension spring 614 is disposed in the corresponding second positioning groove 613 and is connected to the fixing substrate 605, one end of each paper pressing elastic piece 610 is pivoted to the supporting arm 603 through a shaft rod, the other end of each paper pressing elastic piece 610 is connected to the corresponding tension spring 614, and each paper pressing elastic piece 610 can rotate around the axis of the shaft rod and is abutted against the shaping wiper 602. In this way, each of the spring members 610 is able to always abut against the trimming blade 602 around the shaft under the action of the tension spring 614. Here, the tension spring 614 has connecting hooks at both ends, one end is connected to the fixing base plate 605, and the other end is connected to the paper pressing elastic piece 610.
Referring to fig. 5 and 13, in the present embodiment, the paper pressing and ejecting piece 610 includes an elastic piece body 615, two pivoting lugs 616, a transition piece 617 and a connecting piece 618. The two pivot lugs 616, the transition piece 617 and the connecting piece 618 are located on the same side of the elastic piece body 615. The two pivoting lugs 616 are vertically connected to two opposite edge sides of the elastic plate body 615, one end of the elastic plate body 615 protrudes outwards to form a transition sheet body 617, an obtuse angle is formed between the transition sheet body 617 and the elastic plate body 615, one end of the transition sheet body 617 away from the elastic plate body 615 protrudes outwards to form a connecting sheet body 618, and an acute angle is formed between the connecting sheet body 618 and the transition sheet body 617 and is away from the pivoting lugs 616. The two pivoting lugs 616 are pivotally connected to the supporting arm 603 through a shaft, the connecting sheet 618 is connected to the tension spring 614, and the elastic sheet body 615 is disposed in the first positioning groove 611 and abuts against the shaping wiper 602 through the mounting hole 612. When the pivot lug 616 is pivoted to the support arm 603 via the shaft, the connecting sheet 618 is accommodated in the second accommodating groove 613 and is in the same horizontal plane with the pull ring, and the elastic sheet body 615 passes through the mounting hole 612, so that the elastic sheet body 615 and the shaping wiper 602 are always abutted against each other, and the occurrence of a paper passing gap is avoided.
Referring to fig. 5, 13 and 14, the plastic wiper 602 includes a base body 619 and a wiper body 620. The substrate body 619 is transversely arranged on the outer shell 101, a rim of the substrate body 619 is laterally turned over to form a wiper body 620 vertically connected with the substrate body 619, and the spring body 615 abuts against the wiper body 620. Preferably, the length of the blade body 620 is smaller than the length of the substrate body 619, so that fixing portions 621 are formed at both ends of the substrate body 619, the substrate body 619 is connected to the outer case 101 by screwing screws into the fixing portions 621, at the same time, a paper passing gap is formed between the fixing portions 621 for the printing roll paper 700 to pass through, and the blade body 620 formed after flanging is located in the middle of the substrate body 619, so that an included angle between the printing roll paper 700 located at both sides of the blade body 620 is smaller, and the flatness of the printing roll paper 700 after flanging is better. The end of the blade body 620 away from the substrate body 619 has a semicircular first contact arc surface 622, which increases the contact area with the roll paper 700, and prevents the roll paper 700 from being cut by the blade body 620. Furthermore, the other edge side of the substrate body 619 also has a second contact cambered surface 623 having a semicircular shape, and similarly, the roll paper 700 is prevented from being cut by the substrate body 619.
Referring to fig. 6, 7 and 11, in the present embodiment, the flip assembly 500 includes a first flip 501, a second flip 502 and a flip bracket 503. The first flip cover 501 is sleeved on the outer side of the second flip cover 502 and pivoted on the outer shell 101, and the second flip cover 502 is pivoted on the inner side of the first flip cover 501 and can rotate around a pivot point relative to the first flip cover 501, so that the first flip cover 501 and the second flip cover 502 can be opened or closed relative to the outer shell 101. The flip bracket 503 is disposed on one side of the first flip 501 facing the outer shell 101, the fixed substrate 605 is mounted on the flip bracket 503, where the flip bracket 503 has a mounting surface for mounting the fixed substrate 605, when the first flip 501 is covered on the outer shell 101, the mounting surface is parallel to the bottom surface of the outer shell 101, at this time, the fixed substrate 605 is parallel to the substrate body 619 of the shaping blade 602, the blade 620 extends into the space defined by the supporting arm 603 and the buffer arm 604, and the first contact cambered surface 622 of the blade 620 is higher than the position of the first roller 606 and the position of the second roller 607 in the vertical plane, thus, the purpose that the printing roll paper 700 is flattened on the first contact cambered surface 622 of the blade 620 is satisfied. The first flip 501 is U-shaped and includes two parallel first vertical plates and a first arc plate connected to the two first vertical plates, and the outer sides of the two first vertical plates are respectively pivoted to the two inner sides of the outer housing 101. The second flip 502 is also U-shaped, and includes two parallel second vertical plates and a second arc plate connected to the two second vertical plates, where the bending radian of the second arc plate is the same as that of the first arc plate, and the outer sides of the two second vertical plates are respectively pivoted to the two inner sides of the two first vertical plates. The two first vertical plates and the two second vertical plates are corresponding and sleeved with the outer sides of the two second vertical plates respectively, and the first arc-shaped plate and the second arc-shaped plate are corresponding and sleeved with the outer sides of the second arc-shaped plates. Thus, when the first folder 501 is opened with respect to the outer case 101, the second folder 502 can be received in the first folder 501 such that the first folder 501 is opened at a larger angle with respect to the outer case 101. When the cover is closed, the second flip 502 is exposed from the first flip 501, and a larger coverage area is obtained.
Referring to fig. 3, 7 and 11, in the present embodiment, the cover assembly 500 further includes a paper output guide plate 504, the first cover 501 is recessed toward the outer housing 101 to form a ticket collecting bin 505, the paper output guide plate 504 is disposed on the first cover 501 and extends to above the ticket collecting bin 505, and the paper output guide plate 504 corresponds to a paper output gap between the rolling rolls of the driving roll body 403 and the driven roll body 416. Thus, when the printed lottery ticket 701 is pushed out from the paper outlet gap, the lottery ticket 701 is firstly contacted with the paper outlet guide plate 504 and then falls into the ticket collecting bin 505 under the action of the paper outlet guide plate 504, so that a user can conveniently take out a plurality of lottery tickets 701 from the ticket collecting bin 505 at one time. Meanwhile, specifically, the second bracket 417 is provided on the flip bracket 503 and is disposed vertically toward the ticket collecting bin 505, so that the roll paper 700 is directly input into the ticket collecting bin 505 by guiding action of the driving roller body 403 and the driven roller body 416 after being printed by the printer body 201.
Preferably, referring to fig. 3 and 4, in the present embodiment, a side of the paper output guide plate 504 facing the inner ticket collecting bin 505 is recessed away from the ticket collecting bin 505 to form a guide arc surface 506 for guiding the printing roll paper 700. The slope of the guiding cambered surface 506 gradually increases from the proximal end close to the paper outlet gap to the distal end far away from the paper outlet gap, so that one end of the ticket 701 pushed out in a vertical state is firstly abutted against the proximal end of the guiding cambered surface 506 close to the paper outlet gap, and gradually scratched out to the distal end of the guiding cambered surface 506, and in the whole process, the ticket 701 in a vertical state gradually inclines to the ticket collecting bin 505 and finally is contained in the ticket collecting bin 505.
Specifically, referring to fig. 4 and 7, in the present embodiment, the rotation center of the driving roller body 403 around the axis is higher than the rotation center of the driven roller body 416 around the axis. Thus, when the lottery ticket 701 is ejected from the paper exit gap, the lottery ticket 701 is pushed by the driving roller 403 toward the ticket collecting bin 505 due to the higher rotation center of the driving roller 403, that is, the lottery ticket 701 is inclined toward the ticket collecting bin 505 once ejected from the paper exit gap. Referring to fig. 5 again, the lottery printing terminal further includes an upper cover 507, the upper cover 507 is covered on the outer casing 101 and is located above the printer body 201, two support blocks 508 are arranged side by side on the upper cover 507, the distance between the two support blocks 508 is greater than or equal to the width of the printing roll paper 700, one end of the paper output guide plate 504 is placed on the two support blocks 508 when the first flip cover 501 covers the outer casing 101, and the paper output guide plate 504, the two support blocks 508 and the upper cover 507 enclose a pre-ticket outlet 509 of the printing roll paper 700. When the roll of printed paper 700 is placed in the bin liner 102, the withdrawal portion extends from the pre-exit port 509 and is placed on the cover 507 such that a first pre-printed ticket 701 is delivered from the pre-exit port 509, after which the printed ticket 701 is pushed from the active roller body 403 into the ticket collecting bin 505.
Referring to fig. 3, 7 and 11, in this embodiment, a functional slot 510 is formed at the bottom of the ticket collecting bin 505 for a finger to pass through. When a user takes the lottery ticket 701, an index finger extends into the functional groove 510 and is positioned at the bottom of each lottery ticket 701, and a thumb is close to the index finger, and finally the lottery ticket 701 in the ticket collecting bin 505 is taken out.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (13)

1. The utility model provides a lottery ticket print terminal, includes the printing control board, the printing control board includes control module and rather than connecting storage module, its characterized in that: the print control board further includes:
the power failure detection module is connected with the control module and used for generating a trigger signal when the power supply fails;
the control module is used for writing a printing state into the storage module according to the triggering signal and the residual electric quantity of the energy storage module on the printing control board, so that when the lottery printing terminal is started next time, the upper computer executes corresponding operation according to the printing state read from the storage module by the control module;
The power failure detection module comprises a comparator, a first capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor;
the power supply end of the comparator, the first end of the first resistor, the first end of the third resistor and the first end of the fifth resistor are commonly connected to a first power supply, the non-inverting input end of the comparator is connected with the second end of the third resistor and the first end of the fourth resistor, the inverting input end of the comparator is connected with the second end of the first resistor, the first end of the first capacitor and the first end of the second resistor, the output end of the comparator and the second end of the fifth resistor commonly form the output end of the power failure detection module, and the grounding end of the comparator, the second end of the fourth resistor, the second end of the first capacitor and the second end of the second resistor are commonly connected to the power supply ground.
2. The lottery printing terminal of claim 1, wherein: the control module is also used for receiving bitmap data sent by the upper computer so that the lottery printing terminal prints according to the bitmap data; the bitmap data is image data generated by the upper computer according to the printing characters.
3. The lottery printing terminal of claim 1, wherein: the control module is also used for sending printer authentication information so that the upper computer performs authentication according to the printer authentication information and feeds back a first authentication result and the upper computer authentication information, performs authentication according to the upper computer authentication information and generates a second authentication result, and the lottery printing terminal enters a working state according to the first authentication result and the second authentication result.
4. The lottery printing terminal of claim 1, wherein: still include drain pan and printer subassembly, the drain pan includes the shell body and locates in the shell body and be used for the holding to print the paper storehouse inside lining of stock form, be equipped with in the paper storehouse inside lining and be used for detecting the detection module that prints the stock form, the printer subassembly include the printer body and print the control panel, the printer body with print control panel electric connection just all locates in the shell body, the detection module with print control panel electric connection, and, the detection module will detect signal feedback extremely print control panel, print control panel is according to the detection signal control printer body stops the printing work and prompts the user to change new printing stock form.
5. The lottery printing terminal of claim 4, wherein: the paper bin lining is further provided with two paper feeding roller bodies, each paper feeding roller body is pivoted in the paper bin lining relatively along the axial direction of the printing roll paper, the printing roll paper is arranged on the two paper feeding roller bodies, and the detection module is arranged between the two paper feeding roller bodies and is located below the printing roll paper.
6. The lottery printing terminal of claim 4, wherein: the lottery printing terminal further comprises an auxiliary paper outlet device and a flip component, wherein the flip component is pivoted to the outer shell and can rotate and open relative to the outer shell, the auxiliary paper outlet device comprises a driving roller component and a driven roller component, the driving roller component is arranged on the printer body, the driven roller component is arranged on the flip component and abuts against the driving roller component when the flip component is opposite to the bottom shell cover, and printing roll paper is pushed out through the driving roller component and the driven roller component after being printed by the printer body.
7. The lottery printing terminal of claim 6, wherein: the driving roller assembly comprises a driving roller body, a first support, a driving device, a paper outlet sensor and a paper outlet control board, wherein the first support is installed on the printer body, the driving roller body is pivoted on the first support and driven by the driving device to rotate around an axis, the paper outlet sensor is arranged on the first support and located below the driving roller body, and the paper outlet sensor and the driving device are electrically connected with the paper outlet control board.
8. The lottery printing terminal of claim 7, wherein: the driven roller assembly comprises a driven roller body and a second support, the second support is arranged on the flip assembly, a pivot hole is formed in the second support, and two ends of the driven roller body are pivoted in the corresponding pivot hole and are abutted against the driving roller body.
9. The lottery printing terminal of claim 8, wherein: the lottery ticket printing terminal further comprises a roll paper shaping device, the roll paper shaping device comprises a shaping component and a shaping scraping piece, the shaping component is mounted on one side of the shell body, which faces the flip component, the shaping scraping piece is transversely arranged on the shell body and located between the printer body and the printing roll paper, the shaping component comprises a supporting arm and a buffer arm, the supporting arm and the buffer arm are arranged along the paper outlet direction of the printing roll paper, an included angle is formed between the supporting arm and the buffer arm, the flip component covers the shell body and is arranged on two opposite sides of the shaping scraping piece, and the printing roll paper sequentially winds the supporting arm in the paper outlet direction when the flip component covers the shell body, winds the upper sliding of the shaping scraping piece, winds the buffer arm and is arranged in a printing area of the printer body.
10. The lottery printing terminal of claim 9, wherein: the shaping assembly comprises a fixed substrate, the fixed substrate is arranged on one side of the flip assembly, which faces the outer shell, one side of the fixed substrate extends outwards to form the supporting arm, the supporting arm and the buffer arm are positioned on the same side of the fixed substrate, and one end of the buffer arm is pivoted on the fixed substrate and can rotate around a pivot point to be close to the supporting arm or far away from the supporting arm.
11. The lottery printing terminal of claim 10, wherein: the shaping assembly further comprises a plurality of paper pressing elastic piece pieces, a plurality of first arrangement grooves which are arranged side by side are formed in the supporting arm, mounting holes are formed in the bottoms of the first arrangement grooves, and each paper pressing elastic piece is arranged in the corresponding first arrangement groove and passes through the mounting holes to abut against the shaping scraping piece.
12. The lottery printing terminal of claim 10, wherein: the flip subassembly is first flip, second flip and flip support, first flip wear the cover in the second flip outside and pin joint in on the shell body, the second flip pin joint in first flip just can be relative first flip is around pivoting point rotation, flip support locates first flip orientation drain pan one side, fixed base plate install in on the flip support.
13. The lottery printing terminal of claim 12, wherein: the flip subassembly still includes out the paper deflector, first flip orientation the drain pan is sunken to form album ticket storehouse, the paper deflector locate on the first flip and extend to the top in album ticket storehouse, and, go out the paper deflector with the initiative roll body with the play paper clearance between the roll-in of driven roll body corresponds.
CN201811090399.1A 2018-09-18 2018-09-18 Lottery printing terminal Active CN109367249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811090399.1A CN109367249B (en) 2018-09-18 2018-09-18 Lottery printing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811090399.1A CN109367249B (en) 2018-09-18 2018-09-18 Lottery printing terminal

Publications (2)

Publication Number Publication Date
CN109367249A CN109367249A (en) 2019-02-22
CN109367249B true CN109367249B (en) 2023-05-23

Family

ID=65405631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811090399.1A Active CN109367249B (en) 2018-09-18 2018-09-18 Lottery printing terminal

Country Status (1)

Country Link
CN (1) CN109367249B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4424156B2 (en) * 2004-10-27 2010-03-03 ノーリツ鋼機株式会社 Printer
JP4599338B2 (en) * 2006-11-30 2010-12-15 シチズンホールディングス株式会社 Printer
JP2008140234A (en) * 2006-12-04 2008-06-19 Seiko Epson Corp Electronic device, control method therefor and program therefor
CN102423967A (en) * 2011-10-25 2012-04-25 珠海天威技术开发有限公司 Consumable chip and consumable vessel
CN206765593U (en) * 2017-01-24 2017-12-19 南京嘉翼精密机器制造股份有限公司 A kind of printer controlling cashier power-cut-off contiuous printing module
CN206568729U (en) * 2017-02-28 2017-10-20 广州市三环永新科技有限公司 A kind of lottery ticket printer based on wireless-transmission network
CN207190547U (en) * 2017-07-26 2018-04-06 珠海浩盛标签打印机有限公司 The thermal printer and thermal printing system that a kind of power failure data preserves
CN207657416U (en) * 2017-11-30 2018-07-27 深圳市思乐数据技术有限公司 Lottery ticket printing terminal
CN207657415U (en) * 2017-11-30 2018-07-27 深圳市思乐数据技术有限公司 Lottery ticket printing terminal

Also Published As

Publication number Publication date
CN109367249A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
EP2514599B1 (en) Printer, web accommodating component thereof, and web exhaustion detecting mechanism
CN201872418U (en) Roll paper-used up detection mechanism, paper warehouse with same, printer
CN204044931U (en) Receipt printing stamping self-aided terminal
JP3952635B2 (en) Automatic transaction equipment
EP1468835B1 (en) Printer
CN109367249B (en) Lottery printing terminal
KR100582042B1 (en) Rolled-paper holding mechanism and a printer including same
JP2010513088A (en) Double-sided thermal printing detection
CN103009830B (en) Printer and for controlling the method for the printer printed on the print medium
CN110978802A (en) Portable thermal label printer
CN207657416U (en) Lottery ticket printing terminal
CN208118709U (en) Financial document processing unit
CN211641453U (en) Receipt printer
EP1583663A1 (en) Printer device with optical sensor
CN109890620A (en) Printer
CN212160846U (en) Abrasionproof decreases intelligent finance POS machine
WO2007149572A2 (en) Rotary cam for positioning control in a printer
CN207901906U (en) A kind of bill printer
JP2010195510A (en) Media feeding device and media processing device
CN109130530B (en) Lottery printing terminal
US20180056682A1 (en) Simplify journal take up core mechanism
JP3684846B2 (en) Dot impact printer
CN220795938U (en) Instant lottery ticket vending machine anti-blocking ticket structure
KR102172471B1 (en) Carriage module for bankbook printer provided with a starting circuit unit of the sensor for detecting whether the ribbon cartridge is mounted
CN211843701U (en) Portable thermal 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
CB02 Change of applicant information

Address after: 18b01, 18 / F, unit B, building 9, zone 2, Shenzhen Bay science and technology ecological park, intersection of Baishi road and Shahe West Road, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN SINODATA TECH Co.,Ltd.

Address before: 518054 Guangdong city of Shenzhen province Nanshan District Nanyou Cheonan Industrial Zone No. 7 Building 3 floor, B C, D unit

Applicant before: SHENZHEN SINODATA TECH Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant