CN207190547U - The thermal printer and thermal printing system that a kind of power failure data preserves - Google Patents
The thermal printer and thermal printing system that a kind of power failure data preserves Download PDFInfo
- Publication number
- CN207190547U CN207190547U CN201720919003.4U CN201720919003U CN207190547U CN 207190547 U CN207190547 U CN 207190547U CN 201720919003 U CN201720919003 U CN 201720919003U CN 207190547 U CN207190547 U CN 207190547U
- Authority
- CN
- China
- Prior art keywords
- processor
- print data
- thermal
- data
- thermal printer
- 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
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Electronic Switches (AREA)
Abstract
The utility model provides thermal printer and the thermal printing system that a kind of power failure data preserves,Thermal printer includes memory,Processor,Communication unit,Data interface module,Energy-storage module and power management module,Thermal printer receives external power source power supply,Power management module is used to export power-down state signal to outside power supply monitoring and to processor,Energy-storage module is powered to memory and processor,Memory is used for store driver and print data,Processor is used to receive print data and control signal by communication unit,Processor is additionally operable to by data interface module outwards export the print data in memory,When there is power down,Utilize the of short duration power supply of energy-storage module,Then processor is allowed to enter the pattern of power down protection,Processor passes through print data of the data interface module into flash memory device output storage and unprinted print data,Print data on flash memory device can be shifted printing by user,It is convenient for users to use.
Description
Technical field
It the utility model is related to thermal printing field, more particularly to the thermal printer and temperature-sensitive of a kind of preservation of power failure data
Print system.
Background technology
Thermal printer is equipped with the Automatic Teller Machine of bank, the cashier of supermarket and electric business delivery, is handed over for printing
Easy strip, receipt or express delivery list.Thermal printer generally has a casing, and movement includes printhead, rubber roll and paper cutter
Deng the print data exported by host computer, after printer is parsed, and by driving the paper feed of printing paper, then in heat
Under the imaging effect of quick, the printing of document is formed.But existing thermal printing field is the printing of volatibility, number is printed
It is stored in RAM according to by parsing generation view data, can be then deleted simultaneously by next print progress after printing
Rewrite, and when there is unexpected power down, be then that can not continue printing to print again, it is necessary to re-power, made troubles for user.
The content of the invention
First purpose of the present utility model is to provide a kind of thermal printer realized power failure data and preserved.
Second purpose of the present utility model is to provide a kind of thermal printing system realized power failure data and preserved.
In order to realize the first purpose of the present utility model, the utility model provides the thermal printing that a kind of power failure data preserves
Machine, it is characterised in that thermal printer includes memory, processor, print unit, communication unit, data interface module, energy storage
Module and power management module, thermal printer receive external power source power supply, and power management module is used for outside power supply monitoring
And power-down state signal is exported to processor, energy-storage module is powered to memory and processor, and memory is used for storage driving journey
Sequence and print data, processor is used to receive print data by communication unit and control signal, processor are additionally operable to store
Print data in device is outwards exported by data interface module, and print unit includes the heat-sensitive sheet and rubber roll being oppositely arranged, place
Device control heat-sensitive sheet thermal imaging is managed, processor control rubber roll rotates paper feed.
In order to realize the second purpose of the present utility model, the utility model provides a kind of thermal printing system, and its feature exists
In including thermal printer and flash memory device, it is single that thermal printer includes memory, processor, print unit, communication
Member, data interface module, energy-storage module and power management module, thermal printer receive external power source power supply, power management mould
Block is used to export power-down state signal to outside power supply monitoring and to processor, and energy-storage module is powered to memory and processor,
Memory is used for store driver and print data, and processor is used to receive print data by communication unit and control is believed
Number, processor is additionally operable to the print data into flash memory device output storage, print unit by data interface module
Including the heat-sensitive sheet and rubber roll being oppositely arranged, processor control heat-sensitive sheet thermal imaging, processor control rubber roll rotates paper feed.
Further scheme is that flash memory device includes mobile hard disk, USB flash disk, SD card or Micro SD cards.
Further scheme is that thermal printing system also includes intelligent terminal, and processor passes through communication unit and intelligence
Terminal connects.
Further scheme is that thermal printing system also includes cloud platform, and processor passes through communication unit and cloud platform
Connection.
The beneficial effects of the utility model are, by the real-time monitoring of power management module, when there is power down, to utilize storage
The of short duration power supply of energy module, then allows processor to enter the pattern of power down protection, in protected mode, processor is connect by data
Print data and unprinted print data of the mouth mold block into flash memory device output storage, user can deposit movement
Print data transfer printing on storage device, it is convenient for users to use.
Brief description of the drawings
Fig. 1 is the system block diagram of the utility model print system embodiment.
Fig. 2 is the system block diagram of the utility model thermal printer embodiment.
Fig. 3 is the flow chart of the Method of printing embodiment of the utility model thermal printer.
Fig. 4 is the flow chart of the utility model thermal-sensitive printer printing data back up method embodiment.
Fig. 5 is the image mosaic schematic diagram of the backup file of the utility model thermal printer.
Below in conjunction with drawings and Examples, the utility model is described in further detail.
Embodiment
Reference picture 1, Fig. 1 are the system block diagrams of the utility model thermal printing system, and thermal printing system mainly includes intelligence
Can terminal 11, intelligent terminal 12, thermal printer 13,14,15, cloud platform 16 and flash memory device 33, intelligent terminal can be with
Make computer terminal, mobile phone terminal, tablet terminal or handheld-type intelligent terminal etc., intelligent terminal 11 can by a variety of connected modes with
Thermal printer 13 connects, or is also what can be attached by a variety of connected modes between thermal printer, therefore netting twine
Serial communication is commonly used in connection, USB communications, in this embodiment, it is preferred that, the communication connection of this case uses TCP/IP
Communications protocol is attached, i.e., intelligent terminal 11 is connected by router with thermal printer 13, and thermal printer 13 is also logical
Cross router to be connected with thermal printer 14, thermal printer 13 is also to be connected with cloud platform 16 by router, is similarly applicable
With intelligent terminal 12 and thermal printer 15, intelligent terminal and thermal printer are each equipped with independent IP, intelligent terminal, temperature-sensitive and beaten
The interaction of data and control can be carried out between print machine and cloud platform by LAN or wide area network.
By taking thermal printer 13 as an example, reference picture 2, thermal printer 13 includes memory 131, sound module 133, processing
Device 134, print unit 135, communication unit 135 and communication unit 138, the program of the storing printer of memory 131, pass through place
Manage execution of the device 134 to program and realize the parsing of print data, the processing of printing action, the backup of print data, data
Communication interaction, the report of sound and the display of correlation interaction.Memory 131 is used for store driver and print data, processing
Device 134 is used to receive print data and control signal by communication unit 136, and print unit 135 includes the temperature-sensitive being oppositely arranged
Piece and rubber roll, processor 124 control heat-sensitive sheet thermal imaging, and processor 134 controls rubber roll to rotate paper feed, and processor 134 is to sound
Module 133 exports voice signal.Sound module 133 includes the loudspeaker being arranged on thermal printer and is arranged on thermal printer
On audio output circuit, loudspeaker according to voice signal play sound, audio output circuit be used for voice signal amplify export
Processing so that thermal printer not only possesses sound-playing function, prompts concerns for user, and possess defeated work(outside sound
Can, energy boom box broadcasting system, provided for thermal printer and be more widely applied field.
Communication unit 136 is Landline communication unit, and communication unit 138 is wireless communication unit, and processor 134 passes through communication
Unit 136 is connected with cloud platform 16, intelligent terminal 11, intelligent terminal 12 on a wide area network, and receives print data and control letter
Number.By communication unit 138, internally server 17 exports print data and Backup Data to processor 134 on a local area network.When
So, communication unit 136 can also be wireless communication unit, and communication unit 138 is finite communication unit, in order to increase privacy,
The use of wireless telecommunications is being to be transmitted with can hiding SSID or limitation communication physical address.
Thermal printing apparatus 13 also includes energy-storage module, power management module 31 and data interface module 32, thermal printing
Device 13 in normal operation when receive outside mains supply 21 and be powered, power management module 31 can use power supply pipe
Chip is managed, the power supply state of external power source 21 is monitored in real time, data interface module 32 can use a variety of data-interface modes, such as
The conventional data-interface such as USB interface, SD card interface or micro SD card interfaces, and the movement of the connection of data interface module 32
Storage device 33 can use mobile hard disk, USB flash disk, SD card or Micro SD cards.
When there are power-down conditions, power management module 31 exports power down when voltage reduces rapidly to processor 134
Status signal, because energy-storage module can use bulky capacitor, button cell, dry cell etc., and electric capacity is that have one after a power failure
Section general 400 milliseconds or so discharge times, now be processor and memory power supply, now processor according to currently be power down shape
State stops all normal mode of operation, and into the pattern of power down protection, in protected mode, processor passes through data interface module
Print data and unprinted print data into flash memory device output storage.
Reference picture 3 simultaneously combines Fig. 2, and the Method of printing of thermal printer includes self-test step S1, backup-step S2, printing step
Rapid S3 and fault handling steps S4.
Self-test step S1 includes:The state of thermal printer is detected, and feedback states signal, i.e. thermal printer
The state of itself is detected, such as remaining printing paper amount, motor conditions, heat-sensitive sheet situation, driving situation and each inspection paper pass
The situation of sensor.
If status signal is normal state signal, then printing step S3 and backup-step S2 is performed.
If status signal is fault status signal, then fault handling steps S4 is performed, contact pilotage processing step S4 includes:
First, thermal printer receives print data;
Then, for thermal printer by communication unit forwarding print data to thermal printer is backed up, backup printer can
Think more, as long as being connected with the printer of the thermal printer networking of the failure, a transmission print data can be selected, beaten
Print.
Then, backup thermal printer prints to print data;
Finally, after backup thermal-sensitive printer printing, printing finished signal is fed back to former thermal printer, then pass through original
Thermal printer feeds back to intelligent terminal.
Reference picture 4 simultaneously combines Fig. 2, and Fig. 4 is the flow chart of print data backup method.The print data of thermal printer is standby
Part method includes printing step S3 and backup-step S2.
Printing step includes:
Step S31, intelligent terminal 11 or cloud platform 16 export printing number by the heat sensitive printer 13 of communication module 136
According to print data is the printer instructions collection for controlling printer, and thermal printer 13 receives the print data.
Step S32, processor are parsed to print data and generate view data, it is preferable that thermal printer is fought each other
Printing is according to the view data for after parsing being generation bmp forms.
Step S33, subsequent heat-sensitive sheet and rubber roll obtain print trigger signal, and rubber roll then carries out rotation paper feed, and heat-sensitive sheet
Paper feed action is then coordinated to carry out image printing on printing paper according to view data;
Step S34, judge whether that printing finishes, such as printing does not finish, then return to step S31 continues to print number
According to, as printing finish, then export printing finished signal.
Step S35, thermal printer obtain printing finished signal, complete printing step.
Step S36, after printing finished signal is obtained, thermal printer also exports cut paper signal, driving to cutter
Cutting knife carries out cut paper action to document, then exports the document 137 of printing.
At the same time, backup-step is also with then printing step while performed, and backup-step includes:
Step S21, after step S32, i.e., when print trigger signal triggers, obtain bmp format picture datas and be used to back up
Processing.
Step S22, when there is multistage print data, then the bmp format picture datas after multiple parsings is received successively, and
Multiple images data are spliced, reference picture 4, during splicing, a newly-built bmp tile data, subsequent basis from top to down
The view data received is placed, and before no triggering printing finished signal, is constantly spliced and combined in order, when
When printing finished signal triggers, spliced view data preserves the backup file into bmp forms, and as electronics counterfoil 132
Preserve in memory.
When performing above-mentioned printing step, such as there is print fault, such as paperboard, lack paper or other failures, then processor meeting
Fault-signal is received, then, unprinted print data is forwarded to backup thermal printer by processor, by backing up temperature-sensitive
Printer continues to print.
Therefore because electronics counterfoil is that necessarily possess visual particular/special requirement, therefore merely can not will print number
Preserved according to ground, because print data is typically the instruction set of printer matching, do not possess visuality, instruction set be merely able to by
Printer identifies, so being to need to be preserved in the pattern of the actual document actually printed, just electronics counterfoil can so had
Standby authenticity, legitimacy and integrality, therefore the figure that this case is used to be imaged by when print trigger signal triggers, obtaining heat-sensitive sheet
As data, and when printing finished signal triggers, view data, which with picture format preserve, turns into backup file, backup text
Part and printing conformity of document, carrying out preservation by pictorial manner easily can be transmitted and consult, it possess authenticity,
Legitimacy and integrality.When printing the print data of segmented, view data can be obtained successively, and performs the splicing of image,
Then in printing finished signal or cut paper action triggers, spliced image is saved as into backup file.Using bmp forms text
Part is handled and preserved, and its image is the demand for being closer to printer dot lattice printing, is more adapted to the printing with instruction set
Data mutually convert, and bmp formatted files compression ratio is high, are also more adapted to the demand of network transmission.
Meanwhile when thermal printer breaks down, complete print data can be forwarded to backup by communication unit
On thermal printer, or unprinted print data can be forwarded on backup thermal printer by communication unit, makes backup
Printer continues to print, and user no longer needs to reconnect, or reselects, and breaks down and forwards number automatically by thermal printer
According to, after printing by feedback tell user, Consumer's Experience is greatly provided.
In addition, by setting sound module on thermal printer so that thermal printer be no longer rely on computer and with electricity
The audio amplifier sounding of brain connection, thermal printer can be prompted automatically when printing finishes, lacks paper, failure and alarm, convenient
User knows the state of printer.
And the real-time monitoring by power management module, when there is power down, using the of short duration power supply of energy-storage module,
Then processor is allowed to enter the pattern of power down protection, in protected mode, processor is stored by data interface module to mobile
Print data and unprinted print data in device output storage, user can be by the printing numbers on flash memory device
Printed according to transfer, it is convenient for users to use.
Furthermore it is that the first communication unit uses as normal communication and on the wide area network with extraneous connecting communication, and the
Two communication units are connected by secure communication circuit with internal server so that print data or backup number on thermal printer
Connected according to without only relying on a communication module to be communicated with the external world, but secrecy transmission is carried out by independent communication circuit, increased
The confidentiality of addend evidence.
Claims (5)
1. the thermal printer that a kind of power failure data preserves, it is characterised in that the thermal printer includes memory, processing
Device, print unit, communication unit, data interface module, energy-storage module and power management module, the thermal printer receive outer
Portion's power supply power supply, the power management module are used to monitor the external power source and believed to processor output power-down state
Number, the energy-storage module is powered to the memory and the processor, and the memory is used for store driver and printing
Data, the processor are used for by communication unit reception print data and control signal, the processor be additionally operable to by
Print data in the memory is outwards exported by the data interface module, and the print unit includes what is be oppositely arranged
Heat-sensitive sheet and rubber roll, the processor control the heat-sensitive sheet thermal imaging, and the processor controls the rubber roll to rotate paper feed.
2. thermal printing system, it is characterised in that including thermal printer and flash memory device, the thermal printer includes
Memory, processor, print unit, communication unit, data interface module, energy-storage module and power management module, the temperature-sensitive
Printer receive external power source power supply, the power management module be used for the external power source monitoring and it is defeated to the processor
Go out power-down state signal, the energy-storage module is powered to the memory and the processor, and the memory, which is used to store, to be driven
Dynamic program and print data, the processor are used to receive print data and control signal, the place by the communication unit
Reason device is additionally operable to export the print data in the memory, institute to the flash memory device by the data interface module
Heat-sensitive sheet and rubber roll that print unit includes being oppositely arranged are stated, the processor controls the heat-sensitive sheet thermal imaging, the processing
Device controls the rubber roll to rotate paper feed.
3. thermal printing system according to claim 2, it is characterised in that:
The flash memory device includes mobile hard disk, USB flash disk, SD card or Micro SD cards.
4. the thermal printing system according to Claims 2 or 3, it is characterised in that:
The thermal printing system also includes intelligent terminal, and the processor is connected by the communication unit and the intelligent terminal
Connect.
5. the thermal printing system according to Claims 2 or 3, it is characterised in that:
The thermal printing system also includes cloud platform, and the processor is connected by the communication unit with the cloud platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720919003.4U CN207190547U (en) | 2017-07-26 | 2017-07-26 | The thermal printer and thermal printing system that a kind of power failure data preserves |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720919003.4U CN207190547U (en) | 2017-07-26 | 2017-07-26 | The thermal printer and thermal printing system that a kind of power failure data preserves |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207190547U true CN207190547U (en) | 2018-04-06 |
Family
ID=61798841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720919003.4U Active CN207190547U (en) | 2017-07-26 | 2017-07-26 | The thermal printer and thermal printing system that a kind of power failure data preserves |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207190547U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109367249A (en) * | 2018-09-18 | 2019-02-22 | 深圳市思乐数据技术有限公司 | Lottery ticket printing terminal |
-
2017
- 2017-07-26 CN CN201720919003.4U patent/CN207190547U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109367249A (en) * | 2018-09-18 | 2019-02-22 | 深圳市思乐数据技术有限公司 | Lottery ticket printing terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3258651B1 (en) | Ip camera control method, apparatus, and system | |
JP5991733B2 (en) | Network system, information processing apparatus, and communication method | |
JP2009301185A5 (en) | ||
CN103312383A (en) | Information processing apparatus and control method of information processing apparatus | |
JP2004015234A5 (en) | ||
CN109218552A (en) | Communication device and its control method | |
CN207327871U (en) | A kind of thermal printer and thermal printing system with sound module | |
CN107861700A (en) | A kind of automatic printing device and automatic printing method based on network service system | |
CN106325782A (en) | Information processing apparatus, method for controlling the same | |
CN207190547U (en) | The thermal printer and thermal printing system that a kind of power failure data preserves | |
CN107264061A (en) | Thermal printer, thermal printing system and thermal-sensitive printer printing method | |
CN207072184U (en) | The thermal printer and thermal printing system of a kind of duplex circuit | |
CN107659414A (en) | Remote wakening system and method based on P2P | |
CN207291325U (en) | Thermal printing system | |
CN207072183U (en) | Thermal printer | |
CN106528010A (en) | Cloud platform based intelligent printer active service providing method and system | |
WO2013174349A2 (en) | M2m gateway device and applying method thereof | |
JP2015215664A5 (en) | ||
JP2015215664A (en) | Print control device and control method of print control device | |
JP5917024B2 (en) | Image forming apparatus, image forming apparatus control method, and program | |
JP2003303068A5 (en) | ||
CN107436741A (en) | Thermal printer and its print data backup method | |
CN107623597A (en) | One kind miniaturization POTN equipment and remote power down reminding method | |
CN109660365A (en) | A kind of method for controlling power supply and device | |
CN206675159U (en) | A kind of intelligent chest and intelligent box subsystem with flash appeal function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |