Segmentation printing method and transaction terminal
A technology of split printing and transaction terminals, applied in the direction of digital output to printing units, instruments, electronic digital data processing, etc., can solve the problems of abnormal printing and excessive printing content, reduce the amount of data, solve printing abnormality, and print content. Simple and beautiful effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] figure 1 It shows the implementation flow of a split printing method provided by an embodiment of the present invention. The execution subject of the flow in this embodiment may be a transaction terminal, and the transaction terminal includes a payment terminal, a cash register terminal, etc., for example, a POS (PointOf Sale) terminal , ATM equipment, etc.
[0025] Such as figure 1 As shown, a split printing method provided by an embodiment of the present invention includes:
[0026] Step S101, creating a DOM element containing printing information, and creating an HTML transaction document according to the DOM element;
[0027] Wherein, the HTML transaction document includes DOM elements and transaction information.
[0028] Step S102, judging whether there are unprinted nodes in the HTML transaction document, and if so, segmenting the DOM elements according to a preset order to obtain printing elements that meet the requirements;
[0029] Wherein, the unprinted n...
Embodiment 2
[0063] Such as figure 2 As shown, an embodiment of the present invention provides a transaction terminal 100 for performing figure 1 The method step in the corresponding embodiment, it comprises:
[0064] A creating module 110, configured to create a DOM element containing printing information, and create an HTML transaction document according to the DOM element;
[0065] A segmentation module 120, configured to determine whether there are unprinted nodes in the HTML transaction document, and if so, segment the DOM elements according to a preset order to obtain printing elements that meet the requirements;
[0066] The printing module 130 is configured to combine the printing elements into a printing template, and print the printing template by calling a printing device.
[0067] In one embodiment of the present invention, the creation module 110 includes:
[0068] an element creation unit, configured to create the DOM element containing printing information;
[0069] The...
Embodiment 3
[0081] image 3 It is a schematic diagram of a transaction terminal provided by an embodiment of the present invention. Such as image 3 As shown, the transaction terminal 3 of this embodiment includes: a processor 30 , a memory 31 and a computer program 32 stored in the memory 31 and operable on the processor 30 . When the processor 30 executes the computer program 32, it realizes the steps in each embodiment as described in Embodiment 1, for example figure 1 Steps S101 to S104 are shown. Alternatively, when the processor 30 executes the computer program 32, it realizes the functions of each module / unit in each system embodiment as described in Embodiment 2, for example image 3 The functions of modules 110 to 140 are shown.
[0082] The transaction terminal 3 refers to a terminal with data processing capabilities, including but not limited to POS terminals, ATM equipment, computers, workstations, servers, and even smart phones, palmtop computers, tablet computers, person...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com