CN112068785A - Report printing method and device and readable medium - Google Patents

Report printing method and device and readable medium Download PDF

Info

Publication number
CN112068785A
CN112068785A CN202010993093.8A CN202010993093A CN112068785A CN 112068785 A CN112068785 A CN 112068785A CN 202010993093 A CN202010993093 A CN 202010993093A CN 112068785 A CN112068785 A CN 112068785A
Authority
CN
China
Prior art keywords
report
printing
printed
determining
tail
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.)
Pending
Application number
CN202010993093.8A
Other languages
Chinese (zh)
Inventor
刘伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN202010993093.8A priority Critical patent/CN112068785A/en
Publication of CN112068785A publication Critical patent/CN112068785A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1206Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/125Page layout or assigning input pages onto output media, e.g. imposition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention provides a report printing method, a report printing device and a readable medium, wherein the method comprises the following steps: acquiring a printing report template, wherein the printing report template comprises a report head, a detail grid and a report tail; determining a report to be printed carrying report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed; calling a printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information; acquiring the printing parameters of the report to be printed sent by the printing platform, and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters. The scheme of the invention can realize various printing requirements and can be flexibly set according to different printing requirements.

Description

Report printing method and device and readable medium
Technical Field
The invention relates to the technical field of computers, in particular to a report printing method, a report printing device and a readable medium.
Background
Nowadays, printing formats of the system are various and complex, the code amount is large through code realization, the realization difficulty of the printing formats with complex formats is very high, the usability is poor, and when the use frequency of the printing function is too high, great pressure can be caused on a server side, and adverse effects can be caused on the operation of the system.
At present, a printing component in an ERP system mainly assembles data into a word or an excel and then prints by generating the word, the excel and a pdf, so that the printing component is poor in expandability, cannot be independently deployed, is high in system coupling and is high in maintenance cost.
Disclosure of Invention
The embodiment of the invention provides a report printing method, a report printing device and a readable medium, which can meet various printing requirements and can be flexibly set according to different printing requirements.
In a first aspect, an embodiment of the present invention provides a report printing method, including:
acquiring a printing report template, wherein the printing report template comprises a report head, a detail grid and a report tail;
determining a report to be printed carrying report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed;
calling a printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information;
acquiring the printing parameters of the report to be printed sent by the printing platform, and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters.
In one possible design, the detail grid includes a header row, a packet header, and a packet trailer, the printing parameters include a set of parameters, the set of parameters including at least one parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining parameters of a report head, the header line, the grouping head, the grouping tail and a report tail of the report to be printed according to the parameter set of the report to be printed.
In one possible design, the fine grid further includes a content line, the printing parameters further include a set of fields including at least one field belonging to the same parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
In one possible design, the field set includes signature information, the type of the signature information being binary;
determining fields of a report head, a detailed grid and a report tail of the report to be printed according to the field set of the report to be printed, wherein the determining comprises the following steps:
and according to the field set of the report to be printed, extracting signature information in the field set, and hiding the signature information in the report tail.
In one possible design, the printing parameters further include a report type, a report file name, a report version, a number of prints, a printer name, a print offset, and a print job identifier.
In a second aspect, an embodiment of the present invention provides a report printing apparatus, including:
the system comprises an acquisition module, a report printing module and a report printing module, wherein the acquisition module is used for acquiring a report printing template, and the report printing template comprises a report header, a detailed grid and a report trailer;
the first determining module is used for determining a report to be printed which carries report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed;
the calling module is used for calling the printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information;
and the second determining module is used for acquiring the printing parameters of the report to be printed sent by the printing platform and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters.
In one possible design, the detail grid includes a header row, a packet header, and a packet trailer, the printing parameters include a set of parameters, the set of parameters including at least one parameter;
the second determining module is specifically configured to perform the following operations when determining the report header, the detailed grid, and the report footer of the report to be printed according to the printing parameters:
and determining parameters of a report head, the header line, the grouping head, the grouping tail and a report tail of the report to be printed according to the parameter set of the report to be printed.
In one possible design, the fine grid further includes a content line, the printing parameters further include a set of fields including at least one field belonging to the same parameter;
the second determining module is specifically configured to perform the following operations when determining the report header, the detailed grid, and the report footer of the report to be printed according to the printing parameters:
and determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
In one possible design, the field set includes signature information, the type of the signature information being binary;
when the second determining module determines the fields of the report head, the content line and the report tail of the report to be printed according to the field set of the report to be printed, the second determining module includes:
and according to the field set of the report to be printed, extracting signature information in the field set, and hiding the signature information in the report tail.
In a third aspect, an embodiment of the present invention provides a report printing apparatus, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to perform the method described above.
In a fourth aspect, embodiments of the present invention provide a computer-readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the method described above.
According to the scheme, the report printing method, the report printing device and the readable medium, provided by the invention, are used for acquiring the printed report template, wherein the printed report template comprises a report header, a detailed grid and a report trailer; determining a report to be printed carrying report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed; calling a printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information; the method comprises the steps of obtaining printing parameters of a report to be printed sent by a printing platform, and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters. So, can peel off the printing function from the business through setting up printing report form template, form a function that can independently deploy, draw the part that needs the code to realize originally through simple support and draw and to accomplish the setting of printing the pattern, reduce the development degree of difficulty, improve system maintainability and ease for use to can realize the needs of various printings, also can set up according to the printing demand of difference is nimble.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart of a report printing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a report printing method according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a device in which a report printing apparatus according to an embodiment of the present invention is located;
FIG. 4 is a schematic diagram of a report printing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a report according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
Fig. 1 is a flowchart of a report printing method according to an embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
101, acquiring a printing report template, wherein the printing report template comprises a report head, a detail grid and a report tail;
102, determining a report to be printed carrying report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed;
103, calling a printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information;
and 104, acquiring the printing parameters of the report to be printed sent by the printing platform, and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters.
In the embodiment of the invention, the report printing method provided by the invention comprises the steps of obtaining a printed report template, wherein the printed report template comprises a report head, a detailed grid and a report tail; determining a report to be printed carrying report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed; calling a printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information; the method comprises the steps of obtaining printing parameters of a report to be printed sent by a printing platform, and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters. So, can peel off the printing function from the business through setting up printing report form template, form a function that can independently deploy, draw the part that needs the code to realize originally through simple support and draw and to accomplish the setting of printing the pattern, reduce the development degree of difficulty, improve system maintainability and ease for use to can realize the needs of various printings, also can set up according to the printing demand of difference is nimble.
The report printing method provided by the embodiment of the invention forms an independently deployable function by stripping the printing function from the business, so that the method can support various printing formats (such as checks, bar codes, pictures and the like), various types of printers (such as stylus printers, laser printers, receipt printers and the like), and the method can be used as a pdf server, has a small code amount, can complete the design of the report only by dragging and dropping report elements on a design interface, has an operation mode conforming to the convention, can design the report only by users with little computer use experience, can be independently deployed on the server, and improves the system performance.
Based on the report printing method shown in fig. 1, in an embodiment of the present invention, the detail grid includes a header line, a group header, and a group trailer, the printing parameters include a parameter set, and the parameter set includes at least one parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining parameters of a report head, the header line, the grouping head, the grouping tail and a report tail of the report to be printed according to the parameter set of the report to be printed.
The printing parameters also comprise report type, report file name, report version, printing copy number, printer name, printing offset and printing task identification.
For example, "ReportType": report type gridreportfastreport is empty, and will default to gridreport;
report name POS receipt;
"ReportVersion" is optional. If the version of the report is null, the report defaults to 1, and if the version of the local report is too low, the report is downloaded and updated from a report Url address;
"ReportUrl" is optional. If the local report is empty, the local report is not updated, and if the local report does not exist, the local report can be automatically downloaded from the address;
"ReportUrl" is optional. If the local report is empty, the local report is not updated, and if the local report does not exist, the local report can be automatically downloaded from the address;
optional "Copies". Print copy number, support the designated print copy number. Defaulting 1 copy, if the copy number is zero, not printing, and only returning files such as pdf, jpg and the like generated by a report;
"PrinterName" is optional. Specify printer, use default printer if empty, please see your printer name in control panel- > device and printer;
optional "PrintOffsetX". The right offset is printed in centimeters. The offset of the report in the horizontal direction is positive to the right and negative to the left;
optional "printoffset". Offset, in centimeters, was printed. The offset of the report in the vertical direction is positive downwards and negative upwards;
"token" is optional. As long as the token value is printable in the list;
"taskId" is optional. When a plurality of print jobs are printed simultaneously, which print job is returned is determined based on the id.
Based on the report printing method shown in fig. 1, in an embodiment of the present invention, the detail grid further includes a content line, the printing parameters further include a field set, and the field set includes at least one field belonging to the same parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
In the embodiment of the invention, a printing platform is written in the background, and the interactive logic with the front end can be realized by introducing the printing platform. According to different business requirements and application scenes, corresponding data assembly is completed, various types of printing styles can be realized by combining the set printing report form format, and ideal documents are printed by a printer.
Based on the report printing method shown in fig. 1, in an embodiment of the present invention, the field set includes signature information, and the type of the signature information is binary;
determining fields of a report head, a detailed grid and a report tail of the report to be printed according to the field set of the report to be printed, wherein the determining comprises the following steps:
and according to the field set of the report to be printed, extracting signature information in the field set, and hiding the signature information in the report tail.
In the embodiment of the invention, the image frame is used for the signature image, although the image frame is placed at the report tail, the value cannot be taken from the parameter set, and the value needs to be taken from the field set of the detail grid, namely, a field is newly added in the field set, then the type is selected to be binary, and then the data field of the image frame is selected to be the corresponding data field.
As shown in fig. 2, another embodiment of the present invention further provides a report printing method. With reference to fig. 5, the method comprises the following steps:
step 201, obtaining a printing report template, wherein the printing report template comprises a report header, a detail grid and a report footer.
Step 202, according to the printed report template, determining a to-be-printed report carrying report identification information, wherein the report identification information is used for identifying the to-be-printed report.
In this step, as shown in fig. 5, the report head of the report to be printed is "warehouse entry detail report", "lane line", "customer", "unit", "bin number", and the like, the detail grid is the grid in fig. 5, and the report tail is "total". In fig. 5, the report identification information may be a grain warehousing entry.
Step 203, calling a printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information.
In this step, a printing platform corresponding to the report identification information can be called through the IP address, the port number and the grain warehousing entry. It will be appreciated that the printing platform has pre-stored parameter sets and field sets.
Step 204, obtaining the printing parameters of the report to be printed sent by the printing platform, and determining the parameters of the report head, the header line, the group head, the group tail and the report tail of the report to be printed according to the parameter set of the report to be printed.
In this step, the parameter set may include "lane line", "client", "car number", "box number", "goods name", "total", and the like.
Step 205, determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
In this step, the set of fields may include "grain 2", "8100537", "soybean", etc.
And step 206, extracting signature information in the field set according to the field set of the report to be printed, and hiding the signature information in the report tail.
In this step, because the signature information is relatively private, the signature information may not be displayed in the printed detailed report, but may be hidden in the electronic data of the report, so that the responsible person (i.e., the signature information) responsible for the warehousing entry or the vehicle number may be extracted according to the needs of the customer.
As shown in fig. 3 and 4, an embodiment of the present invention provides a device where a report printing apparatus is located and the report printing apparatus. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. From a hardware level, as shown in fig. 3, a hardware structure diagram of a device in which the report printing apparatus according to the embodiment of the present invention is located is provided, where the device in the embodiment may generally include other hardware, such as a forwarding chip responsible for processing a packet, in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 3. Taking a software implementation as an example, as shown in fig. 4, as a logical apparatus, the apparatus is formed by reading a corresponding computer program instruction in a non-volatile memory into a memory by a CPU of a device in which the apparatus is located and running the computer program instruction.
As shown in fig. 4, the report printing apparatus provided in this embodiment includes:
the acquiring module 401 is configured to acquire a printed report template, where the printed report template includes a report header, a detailed grid, and a report trailer;
a first determining module 402, configured to determine, according to the report printing template, a to-be-printed report carrying report identification information, where the report identification information is used to identify the to-be-printed report;
a calling module 403, configured to call, according to the IP address, the port number, and the report identification information, a printing platform corresponding to the report identification information;
a second determining module 404, configured to obtain a printing parameter of the report to be printed sent by the printing platform, and determine a report header, a detail grid, and a report trailer of the report to be printed according to the printing parameter.
In this embodiment of the present invention, the obtaining module 401 may be configured to execute step 101 in the foregoing method embodiment, the first determining module 402 may be configured to execute step 102 in the foregoing method embodiment, the invoking module 403 may be configured to execute step 103 in the foregoing method embodiment, and the second determining module 404 may be configured to execute step 104 in the foregoing method embodiment.
In one embodiment of the invention, the detail grid comprises a header row, a packet header and a packet trailer, the printing parameters comprise a parameter set, and the parameter set comprises at least one parameter;
the second determining module 404 is specifically configured to, when determining the report header, the detailed grid, and the report footer of the report to be printed according to the printing parameters, perform the following operations:
and determining parameters of a report head, the header line, the grouping head, the grouping tail and a report tail of the report to be printed according to the parameter set of the report to be printed.
In one embodiment of the invention, said detail grid further comprises content lines, said printing parameters further comprise a set of fields comprising at least one field belonging to the same said parameter;
the second determining module 404 is specifically configured to, when determining the report header, the detailed grid, and the report footer of the report to be printed according to the printing parameters, perform the following operations:
and determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
In one embodiment of the present invention, the field set includes signature information, and the type of the signature information is binary;
the second determining module 404, when determining fields of the report header, the content line, and the report footer of the report to be printed according to the field set of the report to be printed, includes:
and according to the field set of the report to be printed, extracting signature information in the field set, and hiding the signature information in the report tail.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the report printing apparatus. In other embodiments of the invention, the report printing apparatus may include more or fewer components than shown, or some components may be combined, some components may be separated, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the content of information interaction, execution process, and the like among the modules in the device is based on the same concept as the method embodiment of the present invention, specific content can be referred to the description in the method embodiment of the present invention, and is not described herein again.
The embodiment of the invention also provides a report printing device, which comprises: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is used for calling the machine readable program to execute the report printing method in any embodiment of the invention.
Optionally, the at least one processor, when executing the executable instructions, is further configured to: the detail grid comprises a header line, a grouping header and a grouping tail, the printing parameters comprise a parameter set, and the parameter set comprises at least one parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining parameters of a report head, the header line, the grouping head, the grouping tail and a report tail of the report to be printed according to the parameter set of the report to be printed.
Optionally, the at least one processor, when executing the executable instructions, is further configured to: the detail grid further comprises a content line, the printing parameters further comprise a field set, and the field set comprises at least one field belonging to the same parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
Optionally, the at least one processor, when executing the executable instructions, is further configured to: the field set comprises signature information, and the type of the signature information is binary;
determining fields of a report head, a detailed grid and a report tail of the report to be printed according to the field set of the report to be printed, wherein the determining comprises the following steps:
and according to the field set of the report to be printed, extracting signature information in the field set, and hiding the signature information in the report tail.
Embodiments of the present invention also provide a computer-readable medium storing instructions for causing a computer to perform a report printing method as described herein. Specifically, a method or an apparatus equipped with a storage medium on which a software program code that realizes the functions of any of the above-described embodiments is stored may be provided, and a computer (or a CPU or MPU) of the method or the apparatus is caused to read out and execute the program code stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments can be implemented not only by executing the program code read out by the computer, but also by performing a part or all of the actual operations by an operation method or the like operating on the computer based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. The report printing method is characterized by comprising the following steps:
acquiring a printing report template, wherein the printing report template comprises a report head, a detail grid and a report tail;
determining a report to be printed carrying report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed;
calling a printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information;
acquiring the printing parameters of the report to be printed sent by the printing platform, and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters.
2. The method of claim 1, wherein the detail grid includes a header row, a packet header, and a packet trailer, and wherein the printing parameters include a set of parameters including at least one parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining parameters of a report head, the header line, the grouping head, the grouping tail and a report tail of the report to be printed according to the parameter set of the report to be printed.
3. The method of claim 2, wherein the detail grid further comprises content lines, the print parameters further comprise a set of fields comprising at least one field belonging to the same parameter;
determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters, comprising:
and determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
4. The method of claim 3, wherein the set of fields includes signature information, and wherein the signature information is binary in type;
determining fields of a report head, a detailed grid and a report tail of the report to be printed according to the field set of the report to be printed, wherein the determining comprises the following steps:
and according to the field set of the report to be printed, extracting signature information in the field set, and hiding the signature information in the report tail.
5. The method of any of claims 1-4, wherein the print parameters further include a report type, a report filename, a report version, a number of prints, a printer name, a print offset, and a print job identification.
6. Report printing apparatus, characterized by comprising:
the system comprises an acquisition module, a report printing module and a report printing module, wherein the acquisition module is used for acquiring a report printing template, and the report printing template comprises a report header, a detailed grid and a report trailer;
the first determining module is used for determining a report to be printed which carries report identification information according to the report printing template, wherein the report identification information is used for identifying the report to be printed;
the calling module is used for calling the printing platform corresponding to the report identification information according to the IP address, the port number and the report identification information;
and the second determining module is used for acquiring the printing parameters of the report to be printed sent by the printing platform and determining a report head, a detailed grid and a report tail of the report to be printed according to the printing parameters.
7. The apparatus of claim 6, wherein the detail grid comprises a header row, a packet header, and a packet trailer, wherein the printing parameters comprise a set of parameters, wherein the set of parameters comprises at least one parameter;
the second determining module is specifically configured to perform the following operations when determining the report header, the detailed grid, and the report footer of the report to be printed according to the printing parameters:
and determining parameters of a report head, the header line, the grouping head, the grouping tail and a report tail of the report to be printed according to the parameter set of the report to be printed.
8. The apparatus of claim 7, wherein the detail grid further comprises content lines, wherein the print parameters further comprise a set of fields comprising at least one field belonging to the same parameter;
the second determining module is specifically configured to perform the following operations when determining the report header, the detailed grid, and the report footer of the report to be printed according to the printing parameters:
and determining fields of a report head, the content line and a report tail of the report to be printed according to the field set of the report to be printed.
9. Report printing apparatus, characterized by comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program, to perform the method of any of claims 1 to 5.
10. Computer readable medium, characterized in that it has stored thereon computer instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 5.
CN202010993093.8A 2020-09-21 2020-09-21 Report printing method and device and readable medium Pending CN112068785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010993093.8A CN112068785A (en) 2020-09-21 2020-09-21 Report printing method and device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010993093.8A CN112068785A (en) 2020-09-21 2020-09-21 Report printing method and device and readable medium

Publications (1)

Publication Number Publication Date
CN112068785A true CN112068785A (en) 2020-12-11

Family

ID=73681861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010993093.8A Pending CN112068785A (en) 2020-09-21 2020-09-21 Report printing method and device and readable medium

Country Status (1)

Country Link
CN (1) CN112068785A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6031625A (en) * 1996-06-14 2000-02-29 Alysis Technologies, Inc. System for data extraction from a print data stream
CN103034464A (en) * 2012-12-06 2013-04-10 南京邮电大学 Method for notifying remote printing electronic-commerce platform of information update
CN104827780A (en) * 2015-04-30 2015-08-12 深圳市创鑫激光股份有限公司 Printing method and printing platform
CN105279228A (en) * 2015-09-14 2016-01-27 深圳市永兴元科技有限公司 Report processing method and device based on extensible markup language
CN106970767A (en) * 2017-03-03 2017-07-21 华中科技大学 It is a kind of to realize the method and system that local printer accesses cloud print platform
CN107463348A (en) * 2017-07-05 2017-12-12 深圳市坐标软件开发有限公司 Web ends user-defined format print method and system are realized based on B/S frameworks
CN109240625A (en) * 2018-08-09 2019-01-18 深圳市口袋网络科技有限公司 A kind of document structure tree method, apparatus and computer storage medium suitable for printing
CN110362281A (en) * 2019-05-29 2019-10-22 益萃网络科技(中国)有限公司 Print control program, device, computer equipment and storage medium
CN111124324A (en) * 2019-12-27 2020-05-08 中国银行股份有限公司 Voucher printing method and device
CN111240609A (en) * 2020-01-03 2020-06-05 北京辰森世纪科技股份有限公司 Data printing method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6031625A (en) * 1996-06-14 2000-02-29 Alysis Technologies, Inc. System for data extraction from a print data stream
CN103034464A (en) * 2012-12-06 2013-04-10 南京邮电大学 Method for notifying remote printing electronic-commerce platform of information update
CN104827780A (en) * 2015-04-30 2015-08-12 深圳市创鑫激光股份有限公司 Printing method and printing platform
CN105279228A (en) * 2015-09-14 2016-01-27 深圳市永兴元科技有限公司 Report processing method and device based on extensible markup language
CN106970767A (en) * 2017-03-03 2017-07-21 华中科技大学 It is a kind of to realize the method and system that local printer accesses cloud print platform
CN107463348A (en) * 2017-07-05 2017-12-12 深圳市坐标软件开发有限公司 Web ends user-defined format print method and system are realized based on B/S frameworks
CN109240625A (en) * 2018-08-09 2019-01-18 深圳市口袋网络科技有限公司 A kind of document structure tree method, apparatus and computer storage medium suitable for printing
CN110362281A (en) * 2019-05-29 2019-10-22 益萃网络科技(中国)有限公司 Print control program, device, computer equipment and storage medium
CN111124324A (en) * 2019-12-27 2020-05-08 中国银行股份有限公司 Voucher printing method and device
CN111240609A (en) * 2020-01-03 2020-06-05 北京辰森世纪科技股份有限公司 Data printing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7583410B1 (en) System to create image transparency in a file generated utilizing a print stream
US8089644B2 (en) Image-processing device, recording medium, and method
JP5132493B2 (en) Data processing apparatus, job inspection method, and computer program
US7196808B2 (en) Printing in a secure environment
US20080285074A1 (en) Systems, devices, and methods for variable data printing
US8823964B2 (en) Control device for causing a print execution unit to execute printing
JPH0646244A (en) Method for usage of image from form in automatic generation of form of sheet
US8233185B2 (en) Page parallel RIP and cache tuning in print/copy job environment utilizing page description languages
US20070008567A1 (en) Driver of server managing image forming device drivers, and data printing method using the same
US9058139B2 (en) Function expansion method using print data, and function expansion device
JP2009064439A (en) System and method for generating customized multimedia greeting card
JP2018106717A (en) Preserving logical page order in print job
US7085998B2 (en) Mapping a print stream for printing on mailers from a first application for input to a second application
US20040130745A1 (en) Automatic printer optimization settings
US20100231952A1 (en) Printing system and method
US7924447B2 (en) Method and system for workload balancing
CN112068785A (en) Report printing method and device and readable medium
US20080313201A1 (en) System and method for compact representation of multiple markup data pages of electronic document data
US10657427B2 (en) Information processing apparatus, information processing method and storage medium
CN115454360A (en) Label printing method, device and medium capable of flexibly adjusting printing format
US20060156071A1 (en) Approach for resolving printer driver incompatibility problems
US9147091B2 (en) Printing barcodes from an enterprise resource planning (ERP) system
US8860994B2 (en) Electronic replacement of pre-printed forms
US10789030B2 (en) Document pooling mechanism
US11449282B2 (en) Control device configured to cause print executing unit to print and non-transitory computer-readable recording medium storing computer readable instructions for control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination