Printing method and apparatus of thermal printer

A technology for thermal printers and printing devices, applied in digital output to printing units, data processing input/output processes, instruments, etc., can solve the problems of data loss to be printed, waste of resources, invalidation of documents, etc., to prevent invalidation, The effect of cost saving and resource saving

Active Publication Date: 2017-07-04
PAX COMP TECH SHENZHEN
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When a thermal printer prints files, sometimes the printer restarts due to abnormal reasons, causing the printer to stop running. In this case, the data to be printed will be lost, or half of the printed files will be invalidated, wasting resources.
The traditional technology is to solve the above problems by installing a backup power supply, but the backup power supply is expensive and not suitable for widespread use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Printing method and apparatus of thermal printer
  • Printing method and apparatus of thermal printer
  • Printing method and apparatus of thermal printer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0034] Such as figure 1 As shown, in one embodiment, a printing method of a thermal printer is provided, comprising:

[0035] Step 102, acquiring data to be printed, and backing up the data to be printed to a memory.

[0036] In this embodiment, backup refers to copying the data in the device to the storage device in order to cope with possible unexpected situations such as data loss or damage, and in this embodiment refers to copying the data to be printed to the storage.

[0037] Step 104, start printing and obtain the number of lines corresponding to the current printing position during the pr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a printing method and apparatus of a thermal printer. The method comprises steps of acquiring to-be-printed data, backing-up the to-be-printed data to a memory, starting to print and acquiring line numbers corresponding to a current printing position during the printing, backing-up the line number to the memory, acquiring the line number corresponding to the current printing position and the to-be-printed data both backed-up in the memory when the printer gets abnormal and is restarted, and continuing to print the to-be-printed data from the line number corresponding to the current printing position. A problem of loss of the to-be-printed data can be solved; cancellation of files printed a half can be prevented; the use of backup power supply can be unnecessary; cost and resource use can be saved; and the printing method and apparatus of the thermal printer can be widely applied.

Description

technical field [0001] The invention relates to the technical field of printers, in particular to a printing method and device of a thermal printer. Background technique [0002] When a thermal printer prints a file, sometimes the printer restarts due to abnormal reasons, causing the printer to stop running. In this case, the data to be printed will be lost, or half of the printed file will be invalidated, wasting resources. The traditional technology solves the above problems by installing a backup power supply. However, the backup power supply is expensive and not suitable for widespread use. Contents of the invention [0003] Based on this, it is necessary to provide a printing method and device for a thermal printer that can save costs in order to address the above problems. [0004] A printing method of a thermal printer, the method comprising: [0005] Acquiring the data to be printed, and backing up the data to be printed into the memory; [0006] Start printing ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/12
CPCG06F3/1204G06F3/121G06F3/1234G06F3/1261
Inventor 刘伟李鑫
Owner PAX COMP TECH SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products