Government affair hall receipt printing implementation method and storage medium
An implementation method and lobby technology, applied in the field of data printing, can solve problems such as manual changes, and achieve the effects of improving efficiency, rapid personalized customization, and improving performance capabilities
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] as attached figure 1 As shown, the government affairs hall small ticket printing implementation method of the present invention, the method is specifically as follows:
[0059] S1. Make a template based on the Freemarker template engine on the server side, and output the html text format;
[0060] S2. Convert the html text format to the pdf text format based on the Java iText conversion tool on the server side;
[0061] S3, convert the pdf text format into a picture format file based on the Pdfbox conversion tool on the server side;
[0062] S4. Using different printing methods for the pdf format file and the image format file on each terminal platform of the client to complete the content display of the receipt.
[0063] In the present embodiment, the Freemarker template engine adopts the rend method to output the html file format, as follows:
[0064] S101. Based on the ftl template file and the dynamic rendering data, assemble the dynamic rendering data into an en...
Embodiment 2
[0095] The embodiment of the present invention also provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are loaded by a processor, so that the processor executes the implementation method for printing receipts in government affairs halls in any embodiment of the present invention. Specifically, a system or device equipped with a storage medium may be provided, on which a software program code for realizing the functions of any of the above embodiments is stored, and the computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
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