CN108509160B - Post order printing method, electronic device and computer readable storage medium - Google Patents

Post order printing method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN108509160B
CN108509160B CN201810148315.9A CN201810148315A CN108509160B CN 108509160 B CN108509160 B CN 108509160B CN 201810148315 A CN201810148315 A CN 201810148315A CN 108509160 B CN108509160 B CN 108509160B
Authority
CN
China
Prior art keywords
printing
postal
bills
group
printed
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.)
Active
Application number
CN201810148315.9A
Other languages
Chinese (zh)
Other versions
CN108509160A (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810148315.9A priority Critical patent/CN108509160B/en
Priority to PCT/CN2018/083065 priority patent/WO2019157778A1/en
Publication of CN108509160A publication Critical patent/CN108509160A/en
Application granted granted Critical
Publication of CN108509160B publication Critical patent/CN108509160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • 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/1253Configuration of print job parameters, e.g. using UI at the client
    • 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/126Job scheduling, e.g. queuing, determine appropriate device
    • G06F3/1262Job scheduling, e.g. queuing, determine appropriate device by grouping or ganging jobs
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • 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 invention discloses a post order printing method, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: step 01, acquiring the number P of postal tickets to be printed; step 02, judging whether the number P of the postal bills exceeds N, wherein N is an upper limit value of single printing, if yes, entering step 03, and if not, directly printing; step 03, grouping the postal bills to be printed according to a preset grouping rule; and step 04, printing the grouped postal bills according to the time sequence of the first postal bill of each group. The method carries out grouping processing on the postal tickets with the number exceeding the preset printing number, can avoid the problem of repeatedly inputting the postal ticket number for many times due to the limitation of a printing interface, and improves the printing efficiency of the postal tickets.

Description

Post order printing method, electronic device and computer readable storage medium
Technical Field
The invention relates to the field of printing, in particular to a postal bill printing method, an electronic device and a computer readable storage medium.
Background
With the development of electronic commerce, the quantity of express delivery is more and more, how to improve the terminal delivery efficiency and realize the quick delivery and the improvement of the express receiving efficiency of express enterprises are the problems which are urgently needed to be solved, the express delivery APP in the market only has the express delivery bill inquiry function and directly obtains express delivery by searching peripheral couriers and calling couriers by telephone, the receiving mode of pushing express delivery information by adopting an online form filling in the prior art is less, generally, the information is firstly transmitted to an express delivery company and then the couriers are dispatched by the company to take charge of a certain area, one-to-one information pushing and electronic form sending can not be completed comprehensively, at present, when an article is mailed, a form is manually filled in, handwriting can not be recognized easily, writing errors can cause the receipt and manual input method information errors, therefore, in order to avoid a plurality of problems of manual form filling, electronic form filling and unified printing of the mailing list filling are needed to be delivered, and each printing interface has a specified printing quantity, and more mailing lists can not be printed in the same batch, so that the printing of the mailing list numbers needing to be input for printing for many times is caused, the printing is time-consuming, and repeated input or input omission of some mailing list numbers is easily caused.
Disclosure of Invention
The present invention is directed to a method, an electronic device and a computer-readable storage medium for printing a postal service order, so as to overcome the problems in the prior art to a certain extent.
The invention solves the technical problems through the following technical scheme:
the invention discloses a post order printing method, which comprises the following steps:
step 01, acquiring the number P of postal tickets to be printed;
step 02, judging whether the number P of the postal bills exceeds N, wherein N is an upper limit value of single printing, if yes, entering step 03, and if not, directly printing;
step 03, grouping the postal bills to be printed according to a preset grouping rule;
and step 04, printing the grouped postal bills according to the time sequence of the first postal bill of each group.
Further, step 03 comprises:
grouping the postal bills to be printed into a group according to the time sequence of the postal bills, wherein T is more than 0 and less than or equal to N;
if P is integral multiple of T, the first group is the 1 st to T, the S group is the (S-1) XT +1 th to SXT postal matters, the N/2 is more than or equal to T and less than or equal to N, and the S is more than or equal to 1 and less than or equal to P/T.
If P is sxt + m (m < T), the last group of packets is sxt +1 sxt + m.
Further, step 04 includes:
step 04-1, detecting the state of the printing equipment, including the number of printing files contained in the interface of the printing equipment, the preheating state of the equipment and the communication state of the interface;
step 04-2, sending a printing instruction and calling a printing interface, sending a printing grouping printing instruction to printing equipment, and inputting printing data through the printing interface;
step 04-3, printing the first group of postal tickets, and sending the printing data of the first group of postal tickets to printing equipment through a printing interface to start printing;
step 04-5, judging whether the first group of postal tickets are printed, if so, entering the next step, and if not, continuing to print;
and step 04-6, printing the rest S group postal bills in sequence by circularly calling the interface.
Further, step 4 further comprises: and step 04-7, after the printing of the S group postal bills is finished, detecting the number of the postal bills actually printed in the group and judging whether omission exists or not, if the omission exists, sorting the omitted postal bills and automatically arranging the omitted postal bills into the postal bills in the S +1 th group to be printed, and if the omission does not exist, continuously printing the next group.
Further, the printing quantity which is completed is automatically recorded every time a group of postal matters is printed, and when the recorded accumulated printing quantity reaches P, a printing end instruction is sent to the printing equipment to stop printing operation.
Further, N is preferably 100.
The invention also discloses an electronic device, comprising a memory and a processor, wherein the memory is used for storing the postal bill printing system executed by the processor, and the postal bill printing system comprises:
the data acquisition module is used for acquiring the number of the postal tickets to be printed;
the judging module is used for judging whether the number of the postal tickets to be printed exceeds N, wherein N is the upper limit value of single printing;
the grouping module is used for grouping the postal bills to be printed and sending the grouped postal bills to the printing module;
and the printing module is used for printing the postal bill to be printed.
Furthermore, the printing module comprises a common printing sub-module and a group printing sub-module, the common printing sub-module is used for printing the postal bills to be printed, the quantity of the postal bills not exceeding N, and the group printing sub-module is used for performing group printing on the postal bills to be printed, the quantity of the postal bills exceeding N.
Furthermore, the postal bill printing system also comprises a printing counting module which is used for recording the quantity of the accumulated printed postal bills.
The invention also discloses a computer readable storage medium, wherein the computer readable storage medium stores a postal order printing system, and the postal order printing system can be executed by at least one processor, so that the at least one processor executes the steps of the postal order printing method.
The invention has the following positive effects: the invention adopts the grouping printing mode to carry out grouping processing on the postal tickets with the number exceeding the preset printing number, can avoid the problem of repeatedly inputting the postal ticket number due to the limitation of a printing interface, and improves the printing efficiency of the postal tickets.
Drawings
FIG. 1 illustrates a flow chart of an embodiment of a method of postal form printing of the present invention.
FIG. 2 illustrates a flow chart of yet another embodiment of a method of postal form printing of the present invention.
FIG. 3 illustrates a flow chart of yet another embodiment of a method of postal form printing of the present invention.
FIG. 4 illustrates a program module diagram of an embodiment of the postal form printing system of the present invention.
FIG. 5 is a schematic diagram of program modules for a further embodiment of the postal form printing system of the present invention.
Fig. 6 is a schematic diagram of a hardware architecture of an embodiment of the electronic device of the present invention.
Detailed Description
Example one
A method of postal form printing is shown comprising the steps of:
and step 01, acquiring the number P of the postal bills to be printed.
And acquiring the number of the postal tickets to be printed through a data acquisition module, wherein the acquired number of the postal tickets is used for judging whether the number of the postal tickets exceeds the upper limit value of the number of the postal tickets printed by the interface of the printing equipment each time.
And 02, judging whether the number P of the postal bills exceeds N, wherein N is an upper limit value of single printing, if so, entering a step 03, and if not, directly printing.
In this step, N is an upper limit value of the postal bills that can be printed by the interface of the printing device at a single time, if the number P of the postal bills to be printed does not exceed the upper limit value, the printing request can be directly sent to the printing device for printing, and if the number P of the postal bills to be printed exceeds the upper limit value, the postal bills need to be printed after being grouped.
Step 03, grouping the postal bills to be printed according to a preset grouping rule;
and when actually grouping, grouping the postal sheets to be printed into a group according to the time sequence on the postal sheets, wherein T is more than 0 and less than or equal to N.
And if P is integral multiple of T, dividing the postal sheets to be printed into P/T groups according to the time sequence, namely, the 1 st to T postal sheets are the first group, and the (S-1) xT + 1-SxT postal sheets are the S group, wherein the value of T is N/2 or more and T or less and N or 1 or more and S or less and P/T.
If P is not an integer multiple of T, e.g., P ═ sxt + m (m < T), then the sxt +1 to sxt + m postal sheets are the last group of the group.
And step 04, printing the grouped postal bills according to the time sequence of the first postal bill of each group.
After grouping is completed, sending the grouped postal bills to a printing module for printing, and specifically comprising the following substeps:
step 04-1, detecting the state of the printing equipment, including the number of printing files contained in the interface of the printing equipment, the preheating state of the equipment and the communication state of the interface;
step 04-2, sending a printing instruction and calling a printing interface, sending a grouping printing instruction to printing equipment, and inputting printing data through the printing interface;
step 04-3, printing the first group of postal tickets, and sending the printing data of the first group of postal tickets to printing equipment through a printing interface to start printing;
step 04-5, judging whether the first group of postal matters are printed, if so, entering the next step, and if not, continuing to print;
and step 04-6, printing the rest S group postal bills by circularly calling the interface.
In another embodiment, step 4 further comprises: and step 04-7, after the printing of the S group postal bills is finished, detecting the number of the postal bills actually printed in the group and judging whether omission exists or not, if the omission exists, sorting the omitted postal bills and automatically arranging the omitted postal bills into the postal bills in the S +1 th group to be printed, and if the omission does not exist, continuously printing the next group.
Example two
Referring to FIG. 3, another method of postal form printing is shown, comprising the steps of:
and step 01, acquiring the number P of the postal bills to be printed.
And acquiring the number of the postal tickets to be printed through a data acquisition module, wherein the acquired number of the postal tickets is used for judging whether the number of the postal tickets exceeds the upper limit value of the number of the postal tickets printed by the interface of the printing equipment each time.
And 02, judging whether the number P of the postal bills exceeds N, wherein N is an upper limit value of single printing, if so, entering a step 03, and if not, directly printing.
In this step, N is an upper limit value of the postal bills that can be printed by the interface of the printing device at a single time, if the number P of the postal bills to be printed does not exceed the upper limit value, the printing request can be directly sent to the printing device for printing, and if the number P of the postal bills to be printed exceeds the upper limit value, the postal bills need to be printed after being grouped.
Step 03, grouping the postal bills to be printed according to a preset grouping rule;
and when actually grouping, grouping the postal sheets to be printed into a group according to the time sequence on the postal sheets, wherein T is more than 0 and less than or equal to N.
And if P is integral multiple of T, dividing the postal sheets to be printed into P/T groups according to the time sequence, namely, the 1 st to T postal sheets are the first group, and the (S-1) xT + 1-SxT postal sheets are the S group, wherein the value of T is N/2 or more and T or less and N or 1 or more and S or less and P/T.
If P is not an integer multiple of T, e.g., P ═ sxt + m (m < T), then the sxt +1 to sxt + m postal sheets are the last group of the group.
And step 04, printing the grouped postal bills according to the time sequence of the first postal bill of each group.
After grouping is completed, sending the grouped postal bills to a printing module for printing, and specifically comprising the following substeps:
step 04-1, detecting the state of the printing equipment, including the number of printing files contained in the interface of the printing equipment, the preheating state of the equipment and the communication state of the interface;
step 04-2, sending a printing instruction and calling a printing interface, sending a grouping printing instruction to printing equipment, and inputting printing data through the printing interface;
step 04-3, printing the first group of postal tickets, and sending the printing data of the first group of postal tickets to printing equipment through a printing interface to start printing;
step 04-5, judging whether the first group of postal matters are printed, if so, entering the next step, and if not, continuing to print;
and step 04-6, printing the rest S group postal bills by circularly calling the interface.
In another embodiment, step 4 further comprises: and step 04-7, after the printing of the S group postal bills is finished, detecting the number of the postal bills actually printed in the group and judging whether omission exists or not, if the omission exists, sorting the omitted postal bills and automatically arranging the omitted postal bills into the postal bills in the S +1 th group to be printed, and if the omission does not exist, continuously printing the next group.
And step 05, automatically recording the finished printing quantity after printing a group of postal bills, and sending a printing end instruction to the printing equipment to stop printing operation when the recorded accumulated printing quantity reaches P.
EXAMPLE III
Referring to fig. 4-5, a postal form printing system is shown, comprising:
the data acquisition module 201 is used for acquiring the number of the postal tickets to be printed;
a judging module 202, configured to judge whether the number of the postal tickets to be printed exceeds N, where N is an upper limit value of a single printing;
the grouping module 203 is used for grouping the postal tickets to be printed;
and the printing module 204 is configured to perform printing processing on the postal service to be printed.
In another embodiment, the printing module 204 includes a normal printing sub-module 2041 and a group printing sub-module 2042, where the normal printing sub-module 2041 is configured to print postal items to be printed, the number of the postal items to be printed is not greater than N, and the group printing sub-module 2042 is configured to print postal items to be printed, the number of the postal items to be printed is greater than N in a group manner.
In another embodiment, the postal order printing system further includes a print count module 205 for recording the number of printed postal orders accumulated.
Example four
Referring to fig. 6, the present embodiment provides an electronic device. Is a schematic diagram of a hardware architecture of an embodiment of the electronic device of the present invention. In the present embodiment, the electronic device 2 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction. For example, the server may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of a plurality of servers). As shown, the electronic device 2 includes, but is not limited to, at least a memory 21, a processor 22, a network interface 23, and a mailing printing system 20 communicatively coupled to each other via a system bus. Wherein:
the memory 21 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 21 may be an internal storage module of the electronic device 2, such as a hard disk or a memory of the electronic device 2. In other embodiments, the memory 21 may also be an external storage device of the electronic apparatus 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the electronic apparatus 2. Of course, the memory 21 may also comprise both an internal memory module of the electronic apparatus 2 and an external memory device thereof. In this embodiment, the memory 21 is generally used for storing an operating system installed in the electronic device 2 and various types of application software, such as program codes of the postal service printing system 20. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is generally configured to control the overall operation of the electronic apparatus 2, such as performing data interaction or communication related control and processing with the electronic apparatus 2. In this embodiment, the processor 22 is configured to operate the program codes or process data stored in the memory 21, such as operating the postal form printing system 20.
The network interface 23 may comprise a wireless network interface or a wired network interface, and the network interface 23 is generally used for establishing communication connection between the electronic device 2 and other electronic devices. For example, the network interface 23 is used to connect the electronic apparatus 2 to an external terminal through a network, establish a data transmission channel and a communication connection between the electronic apparatus 2 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
It is noted that fig. 6 only shows an electronic device with components 20-23, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
In this embodiment, the postal sheet printing system 20 stored in the memory 21 may also be divided into one or more program modules, which are stored in the memory 21 and executed by one or more processors (in this embodiment, the processor 22) to accomplish the present invention.
For example, FIG. 6 shows a schematic diagram of program modules of a first embodiment of the postal form printing system 20, where the postal form based printing system 20 may be divided into a data collection module 201, a judgment module 202, a grouping module 203, and a printing module 204. The program modules referred to herein are a series of computer program instruction segments that can perform specific functions, and are more suitable than programs for describing the execution of the postal sheet printing system 20 in the electronic device 2. The specific functions of the program modules 201 and 204 have been described in detail in the third embodiment, and are not described herein again.
EXAMPLE five
The present embodiment provides a computer-readable storage medium, on which the postal order printing system 20 is stored, and the postal order printing system 20 implements the above-mentioned postal order printing method or operation of the electronic device when executed by one or more processors.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A postal order printing method, comprising the steps of:
step 01, acquiring the number P of postal tickets to be printed;
step 02, judging whether the number P of the postal bills exceeds N, wherein N is an upper limit value of single printing, if yes, entering step 03, and if not, directly printing;
step 03, grouping the postal bills to be printed according to a preset grouping rule; grouping the postal bills to be printed into a group according to the time sequence of the postal bills, wherein T is more than 0 and less than or equal to N;
if P is integral multiple of T, the first group is the 1 st to T, the S group is the (S-1) XT +1 th to SXT postal matters, the N/2 is more than or equal to T and less than or equal to N, and the 1 is more than or equal to S and less than or equal to P/T;
if P is S multiplied by T + m, m is less than T, then the last group of the grouping is S multiplied by T +1 to S multiplied by T + m;
step 04, printing the grouped postal bills according to the time sequence of the first postal bill of each group,
the method comprises the following steps:
step 04-1, detecting the state of the printing equipment, including the number of printing files contained in the interface of the printing equipment, the preheating state of the equipment and the communication state of the interface;
step 04-2, sending a printing instruction and calling a printing interface, sending a grouping printing instruction to printing equipment, and inputting printing data through the printing interface;
step 04-3, printing the first group of postal tickets, and sending the printing data of the first group of postal tickets to printing equipment through a printing interface to start printing;
step 04-4, judging whether the first group of postal tickets are printed, if so, entering the next step, and if not, continuing to print;
and step 04-5, printing the rest S group postal bills in sequence by circularly calling the interface.
2. The method of claim 1, wherein step 4 further comprises: and step 04-6, after the printing of the S group postal bills is finished, detecting the number of the postal bills actually printed in the group and judging whether omission exists or not, if the omission exists, sorting the omitted postal bills and automatically arranging the omitted postal bills into the postal bills in the S +1 th group to be printed, and if the omission does not exist, continuously printing the next group.
3. The method of claim 1, further comprising: and step 05, automatically recording the finished printing quantity after printing a group of postal bills, and sending a printing end instruction to the printing equipment to stop printing operation when the recorded accumulated printing quantity reaches P.
4. The method of claim 1, wherein N is preferably 100.
5. An electronic device comprising a memory and a processor, wherein the memory is configured to store a mailing printing system for execution by the processor, the mailing printing system comprising:
the data acquisition module is used for acquiring the number of the postal tickets to be printed;
the judging module is used for judging whether the number of the postal bills to be printed exceeds N, wherein N is an upper limit value of single printing, if the number of the postal bills to be printed exceeds N, the postal bills to be printed are sent to the grouping module for grouping, and if the number of the postal bills to be printed does not exceed N, the postal bills are directly sent to the printing module for printing;
the grouping module is used for grouping the postal bills to be printed and sending the grouped postal bills to the printing module; grouping the postal bills to be printed into a group according to the time sequence of the postal bills, wherein T is more than 0 and less than or equal to N;
if P is integral multiple of T, the first group is the 1 st to T, the S group is the (S-1) XT +1 th to SXT postal matters, the N/2 is more than or equal to T and less than or equal to N, and the 1 is more than or equal to S and less than or equal to P/T;
if P is S multiplied by T + m, m is less than T, then the last group of the grouping is S multiplied by T +1 to S multiplied by T + m;
the printing module is used for printing the postal bill to be printed, and the printing module is used for:
detecting the printing equipment state, including the number of printing files contained in the printing equipment interface, the equipment preheating state and the interface communication state;
sending a printing instruction and calling a printing interface, sending a grouping printing instruction to printing equipment, and inputting printing data through the printing interface;
printing the first group of postal tickets, and sending the printing data of the first group of postal tickets to printing equipment through a printing interface to start printing;
judging whether the first group of postal tickets are printed or not, if so, entering the next step, and if not, continuing to print;
and circularly calling the interface to sequentially print the rest S-group postal bills.
6. The electronic device according to claim 5, wherein the printing module comprises a normal printing sub-module and a group printing sub-module, the normal printing sub-module is used for printing the postal matters with the number not exceeding N to be printed, and the group printing sub-module is used for performing group printing on the postal matters with the number exceeding N to be printed.
7. The electronic device of claim 5, wherein the postal order printing system further comprises a print counting module configured to record the number of postal orders that have been printed in an accumulated manner.
8. A computer-readable storage medium having stored therein a postal sheet printing system executable by at least one processor to cause the at least one processor to perform the steps of the postal sheet printing method according to any one of claims 1 to 4.
CN201810148315.9A 2018-02-13 2018-02-13 Post order printing method, electronic device and computer readable storage medium Active CN108509160B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810148315.9A CN108509160B (en) 2018-02-13 2018-02-13 Post order printing method, electronic device and computer readable storage medium
PCT/CN2018/083065 WO2019157778A1 (en) 2018-02-13 2018-04-13 Postage slip printing method, electronic device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810148315.9A CN108509160B (en) 2018-02-13 2018-02-13 Post order printing method, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108509160A CN108509160A (en) 2018-09-07
CN108509160B true CN108509160B (en) 2020-05-12

Family

ID=63375076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810148315.9A Active CN108509160B (en) 2018-02-13 2018-02-13 Post order printing method, electronic device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108509160B (en)
WO (1) WO2019157778A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110802957B (en) * 2019-10-11 2021-11-02 杭州珐珞斯科技有限公司 Printing quantity control method and system for printing equipment
CN113724049A (en) * 2021-09-07 2021-11-30 上海寻梦信息技术有限公司 Information processing method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4531025B2 (en) * 2006-09-22 2010-08-25 シャープ株式会社 Printing system and printing method
JP5415750B2 (en) * 2008-11-28 2014-02-12 キヤノン株式会社 Information processing apparatus, information processing method, program, and information processing system
CN101582016A (en) * 2009-05-27 2009-11-18 北京大学 Method and device for printing data
CN102799399B (en) * 2012-07-03 2016-03-16 青岛海信传媒网络技术有限公司 Network printing method and the network printer
CN104346109A (en) * 2013-08-09 2015-02-11 华为终端有限公司 Method and device for home shared printing
CN104417102B (en) * 2013-08-29 2017-11-24 北大方正集团有限公司 A kind of Method of printing and device
CN106406781A (en) * 2016-11-18 2017-02-15 北京红马科技有限公司 Ticket printing method for reducing paper dependence

Also Published As

Publication number Publication date
CN108509160A (en) 2018-09-07
WO2019157778A1 (en) 2019-08-22

Similar Documents

Publication Publication Date Title
CN112541745A (en) User behavior data analysis method and device, electronic equipment and readable storage medium
CN111078140A (en) Nuclear power station file uploading management method and device, terminal equipment and medium
CN108509160B (en) Post order printing method, electronic device and computer readable storage medium
CN112115145A (en) Data acquisition method and device, electronic equipment and storage medium
CN113688923A (en) Intelligent order abnormity detection method and device, electronic equipment and storage medium
CN113163009A (en) Data transmission method, device, electronic equipment and storage medium
CN108881651B (en) Data processing method, device and equipment of call platform and storage medium
CN111258799A (en) Error reporting information processing method, electronic device and computer readable storage medium
CN107357885A (en) Method for writing data and device, electronic equipment, computer-readable storage medium
CN112702228A (en) Service current limiting response method and device, electronic equipment and readable storage medium
CN114265740A (en) Error information processing method, device, equipment and storage medium
CN107180413B (en) Vehicle damages picture angle correcting method, electronic device and readable storage medium storing program for executing
CN113051224A (en) File transmission method and device, electronic equipment and computer readable storage medium
CN109918385A (en) Tripartite&#39;s account checking method, electronic device and readable storage medium storing program for executing
CN111914548A (en) Intelligent document filling method and system and related equipment
WO2019071899A1 (en) Electronic device, vehicle data import method and storage medium
US11146571B2 (en) Data transmission method, apparatus, terminal device, and medium
CN116187252A (en) Acceleration generation method, device, equipment and storage medium for PCB drawing
CN114168624B (en) Data analysis method, computing device and storage medium
CN115145870A (en) Method and device for positioning reason of failed task, electronic equipment and storage medium
CN114169306A (en) Method, device and equipment for generating electronic receipt and readable storage medium
CN114185588A (en) Incremental package generation method, device, equipment and storage medium
CN110263310B (en) Data graph generation method and device and computer readable storage medium
CN111752821B (en) Method, device, computer equipment and readable storage medium for packet pressure measurement
CN115859945B (en) Data matching method, system and readable storage medium based on table header

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
GR01 Patent grant
GR01 Patent grant