CN115061646A - Method and device for printing bill, computer equipment and storage medium - Google Patents

Method and device for printing bill, computer equipment and storage medium Download PDF

Info

Publication number
CN115061646A
CN115061646A CN202210983789.1A CN202210983789A CN115061646A CN 115061646 A CN115061646 A CN 115061646A CN 202210983789 A CN202210983789 A CN 202210983789A CN 115061646 A CN115061646 A CN 115061646A
Authority
CN
China
Prior art keywords
printing
bill
data
printed
template
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
CN202210983789.1A
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.)
Shenzhen Meiyunji Network Technology Co ltd
Original Assignee
Shenzhen Meiyunji Network 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 Shenzhen Meiyunji Network Technology Co ltd filed Critical Shenzhen Meiyunji Network Technology Co ltd
Priority to CN202210983789.1A priority Critical patent/CN115061646A/en
Publication of CN115061646A publication Critical patent/CN115061646A/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
    • 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/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning

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 application discloses a method and a device for printing a bill, computer equipment and a storage medium, and belongs to the technical field of electronic information. The method comprises the following steps: the method comprises the steps of obtaining a bill printing request, wherein the bill printing request comprises bill data and printing parameter information, determining a corresponding bill template according to the bill data, filling the bill data into the bill template to generate a bill to be printed, printing the bill to be printed according to the printing parameter information, obtaining scanning data obtained by scanning the bill to be printed through a scanning component, correcting the scanning data and the bill data, and determining a bill printing result, wherein the bill printing result comprises successful printing and failed printing, and if the bill printing result is the failed printing, jumping to the step of determining the corresponding bill template according to the bill data until the bill printing result is the successful printing. From this, this application can avoid the face list to leak to beat to improve the efficiency that the face list was printed.

Description

Method and device for printing surface sheet, computer equipment and storage medium
Technical Field
The present application relates to the field of electronic information technologies, and in particular, to a method and an apparatus for printing a receipt, a computer device, and a storage medium.
Background
In the current logistics system, a lot of document information such as a delivery bill, a driver's delivery bill, a label, etc. is printed in the warehouse during the production process, and the printing, labeling, etc. are required in the warehouse. However, the list is checked by the processor after being printed, and when the number of the list is large, a large amount of human resources and time are consumed, so that the efficiency is low and the list is easy to miss.
Disclosure of Invention
The present application is directed to solving, at least in part, one of the technical problems in the related art. Therefore, the application provides a method, a device, a computer device and a storage medium for printing a bill, which can avoid missing printing of the bill and improve the printing efficiency of the bill.
In a first aspect, an embodiment of the present application provides a method for printing a simplex, where the method includes:
acquiring a bill printing request, wherein the bill printing request comprises bill data and printing parameter information;
determining a corresponding bill template according to the bill data;
filling the bill data into the bill template to generate a bill to be printed;
printing the to-be-printed bill according to the printing parameter information;
scanning data obtained by scanning the to-be-printed menu through a scanning component is obtained;
the scanning data and the receipt data are collated, and receipt printing results are determined, wherein the receipt printing results comprise successful printing and failed printing;
and if the printing result of the bill of surface is the failed printing, skipping to the step of determining the corresponding bill of surface template according to the bill of surface data until the printing result of the bill of surface is the successful printing.
In some embodiments of the present application, the waybill data includes waybill number information, and determining a corresponding waybill template according to the waybill data includes:
detecting a template cache file of the terminal according to the single number information to determine whether the terminal contains the template cache file corresponding to the single number information;
and if the terminal does not contain the template cache file corresponding to the single number information, acquiring the corresponding facial single template from a server according to the single number information.
In some embodiments of the present application, the method further comprises:
and if the terminal comprises the template cache file corresponding to the single number information, decompressing the template cache file to obtain the single face template.
In some embodiments of the present application, the printing the receipt to be printed according to the printing parameter information includes:
determining the file printing type and configuration information according to the printing parameter information;
comparing the file printing type with the file type of the receipt to be printed;
if the file printing type is different from the file type of the receipt to be printed, performing type conversion on the receipt to be printed so as to enable the file type of the receipt to be printed to be the same as the file printing type;
and printing the to-be-printed bill according to the configuration information.
In some embodiments of the present application, the method further comprises:
and compressing the single-mode panel through a Huffman compression algorithm, and storing the compressed single-mode panel to the terminal.
In some embodiments of the present application, the scanning data includes a scan ticket number, and the collating the scanning data with the ticket data to determine a ticket printing result includes:
if the scanned sheet number is the same as the sheet number information, the sheet printing result is the successful printing;
and if the scanned order number is different from the order number information, the facial order printing result is the failed printing.
In some embodiments of the present application, after the obtaining the order print request, the method further comprises:
acquiring user authority information;
and according to the user authority information, executing the step of determining the corresponding bill template according to the bill data.
In a second aspect, an embodiment of the present application further provides a sheet printing apparatus, including:
the request acquisition module is used for acquiring a bill printing request, wherein the bill printing request comprises bill data and printing parameter information;
the template determining module is used for determining a corresponding bill template according to the bill data;
the data filling module is used for filling the bill of surface data into the bill of surface template to generate a bill of surface to be printed;
the printing module is used for printing the to-be-printed bill according to the printing parameter information;
the data acquisition module is used for acquiring scanning data obtained by scanning the to-be-printed bill through the scanning component;
the data proofreading module is used for proofreading the scanning data and the bill data and determining a bill printing result, wherein the bill printing result comprises successful printing and failed printing;
and the result processing module is used for skipping to the step of determining the corresponding bill template according to the bill data if the bill printing result is the failed printing until the bill printing result is the successful printing.
In a third aspect, an embodiment of the present application further provides a computer device, including: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method as described in any one of the embodiments of the first aspect when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the method according to any one of the embodiments of the first aspect.
The method, the device, the computer equipment and the storage medium for printing the menu, which are provided by the embodiment of the application, firstly obtain the printing request of the menu, wherein, the bill printing request comprises bill data and printing parameter information, then, a corresponding bill template is determined according to the bill data, filling the form data into the form template to generate a form to be printed, printing the form according to the printing parameter information, acquiring the scanning data after printing, the scanning data is obtained by scanning the to-be-printed bill printed by the scanning component, then the scanning data and the bill data are collated to determine the bill printing result, the bill printing result comprises successful printing and failed printing, if the bill printing result is the failed printing, the step of determining the corresponding bill template according to the bill data is skipped to until the bill printing result is the successful printing. From this, this application can judge automatically whether face list prints successfully to can regenerate under the face list printing failure condition and wait to print the face list and print this face list, effectively avoided the face list to miss the emergence of the condition of printing, and improved the efficiency that the face list printed.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the present application.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter.
FIG. 1 is a flow chart of a method of printing a form provided by some embodiments of the present application;
FIG. 2 is a flow chart of step 200 in FIG. 1;
FIG. 3 is a flow chart of step 400 of FIG. 1;
fig. 4 is a block diagram of a sheet printing apparatus according to some embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present number, and the above, below, within, etc. are understood as including the present number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present application, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the current logistics system, a lot of document information such as a delivery bill, a driver's delivery bill, a label, etc. is printed in the warehouse during the production process, and the printing, labeling, etc. are required in the warehouse. However, the list is checked by the processor after being printed, and when the number of the list is large, a large amount of human resources and time are consumed, so that the efficiency is low and the list is easy to miss.
The method comprises the steps of firstly obtaining a bill printing request, wherein the bill printing request comprises bill data and printing parameter information, then determining a corresponding bill template according to the bill data, filling the bill data into the bill template to generate a bill to be printed, printing the bill to be printed according to the printing parameter information, obtaining scanning data obtained by scanning and printing the finished bill to be printed, then checking the scanning data and the bill data, determining a bill printing result, wherein the bill printing result comprises successful printing and failed printing, and if the bill printing result is failed printing, jumping to the step of determining the corresponding bill template according to the bill data until the bill printing result is successful printing. From this, this application can judge automatically whether the face list prints successfully to can regenerate under the condition that the face list printing failed and wait to print the face list and print this face list, consequently, effectively avoid the face list to miss the emergence of printing the condition, and improved the efficiency that the face list printed.
The method for printing the facebook provided by the embodiment of the application can be applied to a terminal, a server side and software running in the terminal or the server side. In some embodiments, the terminal may be a smartphone, tablet, laptop, desktop computer, smart watch, or the like; the server side can be configured into an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and cloud servers for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content delivery network) and big data and artificial intelligence platforms; the software may be an application or the like implementing the above method, but is not limited to the above form.
Embodiments of the application are operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments of the present application will be further explained with reference to the drawings.
Referring to fig. 1, some embodiments of the present application provide a method of printing a simplex, including, but not limited to, step 100, step 200, step 300, step 400, step 500, step 600, step 700.
Step 100, a receipt printing request is acquired.
In some embodiments, a form print request is first obtained, where the form print request includes form data and print parameter information. In practical application, a bill printing request of an e-commerce platform is responded, and bill data and printing parameter information which are requested to be printed are obtained from the bill printing request, wherein the bill data comprise a merchant name, a user name, an address, a contact way, commodity information, bill number information and the like, and the printing parameter information comprises information such as printing size, printing format, resolution, color and the like.
And 200, determining a corresponding bill template according to the bill data.
In some embodiments, after the receipt data is acquired, the required receipt template may be determined from the receipt data. In practical application, the slip data includes template identifiers or other identification information for identifying the slip templates, so as to determine corresponding slip templates, further render the slip templates, and generate slips to be printed.
In some embodiments, after the receipt printing request is obtained, user permission information is obtained, where the user permission information indicates a printing permission of the user, that is, whether the user has the printing permission is determined, and then step 200 is executed according to the printing permission, that is, only when the user has a sufficient printing permission, a subsequent receipt printing operation can be performed, where the user permission information is set by an administrator according to an actual situation. In practical applications, a simple identifier can be used to indicate whether a user has printing authority, for example, if the user authority information is "1", it indicates that the user has printing authority, and the user authority information is "0", it indicates that the user does not have printing authority.
And step 300, filling the bill data into a bill template to generate a bill to be printed.
In some embodiments, after the receipt template is to be determined, the receipt data is filled in the corresponding position of the receipt template, that is, the receipt template is rendered, and then the receipt to be printed is generated.
And step 400, printing the to-be-printed bill according to the printing parameter information.
In some embodiments, after the receipt to be printed is obtained, the receipt to be printed can be printed according to the printing parameter information.
Step 500, scanning data obtained by scanning the to-be-printed menu through the scanning component is acquired.
In some embodiments, after the printing is completed, data obtained by scanning the to-be-printed receipt is acquired, and the scanned data may be obtained by scanning the printed receipt by the scanning component. In practical application, the printed receipt to be printed is provided with bar code information such as a two-dimensional code or a one-dimensional bar code, and the bar code information is scanned by the scanning component to obtain related data on the receipt to be printed, namely scanning data, so as to judge whether the receipt to be printed is successfully printed.
And step 600, checking the scanned data and the bill data to determine a bill printing result.
In some embodiments, the obtained scan data is collated with the form data to determine form printing results, i.e., whether printing was successful, including successful printing and failed printing. It can be understood that, when some or all of the scanned data is the same as the data corresponding to the receipt data, the printing is successful, and otherwise, the printing is failed.
Specifically, in some embodiments, the scan data includes a scan sheet number, and if the scan sheet number is the same as the sheet number information, the sheet printing result is successful printing, whereas if the scan sheet number is different from the sheet number information, the sheet printing result is failed printing.
And 700, if the printing result of the bill is the failed printing, skipping to the step of determining the corresponding bill template according to the bill data until the printing result of the bill is the successful printing.
In some embodiments, if the printing result of the bill is a failed printing, the step of determining the corresponding bill template according to the bill data is skipped to until the printing result of the bill is a successful printing, that is, when the printing of the bill to be printed fails, the steps are repeated, and the bill to be printed is regenerated for printing until the printing is successful. Therefore, the embodiment of the application can automatically judge whether the printing of the bill of face is successful, and can timely process the bill of face which fails to be printed, thereby effectively avoiding the condition that the bill of face is missed and improving the printing efficiency of the bill of face.
In some embodiments, as shown in fig. 2, fig. 2 is a flowchart of a refinement step of step 200, and step 200 includes, but is not limited to, step 210, step 220.
Step 210, detecting a template cache file of the terminal according to the single number information to determine whether the terminal contains the template cache file corresponding to the single number information;
and step 220, if the terminal does not contain the template cache file corresponding to the single number information, acquiring a corresponding bill template from the server according to the single number information.
Specifically, the bill information includes bill information, and it should be noted that the bill information in the embodiment of the present application includes identification information for determining a template, so that after the bill information is obtained, a template cache file of the terminal can be detected according to the bill information to determine whether the terminal includes the template cache file corresponding to the bill information, and then, subsequent operations are performed according to whether the terminal includes the corresponding template cache file. And if the terminal does not contain the template cache file corresponding to the single number information, acquiring a corresponding single surface template from the server according to the single number information, and if the terminal contains the template cache file corresponding to the single number information, decompressing the template cache file to obtain the single surface template. In practical application, the database content of the local terminal is retrieved according to the single number information, whether a corresponding template cache file exists or not is found, if the corresponding template cache file is found, the template cache file is decompressed to obtain a corresponding bill template, and if the template cache file is not retrieved, the bill template preset by a corresponding merchant is obtained from the cloud server. It is understood that, in order to save transmission resources and storage space, the template cache file stored in the terminal may be a compressed file.
In some embodiments, after the single-sided template is acquired from the server, the single-sided template is compressed through a huffman compression algorithm, and the compressed single-sided template is stored in the terminal, so that the storage space of the local terminal can be effectively saved.
In some embodiments, as shown in FIG. 3, FIG. 3 is a flowchart detailing steps 400, and steps 400 include, but are not limited to, steps 410, 420, 430, and 440.
Step 410, determining the file printing type and configuration information according to the printing parameter information;
step 420, comparing the file printing type with the file type of the receipt to be printed;
430, if the file printing type is different from the file type of the receipt to be printed, performing type conversion on the receipt to be printed so as to enable the file type of the receipt to be printed to be the same as the file printing type;
step 440, printing the to-be-printed list according to the configuration information.
Specifically, the printing parameter information comprises a file printing type and configuration information, the bill to be printed is printed according to the printing parameter information, the file printing type and the configuration information are firstly determined according to the printing parameter information, then the file printing type and the file type of the bill to be printed are compared, if the file printing type is different from the file type of the bill to be printed, the type conversion is carried out on the bill to be printed, so that the file type of the bill to be printed is the same as the file printing type, and finally the bill to be printed is printed according to the configuration information. In practical application, if the file type of the file to be printed is different from the file printing type supported by the printing equipment, the file type of the printed file needs to be converted, so that the file type of the file to be printed meets the printing type of the printing requirement, and after the type meets the requirement, the file can be normally printed, thereby avoiding printing failure caused by the fact that the file type of the file to be printed does not meet the printing requirement, and improving the printing efficiency.
Referring to fig. 4, some embodiments of the present application provide a simplex printing apparatus including a request acquisition module 810, a template determination module 820, a data population module 830, a printing module 840, a data acquisition module 850, a data collation module 860, and a result processing module 870. The request obtaining module 810 obtains a print request of a receipt, wherein the print request of the receipt comprises receipt data and print parameter information, then the template determining module 820 determines a corresponding receipt template according to the receipt data, the data filling module 830 fills the receipt data into the receipt template to generate a receipt to be printed, the printing module 840 prints the receipt to be printed according to the print parameter information, after printing is completed, the data obtaining module 850 obtains scan data, the scan data is obtained by scanning the receipt to be printed by the scanning component, then the scan data and the receipt data are collated by the data collating module 860 to determine a print result of the receipt, the print result of the receipt comprises successful printing and failed printing, if the print result of the receipt is failed printing, the result processing module 870 jumps to a step of determining a corresponding receipt template according to the receipt data, until the face sheet printing result is successful printing. From this, this application can judge automatically whether face list prints successfully to can regenerate under the face list printing failure condition and wait to print the face list and print this face list, effectively avoided the face list to miss the emergence of the condition of printing, and improved the efficiency that the face list printed.
An embodiment of the present application also provides a computer device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method as in any of the above embodiments when executing the computer program, e.g. performing the above described method steps 100 to 700 in fig. 1, the method steps 210 to 220 in fig. 2, the method steps 410 to 440 in fig. 3.
Furthermore, an embodiment of the present application also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the method as in any of the above embodiments, for example, performing the above-described method steps 100 to 700 in fig. 1, 210 to 220 in fig. 2, and 410 to 440 in fig. 3.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present application have been described in detail with reference to the drawings, but the present application is not limited to the embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present application. Furthermore, the embodiments and features of the embodiments of the present application may be combined with each other without conflict.

Claims (10)

1. A method of printing a simplex, comprising:
acquiring a bill printing request, wherein the bill printing request comprises bill data and printing parameter information;
determining a corresponding bill template according to the bill data;
filling the bill data into the bill template to generate a bill to be printed;
printing the to-be-printed bill according to the printing parameter information;
scanning data obtained by scanning the to-be-printed menu through a scanning component is obtained;
the scanning data and the receipt data are collated, and receipt printing results are determined, wherein the receipt printing results comprise successful printing and failed printing;
and if the printing result of the bill of surface is the failed printing, skipping to the step of determining the corresponding bill of surface template according to the bill of surface data until the printing result of the bill of surface is the successful printing.
2. The method of claim 1, wherein the form data includes form number information, and wherein determining the corresponding form template from the form data comprises:
detecting a template cache file of the terminal according to the single number information to determine whether the terminal contains the template cache file corresponding to the single number information;
and if the terminal does not contain the template cache file corresponding to the single number information, acquiring the corresponding facial single template from a server according to the single number information.
3. The method of claim 2, further comprising:
and if the terminal comprises the template cache file corresponding to the single number information, decompressing the template cache file to obtain the single face template.
4. The method according to any one of claims 1 to 3, wherein the printing the receipt to be printed according to the printing parameter information comprises:
determining the file printing type and configuration information according to the printing parameter information;
comparing the file printing type with the file type of the receipt to be printed;
if the file printing type is different from the file type of the receipt to be printed, performing type conversion on the receipt to be printed so as to enable the file type of the receipt to be printed to be the same as the file printing type;
and printing the to-be-printed bill according to the configuration information.
5. The method of claim 2, further comprising:
and compressing the surface single-mode board through a Huffman compression algorithm, and storing the compressed surface single-mode board to the terminal.
6. The method of claim 2, wherein the scan data includes a scan ticket number, and wherein collating the scan data with the ticket data to determine a ticket print result comprises:
if the scanned sheet number is the same as the sheet number information, the sheet printing result is the successful printing;
and if the scanned order number is different from the order number information, the facial order printing result is the failed printing.
7. The method of claim 1, further comprising, after the obtaining the receipt print request:
acquiring user authority information;
and according to the user authority information, executing the step of determining the corresponding bill template according to the bill data.
8. A sheet printing apparatus, comprising:
the request acquisition module is used for acquiring a bill printing request, wherein the bill printing request comprises bill data and printing parameter information;
the template determining module is used for determining a corresponding bill template according to the bill data;
the data filling module is used for filling the bill of surface data into the bill of surface template to generate a bill of surface to be printed;
the printing module is used for printing the bill to be printed according to the printing parameter information;
the data acquisition module is used for acquiring scanning data obtained by scanning the to-be-printed bill through the scanning component;
the data proofreading module is used for proofreading the scanning data and the bill data and determining a bill printing result, wherein the bill printing result comprises successful printing and failed printing;
and the result processing module is used for skipping to the step of determining the corresponding bill template according to the bill data if the bill printing result is the failed printing until the bill printing result is the successful printing.
9. A computer device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having computer-executable instructions stored thereon for causing a computer to perform the method of any one of claims 1 to 7.
CN202210983789.1A 2022-08-17 2022-08-17 Method and device for printing bill, computer equipment and storage medium Pending CN115061646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210983789.1A CN115061646A (en) 2022-08-17 2022-08-17 Method and device for printing bill, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210983789.1A CN115061646A (en) 2022-08-17 2022-08-17 Method and device for printing bill, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115061646A true CN115061646A (en) 2022-09-16

Family

ID=83207264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210983789.1A Pending CN115061646A (en) 2022-08-17 2022-08-17 Method and device for printing bill, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115061646A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000081960A (en) * 1998-07-02 2000-03-21 Tohoku Ricoh Co Ltd Printer selector and printing system
CN104899031A (en) * 2015-05-29 2015-09-09 北京京东尚科信息技术有限公司 Logistics data generation method and apparatus and logistics client configuration method and apparatus
CN111324317A (en) * 2020-02-18 2020-06-23 上海东普信息科技有限公司 Local printing method, device, equipment and storage medium
CN111596871A (en) * 2020-04-30 2020-08-28 厦门汉印电子技术有限公司 Leakage-proof single-side single-cloud printing method, device and system and cloud printer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000081960A (en) * 1998-07-02 2000-03-21 Tohoku Ricoh Co Ltd Printer selector and printing system
CN104899031A (en) * 2015-05-29 2015-09-09 北京京东尚科信息技术有限公司 Logistics data generation method and apparatus and logistics client configuration method and apparatus
CN111324317A (en) * 2020-02-18 2020-06-23 上海东普信息科技有限公司 Local printing method, device, equipment and storage medium
CN111596871A (en) * 2020-04-30 2020-08-28 厦门汉印电子技术有限公司 Leakage-proof single-side single-cloud printing method, device and system and cloud printer

Similar Documents

Publication Publication Date Title
CN105930109B (en) Document printing method, system and terminal
CN110751448B (en) Block chain based sign-off return method, device, equipment and readable storage medium
JP6439941B2 (en) Multi-function printer apparatus, method and system
CN103942585A (en) Method for converting information into two-dimensional codes and two-dimensional code scanning printing device using method
CN108280500A (en) Coding method, coding/decoding method, relevant apparatus and the equipment of Quick Response Code
CN110045933B (en) Print data generation method, device, equipment and storage medium
CN102752371A (en) Method for achieving splash on client side and client side
CN110796545A (en) Batch processing method, equipment and storage medium for blockchain transaction
CN103401921B (en) Monitoring method for tally information of vehicle loading and unloading of roll-on roll-off ship
CN104616163A (en) Lottery drawing identification code management method and device
CN111596871A (en) Leakage-proof single-side single-cloud printing method, device and system and cloud printer
CN113033746B (en) Filter element anti-counterfeiting method, filter element anti-counterfeiting equipment and filter element anti-counterfeiting system
CN115061646A (en) Method and device for printing bill, computer equipment and storage medium
CN101848124A (en) Image forming apparatus, communication device, and communication method
CN116303250A (en) Accounting archive data management method and device, electronic equipment and medium
CN111176587A (en) Remote printing method and system
CN113344160A (en) Order processing method and device, electronic equipment and storage medium
CN112288071B (en) Electronic price tag display method, electronic price tag, and computer-readable storage medium
US11523004B2 (en) Part replacement predictions using convolutional neural networks
CN109993126B (en) File information determining method, device, equipment and readable storage medium
CN104143108B (en) The method and apparatus of action command is realized based on bar code
CN111507447A (en) Label identification method and device
US9846828B2 (en) Printing device and method
CN104796252A (en) Variable data label anti-counterfeiting method, variable data label anti-counterfeiting device, variable data label authenticating method and variable data label authenticating system
CN112633908B (en) Advertisement test object generation method and device and computer equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220916