Printing method, apparatus, device, medium, and program product

By parsing the bookmarks in the pre-configured print template, identifying and inserting print data at the corresponding positions, the problem of cumbersome and error-prone printing operations in existing technologies is solved, achieving efficient and accurate document printing.

CN119620966BActive Publication Date: 2026-05-01CHINA CONSTRUCTION BANK +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA CONSTRUCTION BANK
Filing Date
2024-11-21
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing printing technologies are cumbersome, inefficient, and prone to errors when printing files in batches, especially for files containing multiple different data fields. Manually adjusting the format and position is time-consuming and error-prone.

Method used

By obtaining the file category and print data, the system matches bookmarks in the pre-configured print template, uses the delimiters in the bookmarks to parse the field types, and precisely inserts the print data into the corresponding positions. It supports flexible adjustment of text, options, and single-character grid fill types.

Benefits of technology

It improves printing efficiency and accuracy, avoids errors caused by manual input, and adapts to complex and diverse printing needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119620966B_ABST
    Figure CN119620966B_ABST
Patent Text Reader

Abstract

The present disclosure provides a printing method, which can be applied to the field of financial technology and the field of big data technology. The printing method comprises: obtaining a first parameter and a second parameter in a printing request, the first parameter being used to indicate a file category of a to-be-printed file, and the second parameter being used to indicate a plurality of groups of printing data in the to-be-printed file; obtaining a printing template matched with the file category, at least one target position in the printing template being configured with a bookmark, the bookmark being used to indicate a field type of the target position, and at least one segmentation mark being set in each bookmark, the segmentation mark being used to segment the corresponding bookmark into different components; according to the segmentation mark, analyzing each bookmark to determine the field type of the target position corresponding to each bookmark; and according to the field type corresponding to each bookmark, inserting each group of printing data in the plurality of groups of printing data into a corresponding target position. The present disclosure also provides a printing device, equipment, storage medium and program product.
Need to check novelty before this filing date? Find Prior Art

Description

Printing methods, apparatus, equipment, media and program products Technical Field

[0001] This disclosure relates to the field of big data technology, specifically to a printing method, apparatus, device, medium, and program product. Background Technology

[0002] In current printing technology, when users need to print documents, they typically need to import the document content into specific printing software and then manually adjust the document format and layout according to printing requirements. This method is not only cumbersome and inefficient, but also prone to errors. Especially for documents that need to be printed in batches, such as forms, invoices, and reports, each document may contain multiple different data fields. Manually adjusting the position and format of each field is a time-consuming and error-prone task, and the printed results are often unsatisfactory. Summary of the Invention

[0003] In view of the above problems, this disclosure provides printing methods, apparatus, devices, media and program products that improve the efficiency, accuracy and flexibility of document printing.

[0004] According to a first aspect of this disclosure, a printing method is provided, comprising: obtaining a first parameter and a second parameter from a received print request, the first parameter indicating a file category of a file to be printed, and the second parameter indicating multiple sets of print data in the file to be printed; obtaining a print template matching the file category, wherein at least one target position in the print template is configured with a bookmark, the bookmark indicating a corresponding field type of the target position, the field type including one of text type, option type, and grid single character fill type, and each bookmark having at least one delimiter, the delimiter dividing the corresponding bookmark into different components, the components being at least used to characterize the field name and field type of the bookmark; parsing each bookmark according to the delimiter to determine the field type of the target position corresponding to each bookmark; and inserting each set of print data from the multiple sets of print data into the corresponding target position according to the field type corresponding to each bookmark.

[0005] According to an embodiment of this disclosure, the print template is an editable document format; before parsing each bookmark, the method further includes: loading the print template in the editable document format to obtain an object instance of the print template; and in the object instance, traversing the paragraphs and / or tables of the print template to obtain each bookmark.

[0006] According to embodiments of this disclosure, parsing each bookmark based on segmentation markers and determining the field type of the target location corresponding to each bookmark includes: identifying segmentation markers in the bookmarks to determine the components of each bookmark; and performing feature information checks on each component to determine the field type of each bookmark.

[0007] According to an embodiment of this disclosure, the bookmark includes a first bookmark to be parsed; parsing each bookmark and determining the field type of the target position corresponding to each bookmark includes: dividing the first bookmark to be parsed according to the segmentation marker to obtain a first component; if the first component consists of a field name, the number of prints and a text field type, and the number of prints is a positive integer, the first bookmark to be parsed is determined to be a text type bookmark.

[0008] According to embodiments of this disclosure, inserting each set of printed data from multiple sets of printed data into the corresponding target position according to the field type corresponding to each bookmark includes: obtaining the style of the text type bookmark, wherein the style represents the format of the font and font size; and inserting the characters to be inserted in the printed data into the printing position of the text type bookmark according to the style.

[0009] According to an embodiment of this disclosure, the bookmark includes a second bookmark to be parsed; parsing each bookmark and determining the field type of the target position corresponding to each bookmark includes: dividing the second bookmark to be parsed according to the splitting mark to obtain a second component; if the second component consists of a field name, number of prints, check box field type and dictionary value, and the number of prints is a positive integer, the second bookmark to be parsed is determined to be an option type bookmark.

[0010] According to embodiments of this disclosure, inserting each set of print data from multiple sets of print data into the corresponding target position according to the field type corresponding to each bookmark includes: obtaining the style of the option type bookmark, the style representing the format of the font and font size; wrapping the option mark characters in the print data with circled marks; and inserting the wrapped option mark characters into the print position of the option type bookmark according to the style.

[0011] According to an embodiment of this disclosure, the bookmark includes a third bookmark to be parsed; parsing each bookmark and determining the field type of the target position corresponding to each bookmark includes: dividing the third bookmark to be parsed according to the splitting mark to obtain a third component; if the third component consists of a field name, number of prints, character fill field type and format number, and the number of prints and the cell number are both positive integers, the third bookmark to be parsed is determined to be a cell single character fill type bookmark.

[0012] According to embodiments of this disclosure, inserting each set of printed data into the corresponding target position from multiple sets of printed data according to the field type corresponding to each bookmark includes: obtaining the style of the grid single-character fill type bookmark, the style representing the format of the font and font size; wrapping the character to be inserted in the printed data with a circled mark; and inserting the wrapped character to be inserted into the printing position of the grid single-character fill type bookmark according to the style.

[0013] A second aspect of this disclosure provides a printing apparatus, comprising: a first acquisition module, configured to acquire a first parameter and a second parameter from a received print request, the first parameter indicating the file category of the document to be printed, and the second parameter indicating multiple sets of print data in the document to be printed; a second acquisition module, configured to acquire a print template matching the file category, wherein at least one target position in the print template is configured with a bookmark, the bookmark indicating the corresponding field type of the target position, the field type including one of text type, option type, and grid single character fill type, and each bookmark having at least one dividing marker, the dividing marker dividing the corresponding bookmark into different components, the components being at least used to characterize the field name and field type of the bookmark; a parsing module, configured to parse each bookmark according to the dividing marker, and determine the field type of the target position corresponding to each bookmark; and an insertion module, configured to insert each set of print data from the multiple sets of print data into the corresponding target position according to the field type corresponding to each bookmark.

[0014] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method described above.

[0015] A fourth aspect of this disclosure also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implement the steps of the above-described method.

[0016] The fifth aspect of this disclosure also provides a computer program product, including a computer program or instructions that, when executed by a processor, implement the steps of the above-described method.

[0017] Based on the above, the system retrieves the corresponding print template according to the file category. By parsing the bookmarks pre-configured in the print template, it can identify the field type corresponding to the print position, thus accurately inserting the print data into the appropriate print location. This avoids errors that may occur due to manual data entry, improving printing efficiency and accuracy. The template can be configured according to the file category and includes pre-configured bookmarks. These bookmarks indicate the field type at the target location, such as text, option, and single-character fill types, allowing users to flexibly adjust the layout and data fields of the print template according to actual needs, suitable for complex and diverse printing requirements. Through the delimiters set in the bookmarks, the system can parse the bookmark content into multiple logically independent components, making it easier to process and understand the bookmark structure, improving the accuracy and efficiency of bookmark content recognition, and further enhancing printing accuracy and efficiency. Attached Figure Description

[0018] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0019] Figure 1 schematically illustrates an application scenario of the printing method, apparatus, device, medium, and program product according to embodiments of the present disclosure;

[0020] Figure 2 schematically illustrates a flowchart of a printing method according to an embodiment of the present disclosure;

[0021] Figure 3 schematically illustrates a flowchart of a voucher printing method according to an embodiment of the present disclosure;

[0022] Figure 4 schematically illustrates a text type bookmark structure diagram according to an embodiment of the present disclosure;

[0023] Figure 5 schematically illustrates an option type bookmark structure diagram according to an embodiment of the present disclosure;

[0024] Figure 6 schematically illustrates a grid-based single-character filled bookmark structure according to an embodiment of the present disclosure;

[0025] Figure 7 schematically illustrates a flowchart of bookmark parsing according to an embodiment of the present disclosure;

[0026] Figure 8 schematically illustrates a structural block diagram of a printing apparatus according to an embodiment of the present disclosure; and

[0027] Figure 9 schematically illustrates a block diagram of an electronic device suitable for implementing a printing method according to an embodiment of the present disclosure. Detailed Implementation

[0028] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0029] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0030] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0031] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0032] It should be noted that the printing method and apparatus disclosed herein can be used in data processing applications in the financial field, as well as in data processing applications in any field other than the financial field. The application fields of the printing method and apparatus disclosed herein are not limited.

[0033] It should be noted that in the embodiments disclosed herein, certain software, components, models, and other existing solutions in the industry may be mentioned. These should be considered as exemplary and are intended only to illustrate the feasibility of implementing the technical solutions disclosed herein. However, they do not mean that the applicant has used or necessarily used such solutions.

[0034] In the technical solution disclosed herein, the user information (including but not limited to user personal information, user image information, user device information, such as location information) and data (including but not limited to data used for analysis, stored data, and displayed data) involved are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with relevant laws, regulations, and standards, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding operation entry points are provided for users to choose to authorize or refuse.

[0035] In scenarios involving automated decision-making using personal information, the methods, devices, and systems provided in this disclosure all offer users corresponding entry points for choosing to agree to or reject the automated decision-making results. If the user chooses to reject, the process proceeds to the expert decision-making stage. Here, "automated decision-making" refers to the activity of automatically analyzing and evaluating an individual's behavioral habits, interests, or economic, health, and credit status through computer programs, and then making a decision. Here, "expert decision-making" refers to the activity of making decisions by personnel who specialize in a particular field, possess specialized experience, knowledge, and skills, and have reached a certain level of professional expertise.

[0036] Embodiments of this disclosure provide a printing method, comprising: obtaining a first parameter and a second parameter from a received print request, wherein the first parameter indicates the file category of the file to be printed, and the second parameter indicates multiple sets of print data in the file to be printed; obtaining a print template matching the file category, wherein at least one target position in the print template is configured with a bookmark, the bookmark indicating the corresponding field type of the target position, the field type including one of text type, option type, and grid single character fill type, and each bookmark is provided with at least one split marker, the split marker being used to divide the corresponding bookmark into different components, the components being at least used to characterize the field name and field type of the bookmark; parsing each bookmark according to the split marker to determine the field type of the target position corresponding to each bookmark; and inserting each set of print data from the multiple sets of print data into the corresponding target position according to the field type corresponding to each bookmark.

[0037] Figure 1 schematically illustrates an application scenario of the printing method, apparatus, device, medium, and program product according to embodiments of the present disclosure.

[0038] As shown in Figure 1, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 serves as a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0039] Users can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0040] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0041] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (this is just an example). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.

[0042] It should be noted that the printing method provided in this embodiment can generally be executed by server 105. Correspondingly, the printing device provided in this embodiment can generally be located in server 105. The printing method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105. Correspondingly, the printing device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105.

[0043] It should be understood that the number of terminal devices, networks, and servers shown in Figure 1 is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0044] The printing method of the disclosed embodiment will be described in detail below based on the scenario described in FIG1 and with reference to FIG2.

[0045] Figure 2 schematically illustrates a flowchart of a printing method according to an embodiment of the present disclosure.

[0046] As shown in Figure 2, the printing method of this embodiment includes operations S210 to S240, and this transaction processing method can be executed by server 105.

[0047] In operation S210, the first parameter and the second parameter in the received print request are obtained. The first parameter is used to indicate the file type of the file to be printed, and the second parameter is used to indicate multiple sets of print data in the file to be printed.

[0048] Print requests can originate from various sources, such as network requests, local function calls, or message queues. The format of the print request can be JSON, XML, or other structured data formats; this disclosure does not impose any specific limitations. Once a request is received, the request data can be parsed to extract key information, namely the first and second parameters. The file category can represent the name of the document to be printed, such as asset certificates, invoices, vouchers, etc.

[0049] In operation S220, a print template matching the document category is obtained. At least one target position in the print template is configured with a bookmark. The bookmark is used to indicate the corresponding field type of the target position. The field type includes one of text type, option type and grid single character fill type. Each bookmark is set with at least one split marker. The split marker is used to divide the corresponding bookmark into different components. The components are used to characterize the field name and field type of the bookmark.

[0050] An internal template library can be maintained, where each template is associated with one or more file categories, enabling automatic matching. Print templates in the library are indexed by file category, and a template matching the specified file category is searched for.

[0051] Before using a template, the corresponding bookmarks need to be pre-configured. For example, bookmarks can be set at the print location of the template using a graphical user interface (GUI) editing tool or through code / scripts, specifying the bookmark type, name, and attributes. In some embodiments, the template with bookmarks configured can be tested, for example, by generating a preview or verifying data filling, to test the effect of the bookmarks.

[0052] Bookmarks in templates act as guides, marking the specific locations where data needs to be filled. Each bookmark is associated with a specific field type, ensuring accurate data filling. In print templates, bookmarks indicate various field types to accommodate different data filling needs. Text types are suitable for filling text content such as titles and paragraphs. Option types can be single-choice or multiple-choice, often used for filling in fixed options in forms, such as gender or education fields. Grid-based single-character fill types can be used to fill in single characters, as well as locations requiring special character marking. Separators can be specific text strings, symbols, or formatting tags; they are unique within the bookmark or follow certain rules so the system can accurately recognize them.

[0053] In operation S230, each bookmark is parsed to determine the field type of the target location corresponding to each bookmark.

[0054] For each bookmark, its contained information needs to be parsed. This information may include, for example, the bookmark's name, location, and the associated field type. The field type indicates the data type corresponding to the bookmark, such as text, options, single-character fill in a cell, etc. Based on the parsed results, the field type for the target location corresponding to each bookmark can be determined. This can be achieved, for example, by looking up template configuration information or the bookmark's own metadata. Taking text as an example, if a bookmark is marked as text, then it can be known that when filling in data, that location should accept a piece of text.

[0055] In operation S240, based on the field type corresponding to each bookmark, each set of print data from multiple sets of print data is inserted into the corresponding target position.

[0056] The field values ​​that need to be filled into the template can be extracted from the printed data. Based on the identified field type, the corresponding field values ​​are inserted into the target positions. The insertion method differs slightly for different field types. For text types, the text content can be directly inserted into the corresponding print position. For option types or grid-filled types, the text can be processed before insertion to ensure accurate character placement and satisfactory printing results. Further explanation of inserting different field types will follow.

[0057] Through the above embodiments, corresponding print templates are obtained based on file categories. By parsing bookmarks pre-configured in the print templates, the field types corresponding to the printing positions can be identified, allowing for precise insertion of print data into the appropriate print locations. This avoids errors that may occur with manual data input, improving printing efficiency and accuracy. Templates can be configured according to file categories and pre-configured with bookmarks. These bookmarks indicate the field types at the target locations, such as text, option, and single-character fill types, allowing users to flexibly adjust the layout and data fields of the print template according to actual needs, suitable for complex and diverse printing requirements. Through segmentation tags, the system can parse the content of bookmarks into multiple logically independent components, making it easier to process and understand the structure of bookmarks, improving the accuracy and efficiency of bookmark content recognition, and further enhancing printing accuracy and efficiency.

[0058] Based on the above embodiments, the printing template is an editable document format; before parsing each bookmark, the printing method may further include: loading the print template in the editable document format to obtain an object instance of the print template; in the object instance, traversing the paragraphs and / or tables of the print template to obtain each bookmark.

[0059] Editable print templates support editing and formatting of various elements such as text, images, and tables, facilitating template generation and adjustment, as well as pre-configuration of bookmarks. Configured print templates can be stored in a specific location and read from a specified path or data source when needed. Based on the template file's format, a corresponding object instance is created. This instance is a document object represented in memory, containing all the template's content and structural information.

[0060] After loading the template and creating an object instance, you can access the document's structural information, such as paragraph sets and table sets, through the APIs or methods provided by the object instance. For each paragraph or table, iterate through them one by one. During iteration, check each element for bookmarks. When a bookmark is detected, extract its information. For each identified bookmark, extract its name, location, and possible other attributes (such as field type, default value, etc.) for subsequent data population.

[0061] By loading print templates in editable document formats, traversing paragraphs and / or tables within the templates, and extracting bookmark information, all bookmarks in the template can be quickly and accurately identified without complex procedures or recognition operations, ensuring the accuracy and efficiency of template processing.

[0062] Based on the above embodiments, parsing each bookmark according to the segmentation markers and determining the field type of the target position corresponding to each bookmark includes: identifying the segmentation markers in the bookmarks and determining the components of each bookmark; checking the feature information of each component and determining the field type of each bookmark.

[0063] Examining the characteristic information of each component, such as field content and format, helps the system identify the field type of each component. Using the dividing markers in the bookmarks, the system can automatically and accurately segment the bookmarks into different components, and determine the field type of each bookmark through characteristic information checks. This enables automatic and accurate identification of field types in bookmarks, providing the necessary preparation for subsequent print data preparation and data population, ensuring the accuracy and efficiency of the entire printing job.

[0064] Based on the above embodiments, this disclosure sets up corresponding bookmarks and bookmark parsing processes for different field types. In this disclosure, bookmarks may include first, second, and third bookmarks to be parsed, corresponding to text type, option type, and single-character fill type. These types can basically cover the printing requirements in a document. It should be noted that the print template may include one, two, or three of the above bookmarks, and the number of bookmarks is not specifically limited.

[0065] For the first bookmark to be parsed, i.e. a text type bookmark, determining the field type of the target position corresponding to each bookmark may include: dividing the first bookmark to be parsed according to the delimiter to obtain a first component; if the first component consists of a field name, the number of prints and a text field type, and the number of prints is a positive integer, then the first bookmark to be parsed is determined to be a text type bookmark.

[0066] The first bookmark to be parsed is segmented according to the segmentation markers defined above, and each component of the first bookmark to be parsed is examined. The field name is the identifier of the bookmark and can be used to find the corresponding value in the printed data. The print count is the number of times this field needs to be repeated in the final printed document; this can be set as needed, for example, 2, 3, 4, etc. Text field types can be identified by examining specific markers or keywords after the field name.

[0067] By segmenting and inspecting the content of the first component of the bookmark to be parsed, the field names of the text-type bookmark can be accurately parsed, facilitating the precise insertion of the printed content into the corresponding positions. The bookmark can also be configured to print multiple times, automatically printing the same text content multiple times without requiring manual setting of printing parameters, thus improving printing efficiency.

[0068] Correspondingly, for text-type bookmarks, inserting each set of print data from multiple sets of print data into the corresponding target position according to the field type of each bookmark may include: obtaining the style of the text-type bookmark, where the style represents the format of the font and font size; and inserting the characters to be inserted in the print data into the print position of the text-type bookmark according to the style.

[0069] For example, style information for text-based bookmarks can be extracted from templates or bookmark definitions. This style information typically includes attributes such as font type, font size, font color, bold, italics, and underline. Styles can be preset when creating a template or specified when defining a bookmark. Style information can be stored in a specific section of the template file and can be associated with bookmarks using a markup language.

[0070] When inserting print data, the data can be formatted according to the extracted style information, and then the formatted data can be inserted up to the specified bookmark. It's important to note that insertion can also be a replacement operation; for example, replacing the original content in a bookmark with the text to be printed.

[0071] By obtaining the style information of text-type bookmarks, preparing the characters to be inserted into the printed data, and inserting the data into the specified position of the bookmark with the correct style, it can be ensured that the printed output has the correct format and accurate content.

[0072] For the second bookmark to be parsed, i.e., the option type bookmark, parsing each bookmark and determining the field type of the target position corresponding to each bookmark may include: dividing the second bookmark to be parsed according to the delimiter to obtain the second component; if the second component consists of field name, print count, check box field type and dictionary value, and the print count is a positive integer, the second bookmark to be parsed is determined to be an option type bookmark.

[0073] The parsing process for option-type bookmarks is similar to that for text-type bookmarks, so we won't repeat the details. The main difference is that option-type bookmarks also include checkbox field types and dictionary values. Checkboxes can be checkboxes or radio buttons. Dictionary values ​​are used to define the specific content of the options; dictionary values ​​can be text, numbers, or codes, depending on the bookmark's definition and usage scenario.

[0074] By segmenting and examining the content of the second component of the bookmark to be parsed, the field names of the option-type bookmark can be accurately parsed, facilitating the precise insertion of the printed content into the corresponding positions. The bookmark also has a print count setting, which automatically enables multiple print runs of the same text content without requiring manual setting of print parameters, thus improving printing efficiency.

[0075] Correspondingly, for option-type bookmarks, inserting each set of print data from multiple sets of print data into the corresponding target position according to the field type of each bookmark may include: obtaining the style of the option-type bookmark, where the style represents the format of the font and font size; wrapping the option mark characters in the print data with circled marks; and inserting the wrapped option mark characters into the print position of the option-type bookmark according to the style.

[0076] The process of inserting option-type bookmarks is similar to that of text-type bookmarks, so I won't repeat it here. The main difference is that option-type bookmarks require the use of circled (e.g., circular or square) markers to indicate the option characters in the printed data. For example, you can enclose the symbol "√" in a square and insert it into the corresponding printing position, or replace the original content.

[0077] By obtaining the style information of the option type bookmark, preparing the characters to be inserted for printing data, and inserting the data into the specified position of the bookmark with the correct style, it can be ensured that the printed output has the correct format and accurate content.

[0078] For the third bookmark to be parsed, namely the single-character-filled grid bookmark, parsing each bookmark and determining the field type of the target position corresponding to each bookmark may include: dividing the third bookmark to be parsed according to the delimiter to obtain the third component; if the third component consists of field name, number of prints, character fill field type and format number, and the number of prints and grid number are both positive integers, then the third bookmark to be parsed is determined to be a single-character-filled grid bookmark.

[0079] The parsing process for single-character fill type bookmarks is similar to that for text type bookmarks, so we won't repeat it here. The main difference is that single-character fill type bookmarks also include a character fill field type and a format number. The character fill field type indicates that this is a field type that needs to be filled with characters. It can be a specific text markup or code. The format number is used to identify the specific cell position or order in which the characters need to be filled. These numbers usually correspond to the cell layout when printing or filling out forms.

[0080] By segmenting and inspecting the content of the third component of the bookmark to be parsed, the field names of the grid-filled single-character type bookmark can be accurately parsed, facilitating the precise insertion of the printed content into the corresponding position of the grid-filled single-character type bookmark. The bookmark also has a print count setting, which can automatically print the same text content multiple times without manually setting print parameters, thus improving printing efficiency.

[0081] Correspondingly, for grid-filled single-character bookmarks, inserting each set of print data from multiple sets of print data into the corresponding target position according to the field type of each bookmark may include: obtaining the style of the grid-filled single-character bookmark, where the style represents the format of the font and font size; wrapping the character to be inserted in the print data with a circled marker; and inserting the wrapped character into the print position of the grid-filled single-character bookmark according to the style.

[0082] The insertion process for grid-filled single-character bookmarks is similar to that for option-filled bookmarks, so I won't repeat the details. The main difference is that grid-filled single-character bookmarks don't use circled (e.g., circular or square) markers for option markers; instead, they use the value to fill the corresponding position. For example, you can wrap the number "1" in a box and insert it into the corresponding printing position, or replace existing content.

[0083] By obtaining the style information of the grid single-character fill type bookmark, preparing the characters to be inserted for printing data, and inserting the data into the specified position of the bookmark with the correct style, it can be ensured that the printed output has the correct format and accurate content.

[0084] To facilitate a better understanding of this disclosure, the application of embodiments of this disclosure in voucher printing is described below with reference to Figures 3 to 7. The voucher may be, for example, a banking transaction voucher. It should be emphasized that the specific embodiments described below are merely examples and are not intended to limit the scope of this disclosure.

[0085] Banking transaction vouchers are paper documents printed by the bank to record essential elements of a business transaction when a customer conducts various transactions. Currently, voucher printing is provided by a voucher repository system as a common component for application systems. Application systems must first create a voucher template according to the voucher repository's specifications, then write the printing data relationships, and finally use the voucher API provided by the component to complete the printing output. However, this approach has the following drawbacks: 1) High maintenance costs: When changes occur, the application system needs to coordinate with the voucher repository component in advance and determine the deployment time for the change, waiting for centralized changes; 2) Cumbersome configuration: The template template and printing relationship parameters are complex to configure. Template creation and adjustment require professional personnel, and adjusting printing relationships is also cumbersome, requiring certain development skills. For example, configuring multiple square grids for printing requires mastering certain expression languages ​​to trim and split text content; 3) Significant printing quality deviations: Because paper vouchers are used as the template, the printing quality is greatly affected by printer settings, paper placement angle, and flatness, easily leading to significant deviations between the printed content and the expected printing position.

[0086] Figure 3 schematically illustrates a flowchart of a voucher printing method according to an embodiment of the present disclosure, in order to solve the aforementioned problems faced in the existing voucher printing process.

[0087] As shown in Figure 3, the voucher printing process can be performed in the following steps:

[0088] ① The front-end first generates a voucher printing request, which carries necessary parameters such as "voucher type" and "data identifier". The voucher type can be regarded as the first parameter mentioned above, and the data identifier can be regarded as the second parameter mentioned above.

[0089] ② The background control program receives the voucher printing request. To ensure smooth printing, necessary parameters such as "voucher type" and "data identifier" can be validated to ensure they meet the requirements. If they do meet the requirements, subsequent operations are performed.

[0090] ③ Select the corresponding print template based on the "Voucher Type" parameter. The print template has pre-set bookmarks. The print template can be copied as the voucher output source file to a file directory. The file directory can be stored by date, and the output file can be named in the format "Voucher Type" + "_" + "Timestamp (yyyyMMddHHmmssSSS)". Simultaneously, the database is queried based on the "Data Identifier" parameter to retrieve detailed print data.

[0091] ④ Bookmark parsing. The bookmark parsing method described above can be used to parse the bookmarks in the template according to rules, determining the field type of the target position corresponding to each bookmark. This will be further explained in detail later in this embodiment.

[0092] ⑤ Based on the field type corresponding to each bookmark, insert each set of print data from multiple sets of print data into the corresponding target position. Further details will be provided later.

[0093] In this specific embodiment, it may further include a process for detecting and processing abnormal data.

[0094] When an anomalies occur, exceptions arising during print data querying, bookmark rule parsing, and bookmark-based print content processing are encapsulated into corresponding business exceptions and returned to the front end. Other non-checked exceptions are encapsulated into unified technical exception responses and also returned to the front end. In the absence of anomalies, all stages proceed as expected, voucher files are output, and the front end retrieves the voucher files via a transaction attachment request, at which point the process ends.

[0095] For the voucher printing process shown in Figure 3, this embodiment designs three different types of bookmarks, including: text, single / multiple selection, and single-character fill in a grid. The bookmark configuration considers the following aspects:

[0096] 1. Determine the structure. Field name + number of prints + field type + [dictionary value / cell number]. The dictionary value and cell number are optional. Configure the dictionary value when the field type is "single selection / multiple selection", and configure the cell number when the field type is "square cell single character fill".

[0097] 2. Specify the delimiter. The delimiter must use characters allowed by bookmarks. For example, components can be joined using the English format "__" (double underscores). In this case, field names and dictionary values ​​should avoid containing "__".

[0098] 3. Set the number of prints. This determines when the same field needs to be printed multiple times (to handle multi-part voucher requirements). For example, use number 1 the first time, number 2 the second time, and so on. Configure the number of prints as a number format value.

[0099] Figure 4 schematically illustrates a text-type bookmark structure diagram according to an embodiment of the present disclosure; Figure 5 schematically illustrates an option-type bookmark structure diagram according to an embodiment of the present disclosure; Figure 6 schematically illustrates a grid-filled single-character bookmark structure diagram according to an embodiment of the present disclosure.

[0100] As shown in Figure 4, a text bookmark can be composed of "field name", "print count", and "text", where UserName is the field name used to obtain the printed content, and text is the characteristic value of this type.

[0101] As shown in Figure 5, a single / multiple selection bookmark can consist of a "field name," "print count," a "radio" [checkbox], and a "dictionary value." "Gender" includes male and female; we can assume 0 represents male and 1 represents female. When the value of "gender" is 0, the option "male" is selected (checked). The "radio" [checkbox] is the characteristic value for this type. It's important to note that the number of bookmarks for the same "single / multiple selection" field must be the same as the number of dictionary values.

[0102] As shown in Figure 6, a single-character bookmark for a square grid can consist of "field name", "print count", "split", and "grid number". IdCard (ID card number) consists of 18 digits or letters and requires 18 bookmarks to be configured, namely: IdCard__1__split__1, IdCard__1__split__2, ..., IdCard__1__split__18.

[0103] Figure 7 schematically illustrates a flowchart of bookmark parsing according to an embodiment of the present disclosure.

[0104] As shown in Figure 7, for the above bookmark types, bookmark parsing during the voucher printing process can be performed according to the following steps:

[0105] ① Read print templates in editable document format. For example, you can use the open-source software apache-poi to read and write print templates, copying the template file from the original template to a file in the target path to form an XWPFDocument object instance.

[0106] ② Traverse bookmarks within paragraphs. For example, you can use the API provided by poi to get all paragraphs (XWPFParagraph) in a document, traverse all paragraphs, and retrieve the bookmarks.

[0107] ③ Traverse the bookmarks within the table. For example, use the API provided by POI to get all tables (XWPFTable) in the document, traverse the rows of each table (XWPFTableRow), then traverse the cells of each table row (XWPFTableRCell), then get all paragraphs within the cells, traverse all paragraphs, and get the bookmarks. When there are sub-tables within a cell, step ③ can be recursively processed.

[0108] ④ Bookmark parsing. First, you can segment the bookmark name (e.g., with double underscores) and check the configuration of its components for compliance.

[0109] In the bookmarks provided in Figures 4-6 above, the third part after splitting (field type) should be one of text, radio, checkbox, or split. The requirements for different types are as follows:

[0110] Text type bookmarks consist of three parts: field name, number of prints, and text, where the number of prints is a positive integer.

[0111] Single / multiple selection bookmarks consist of four parts: field name, number of prints, radio / checkbox, and dictionary value, where the number of prints is a positive integer.

[0112] The single-character fill type bookmark for square grids consists of four parts: field name, number of prints, split, and grid number, where the number of prints and grid number are positive integers.

[0113] ⑤ Bookmark Content Replacement. After the bookmark configuration check passes, the corresponding method is used to insert the printed content into the bookmark position according to different field types. The process of inserting printed content has been described in detail above, so it will not be repeated here.

[0114] ⑥ When an anomaly occurs, log it.

[0115] ⑦ Save the editable document. If there are no errors in the above steps, call the API provided by poi to save the editable document. The process is now complete.

[0116] This embodiment applies the printing method to voucher printing, setting up a set of bookmarks suitable for diverse requirements. The bookmarks support field types including text, single / multiple selection, and single-character fill in squares. Furthermore, the bookmarks support printing the same field multiple times, meeting the "multi-copy" printing needs of business vouchers (e.g., two copies, one for the bank and one for the customer). For different types of bookmarks, through corresponding rule parsing and exception handling mechanisms, it supports replacement operations using target content at the bookmark location. Besides supporting simple text replacement, it also supports features such as single / multiple selection "checkmark" processing and single-character value square wrapping effects. Compared to existing voucher printing technologies, the voucher printing method in this embodiment has: low maintenance costs, no need to coordinate with other components, and bookmark configuration changes take effect immediately; flexible and simple printing configuration, requiring only bookmark operations on the print template; and more precise print placement, with print content still adjustable before printing.

[0117] Based on the above printing method, this disclosure also provides a printing apparatus. The apparatus will be described in detail below with reference to FIG8.

[0118] Figure 8 schematically illustrates a structural block diagram of a printing apparatus according to an embodiment of the present disclosure.

[0119] As shown in FIG8, the printing device 800 of this embodiment includes a first acquisition module 810, a second acquisition module 820, a parsing module 830, and an insertion module 840.

[0120] The first acquisition module 810 is used to acquire a first parameter and a second parameter from the received print request. The first parameter indicates the file type of the file to be printed, and the second parameter indicates multiple sets of print data in the file to be printed. In one embodiment, the first acquisition module 810 can be used to perform the operation S210 described above, which will not be repeated here.

[0121] The second acquisition module 820 is used to acquire a print template that matches the file category. At least one target location in the print template is configured with a bookmark. The bookmark indicates the corresponding field type at the target location. The field type includes one of text, option, and single-character fill type. Each bookmark has at least one dividing marker, which is used to divide the corresponding bookmark into different components. These components at least characterize the field name and field type of the bookmark. In one embodiment, the second acquisition module 820 can be used to perform the operation S220 described above, which will not be repeated here.

[0122] The parsing module 830 is used to parse each bookmark according to the segmentation marker and determine the field type of the target position corresponding to each bookmark. In one embodiment, the parsing module 830 can be used to perform the operation S230 described above, which will not be repeated here.

[0123] The insertion module 840 is used to insert each set of print data from multiple sets of print data into the corresponding target position according to the field type corresponding to each bookmark. In one embodiment, the insertion module 840 can be used to perform the operation S240 described above, which will not be repeated here.

[0124] According to embodiments of this disclosure, any plurality of modules among the first acquisition module 810, the second acquisition module 820, the parsing module 830, and the insertion module 840 may be combined into one module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the first acquisition module 810, the second acquisition module 820, the parsing module 830, and the insertion module 840 may be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging circuitry, or implemented in hardware or firmware, or in any one of software, hardware, and firmware implementations, or in a suitable combination of any of these. Alternatively, at least one of the first acquisition module 810, the second acquisition module 820, the parsing module 830, and the insertion module 840 may be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0125] Figure 9 schematically illustrates a block diagram of an electronic device suitable for implementing a printing method according to an embodiment of the present disclosure.

[0126] As shown in FIG9, an electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage portion 908 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0127] RAM 903 stores various programs and data required for the operation of electronic device 900. Processor 901, ROM 902, and RAM 903 are interconnected via bus 904. Processor 901 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 902 and / or RAM 903. It should be noted that programs may also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in one or more memories.

[0128] According to embodiments of this disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to a bus 904. The electronic device 900 may also include one or more of the following components connected to the input / output (I / O) interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output (I / O) interface 905 as needed. A removable medium 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 910 as needed so that computer programs read from it can be installed into the storage section 908 as needed.

[0129] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0130] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 902 and / or RAM 903 and / or one or more memories other than ROM 902 and RAM 903 described above.

[0131] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the printing method provided in the embodiments of this disclosure.

[0132] When the computer program is executed by the processor 901, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0133] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via the communication section 909, and / or installed from a removable medium 911. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0134] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0135] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0136] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0137] Those skilled in the art will understand that the features described in the various embodiments of this disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments of this disclosure can be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0138] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A printing method, characterized in that, include: Obtain the first parameter and the second parameter from the received print request. The first parameter is used to indicate the file type of the file to be printed, and the second parameter is used to indicate multiple sets of print data in the file to be printed. Obtain a print template that matches the file category. At least one target location in the print template is configured with a bookmark. The bookmark is used to indicate the corresponding field type of the target location. The field type includes one of text type, option type, and grid single character fill type. Each bookmark is provided with at least one split marker. The split marker is used to divide the corresponding bookmark into different components. The components are used to characterize the field name and field type of the bookmark. Based on the segmentation markers, each bookmark is parsed to determine the field type of the target position corresponding to each bookmark; this includes: identifying the segmentation markers in the bookmarks to determine the components of each bookmark; performing feature information checks on each component to determine the field type of each bookmark; and inserting each set of print data from the multiple sets of print data into the corresponding target position according to the field type corresponding to each bookmark.

2. The printing method according to claim 1, characterized in that, The print template is an editable document format; before parsing each bookmark, the method further includes: loading the print template in the editable document format to obtain an object instance of the print template; and in the object instance, traversing the paragraphs and / or tables of the print template to obtain each bookmark.

3. The printing method according to claim 1, characterized in that, The bookmark includes a first bookmark to be parsed; The step of parsing each bookmark and determining the field type of the target position corresponding to each bookmark includes: segmenting the first bookmark to be parsed according to the segmentation marker to obtain a first component; If the first component consists of a field name, the number of prints, and a text field type, and the number of prints is a positive integer, then the first bookmark to be parsed is determined to be a text type bookmark.

4. The printing method according to claim 3, characterized in that, The step of inserting each set of print data into the corresponding target position according to the field type corresponding to each bookmark includes: obtaining the style of the text type bookmark, wherein the style represents the format of the font and font size; and inserting the characters to be inserted in the print data into the print position of the text type bookmark according to the style.

5. The printing method according to claim 1, characterized in that, The bookmark includes a second bookmark to be parsed; parsing each bookmark and determining the field type of the target position corresponding to each bookmark includes: dividing the second bookmark to be parsed according to the dividing mark to obtain a second component; if the second component consists of a field name, number of prints, check box field type and dictionary value, and the number of prints is a positive integer, the second bookmark to be parsed is determined to be an option type bookmark.

6. The printing method according to claim 5, characterized in that, The step of inserting each set of print data into the corresponding target position according to the field type corresponding to each bookmark includes: obtaining the style of the option type bookmark, wherein the style represents the format of the font and font size; wrapping the option mark characters in the print data with a circled mark; and inserting the wrapped option mark characters into the print position of the option type bookmark according to the style.

7. The printing method according to claim 1, characterized in that, The bookmark includes a third bookmark to be parsed; parsing each bookmark and determining the field type of the target position corresponding to each bookmark includes: dividing the third bookmark to be parsed according to the dividing marker to obtain a third component; when the third component consists of a field name, number of prints, character fill field type and format number, and the number of prints and the grid number are both positive integers, the third bookmark to be parsed is determined to be a grid single character fill type bookmark.

8. The printing method according to claim 7, characterized in that, The step of inserting each set of printed data into the corresponding target position according to the field type corresponding to each bookmark includes: obtaining the style of the grid single-character fill type bookmark, wherein the style represents the format of the font and font size; wrapping the character to be inserted in the printed data with a circled mark; and inserting the wrapped character into the printing position of the grid single-character fill type bookmark according to the style.

9. A printing apparatus, characterized in that, include: The first acquisition module is used to acquire a first parameter and a second parameter from the received print request. The first parameter is used to indicate the file category of the file to be printed, and the second parameter is used to indicate multiple sets of print data in the file to be printed. The second acquisition module is used to acquire a print template that matches the file category. At least one target position in the print template is configured with a bookmark. The bookmark indicates the corresponding field type of the target position. The field type includes one of text type, option type, and grid single-character fill type. Each bookmark has at least one dividing marker, which divides the corresponding bookmark into different components. The components at least represent the field name and field type of the bookmark. The parsing module is used to parse each bookmark according to the dividing markers to determine the field type of the target position corresponding to each bookmark. The parsing module is also used to identify the dividing markers in the bookmarks to determine the components of each bookmark; and to perform feature information checks on each component to determine the field type of each bookmark. The insertion module is used to insert each set of print data from the multiple sets of print data into the corresponding target position according to the field type corresponding to each bookmark.

10. An electronic device, comprising: One or more processors; A memory for storing one or more computer programs, characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 8.

12. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Data printing method and system

    CN103955345A