Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Pending Publication Date: 2021-11-05
INSPUR SOFTWARE CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical task of the present invention is to provide a small ticket printing method and storage medium in the government affairs hall to solve the problem of how to avoid the need to go to the government affairs hall to manually change the template every time it is updated, and to provide users and operation and maintenance personnel with root experience and convenience , and then improve the efficiency and ability of the government affairs hall

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
  • Government affair hall receipt printing implementation method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

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 discloses a government affair hall receipt printing implementation method and a storage medium, belongs to the technical field of data printing, and aims to solve the technical problem of how to avoid manual change in a government affair hall site when a template is updated each time, provide experience and convenience of root numbers for users and operation and maintenance personnel, and then improve the affair handling efficiency and the affair handling capability of the government affair hall. According to the technical scheme, the method specifically comprises the following steps: making a template on the basis of a Freemarker template engine at a server side, and outputting an html text format; converting the html text format into a pdf text format on the server side based on a Java iText conversion tool; converting the pdf text format into a picture format file on the server side based on a Pdfbox conversion tool; and completing receipt content display on each terminal platform of the client by adopting different printing modes for the pdf format file and the picture format file.

Description

technical field [0001] The invention relates to the technical field of data printing, in particular to a method for realizing small ticket printing in government affairs halls and a storage medium. Background technique [0002] In the field of government services, people usually queue up in the government hall to get a number, and the number pick-up opportunity provides a small ticket with detailed information on the matter to be handled, including basic information on the matter to be handled, available window, current number of people waiting, queue number, etc. It is convenient for the masses to obtain information while waiting in line. Therefore, the printed receipts have certain format requirements. At present, general surveys have found that the number-taking machines in government affairs halls generally run on the Windows platform. The technical architecture is a C# application based on WinForm or a Node application based on open source electron to print receipts Th...

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/12G07G5/00G07C11/00
CPCG06F3/1204G06F3/1248G06F3/1257G07G5/00G07C11/00G07C2011/04
Inventor 张超
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products