CN111240611A - Control method and system for parallel printing of multiple printers - Google Patents
Control method and system for parallel printing of multiple printers Download PDFInfo
- Publication number
- CN111240611A CN111240611A CN202010044779.2A CN202010044779A CN111240611A CN 111240611 A CN111240611 A CN 111240611A CN 202010044779 A CN202010044779 A CN 202010044779A CN 111240611 A CN111240611 A CN 111240611A
- Authority
- CN
- China
- Prior art keywords
- printers
- printer
- control module
- printing information
- printing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1229—Printer resources management or printer maintenance, e.g. device status, power levels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
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 relates to a control method and a system for parallel printing of a plurality of printers, wherein the control method comprises a single receiver and a plurality of printers; the plurality of printers are simultaneously in signal connection with the single receiver; the order receiving device controls each printer independently, and also controls each printer simultaneously and parallelly according to a set control method, namely when a control module of the order receiving device receives two or more printing information, the control module provides the printing information to each connected printer in sequence according to the time sequence and the sequence compiled by the printer. According to the technical scheme, the order receiver is simultaneously connected with the plurality of printers, and the control method for parallel printing of the printers realizes automatic distribution of the printing information sent by the network platform on the plurality of printers, so that the problem that a large number of orders can only be printed on a single printer in order peak periods is solved.
Description
Technical Field
The invention belongs to the technical field of IT, relates to a network platform control system, and particularly relates to a control method and a control system for parallel printing of a plurality of printers.
Background
Commercial supermarkets or convenience store retail establishments, in order to increase sales, will essentially go online, such as best to home in the east of kyoto, takeaway in the united states, hungry for retail, praise, self-built online shopping malls. Some enterprises have large sales volumes and receive a large number of online orders from the platform and need to print the orders.
The order receiving device in the current market can only be connected with a single printer to print orders, so that when the business volume of stores is large, the printer cannot work in the order peak period, information output to the printer by a platform overflows, and the safe printing of each order cannot be guaranteed.
On the other hand, in the conventional computer technology, a plurality of printers can be connected to one computer at the same time for controlling the operation of the plurality of printers, but in all the conventional printing control modes, a certain printer is designated by the computer to perform printing operation, a plurality of printing tasks cannot be automatically distributed to the plurality of connected printers by the computer, and the printing efficiency cannot be improved.
Disclosure of Invention
The invention aims to provide a control method and a control system for parallel printing of a plurality of printers, which aim to solve the problem that the printers cannot work in the prior art at the time of order peak.
The invention is realized by the following technical scheme:
a control method for parallel printing of a plurality of printers comprises the following steps:
s1, numbering the printers and storing the numbers in the control module;
s2, the control module sets time TnWhen two or more than two pieces of first printing information are received, the control module detects the connection state of each printer, determines each connected printer, and compiles the connected printers;
and the control module sequentially provides the first printing information to the connected printers according to the time sequence and the printer-organized sequence.
In step S1, the method further includes setting a priority printer after numbering the plurality of printers, and storing a number corresponding to the priority printer in the control module.
The control module is used for setting time TnAnd when only one piece of first printing information is received, the control module allocates the first printing information to the priority printer.
The control module is used for setting time Tn+1And when receiving the second printing information, the control module judges the quantity of the second printing information:
and if the number of the second printing information is two or more, the control module distributes the second printing information to the connected printers in succession to the first printing information.
The control module is used for setting time Tn+1And when receiving the second printing information, the control module judges the quantity of the second printing information:
and if the number of the second printing information is two or more, the control module redistributes the second printing information in the connected printer organizations in sequence.
Furthermore, when a plurality of printers are numbered, corresponding printers are arranged according to information sources;
the control module judges the source of the first printing information when receiving the first printing information and distributes the first printing information to the set printer according to the information source.
A multi-printer parallel printing system comprises a single receiver and a plurality of printers; the plurality of printers are simultaneously in signal connection with the single receiver;
the order taker controls each printer independently, and also controls each printer in parallel according to any one of the control methods.
Furthermore, the system also comprises a network platform, and the network platform is in signal connection with the single receiver.
The invention has the beneficial effects that:
according to the technical scheme, the order receiver is simultaneously connected with the plurality of printers, and the control method for parallel printing of the printers realizes automatic distribution of the printing information sent by the network platform on the plurality of printers, so that the problem that a large number of orders can only be printed on a single printer in order peak periods is solved.
The control method of the technical scheme is also suitable for controlling the common printer, and improves the printing efficiency.
Drawings
FIG. 1 is a logic diagram of the multi-printer parallel printing control of the present invention.
Detailed Description
The technical solutions of the present invention are described in detail below by examples, and the following examples are only exemplary and can be used only for explaining and explaining the technical solutions of the present invention, but not construed as limiting the technical solutions of the present invention.
The technical scheme of this application is mainly to the technical scheme that a plurality of printers are connected to a receipts singly ware, if a plurality of receipts singly ware connect many printers respectively this technical scheme is applicable equally. For further extension of the technical scheme, the bill receiving device is still applicable to replacing a computer, a workstation and the like.
The technical scheme mainly provides a multi-printer parallel printing system, as shown in fig. 1, which comprises a single receiving device, in other embodiments of the application, the single receiving device can be a computer or a workstation, and the application of the technical scheme of the application is not affected. And the plurality of printers are in signal connection with the bill acceptor at the same time, and the signal connection comprises wired connection and wireless connection.
The connection mode is similar to that of some existing companies or enterprises, one computer may be connected with a plurality of printers, but in the prior art, no matter how many printers are connected, when printing, no matter how many files are to be printed, the printer to be used is firstly selected, then after a plurality of files to be printed are printed, the files are waited in the printing service list of the selected printer and are printed in sequence, and the unselected printers are still in a standby state.
In the system of the present application, the order acceptor controls each of the printers individually (this control method is the same as the control method of the related art), and the order acceptor controls each of the printers simultaneously and in parallel according to the set print control method to perform printing.
In the system of the present application, a network platform is also included, and in other embodiments of the present application, the system may refer to other sources of information to be printed, such as a data center and the like.
In the technical solution of the present application, the set printing control method includes one of the control methods shown in the following embodiments.
Example 1
A control method for parallel printing of a plurality of printers comprises the following steps:
s1, numbering the printers and storing the numbers in the control module; in this embodiment, three printers are taken as an example for description, but this technical solution never means that only the print control of three printers can be supported. The numbers of the three printers can be numbered according to needs, such as an A printer, a B printer and a C printer, and the three printers can also be numbered according to character strings or bytes and other modes, and the implementation of the technical scheme of the application is not affected by the number, and the A printer, the B printer and the C printer are stored in the control module.
S2, the control module sets time TnWhen receiving two or more first printing information, the control module firstly detects the connection state of three printers, determines each connected printer and compiles the connected printers; the method specifically comprises the following steps: if the three printers are detected to be in a connected state, the printers are programmed according to the ABC sequence, numbering can be carried out according to other modes, and the determination is carried out according to the required setting; if only two printers, such as the printer a and the printer B, are detected to be connected, the printers are programmed in the order AB.
The control module sequentially provides the first printing information to the connected printers according to the time sequence and the printer compiling sequence; the method specifically comprises the following steps: the first of the first print information is assigned to the a printer, the second to the B printer, the third to the C printer, the fourth to the a printer, and so on.
In step S1, the method further includes setting a priority printer after numbering all the plurality of printers, in this embodiment, the printer a is set as the priority printer, and the number corresponding to the priority printer is stored in the control module.
The control module is used for setting time TnAnd when only one piece of first printing information is received, the control module allocates the first printing information to the priority printer.
At a set time TnThen, the next time period, in this embodiment, the set time Tn+1And (4) the following steps.
The control module is used for setting time Tn+1And when receiving the second printing information, the control module judges the quantity of the second printing information:
and if the number of the second printing information is only one, the control module allocates the second printing information to the priority printer.
If the second printing information is two or more than two, the control module distributes the second printing information to the connected printers by following the first printing information, specifically: if the last print information of the first print information is assigned to the B printer, the control module assigns the first print information of the second print information to the C printer, the second print information to the a printer, the third print information to the B printer, and so on, when the second print information is assigned.
Example 2
A control method for parallel printing of a plurality of printers comprises the following steps:
s1, numbering the printers and storing the numbers in the control module; in this embodiment, three printers are taken as an example for description, but this technical solution never means that only the print control of three printers can be supported. The numbers of the three printers can be numbered according to needs, such as an A printer, a B printer and a C printer, and the three printers can also be numbered according to character strings or bytes and other modes, and the implementation of the technical scheme of the application is not affected by the number, and the A printer, the B printer and the C printer are stored in the control module.
S2, the control module sets time TnWhen receiving two or more first printing information, the control module firstly detects the connection state of three printers, determines each connected printer and compiles the connected printers; the method specifically comprises the following steps: if the three printers are detected to be in a connected state, the printers are programmed according to the ABC sequence, numbering can be carried out according to other modes, and the determination is carried out according to the required setting; if only two printers, such as the printer a and the printer B, are detected to be connected, the printers are programmed in the order AB.
The control module sequentially provides the first printing information to the connected printers according to the time sequence and the printer compiling sequence; the method specifically comprises the following steps: the first of the first print information is assigned to the a printer, the second to the B printer, the third to the C printer, the fourth to the a printer, and so on.
In step S1, the method further includes setting a priority printer after numbering all the plurality of printers, in this embodiment, the printer a is set as the priority printer, and the number corresponding to the priority printer is stored in the control module.
The control module is used for setting time TnAnd when only one piece of first printing information is received, the control module allocates the first printing information to the priority printer.
At a set time TnThen, the next time period, in this embodiment, the set time Tn+1And (4) the following steps.
The control module is used for setting time Tn+1And when receiving the second printing information, the control module judges the quantity of the second printing information:
and if the number of the second printing information is only one, the control module allocates the second printing information to the priority printer.
If the second printing information is two or more than two, the control module sequentially redistributes the second printing information in the connected printer set, specifically: the control module assigns the first of the second print information to the a printer, the second to the B printer, the third to the C printer, and so on, regardless of which printer the last print information of the first print information is assigned to.
Example 3
A control method for parallel printing of a plurality of printers comprises the following steps:
s1, numbering the printers and storing the numbers in the control module; in this embodiment, three printers are taken as an example for description, but this technical solution never means that only the print control of three printers can be supported. The numbers of the three printers can be numbered according to needs, such as an A printer, a B printer and a C printer, and the three printers can also be numbered according to character strings or bytes and other modes, and the implementation of the technical scheme of the application is not affected by the number, and the A printer, the B printer and the C printer are stored in the control module.
Meanwhile, the printer A is set to print the printing information of the order from Jingdong to Jia, the printer B is set to print the printing information of the American group takeaway order, the printer C is set to print the printing information of the order from an online channel, and the like.
The control module judges the source of the first printing information when receiving the first printing information, and if the first printing information source is determined to be a Jingdong-to-home order, the control module distributes the first printing information to the printer A, wherein the first printing information comprises one or more than one printing information and is distributed to the printer A.
If the first printing information source is determined to be the American takeaway order, the control module distributes the first printing information to the B printer, wherein the first printing information comprises one or more than one printing information and is distributed to the B printer.
If the first printing information source is determined to be an online channel order, the control module distributes the first printing information to the C printer, wherein the first printing information comprises one or more than one printing information and is distributed to the C printer.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (8)
1. A control method for parallel printing of a plurality of printers is characterized by comprising the following steps:
s1, numbering the printers and storing the numbers in the control module;
s2, the control module sets time TnWhen two or more than two pieces of first printing information are received, the control module detects the connection state of each printer, determines each connected printer, and compiles the connected printers;
and the control module sequentially provides the first printing information to the connected printers according to the time sequence and the printer-organized sequence.
2. The method for controlling the parallel printing by the plurality of printers as claimed in claim 1, wherein the step S1 further comprises setting the priority printer after numbering the plurality of printers, and storing the number corresponding to the priority printer in the control module.
3. Root of herbaceous plantThe method of claim 2, wherein the control module sets the time T to be a predetermined timenAnd when only one piece of first printing information is received, the control module allocates the first printing information to the priority printer.
4. The method of claim 1, wherein the control module sets the time T to be a predetermined timen+1And when receiving the second printing information, the control module judges the quantity of the second printing information:
and if the number of the second printing information is two or more, the control module distributes the second printing information to the connected printers in succession to the first printing information.
5. The method of claim 1, wherein the control module sets the time T to be a predetermined timen+1And when receiving the second printing information, the control module judges the quantity of the second printing information:
and if the number of the second printing information is two or more, the control module redistributes the second printing information in the connected printer organizations in sequence.
6. The method of controlling the parallel printing by a plurality of printers according to claim 1, wherein when the plurality of printers are numbered, the corresponding printers are set by information sources;
the control module judges the source of the first printing information when receiving the first printing information and distributes the first printing information to the set printer according to the information source.
7. A multi-printer parallel printing system is characterized by comprising an order receiver and a plurality of printers; the plurality of printers are simultaneously in signal connection with the single receiver;
the order taker, in addition to individually controlling each of the printers, includes the order taker simultaneously controlling each of the printers in parallel according to the control method of any one of the preceding claims 1 to 6.
8. The system of claim 7, further comprising a network platform in signal communication with the order taker.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010044779.2A CN111240611A (en) | 2020-01-16 | 2020-01-16 | Control method and system for parallel printing of multiple printers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010044779.2A CN111240611A (en) | 2020-01-16 | 2020-01-16 | Control method and system for parallel printing of multiple printers |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111240611A true CN111240611A (en) | 2020-06-05 |
Family
ID=70869477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010044779.2A Pending CN111240611A (en) | 2020-01-16 | 2020-01-16 | Control method and system for parallel printing of multiple printers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111240611A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06155861A (en) * | 1992-11-20 | 1994-06-03 | Fuji Xerox Co Ltd | Printing control device |
JPH08305517A (en) * | 1995-04-28 | 1996-11-22 | Nec Corp | Printer control system |
JPH09212313A (en) * | 1996-01-31 | 1997-08-15 | Hitachi Ltd | Print queue control method |
JPH1178178A (en) * | 1997-09-10 | 1999-03-23 | Oki Data:Kk | Print system |
-
2020
- 2020-01-16 CN CN202010044779.2A patent/CN111240611A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06155861A (en) * | 1992-11-20 | 1994-06-03 | Fuji Xerox Co Ltd | Printing control device |
JPH08305517A (en) * | 1995-04-28 | 1996-11-22 | Nec Corp | Printer control system |
JPH09212313A (en) * | 1996-01-31 | 1997-08-15 | Hitachi Ltd | Print queue control method |
JPH1178178A (en) * | 1997-09-10 | 1999-03-23 | Oki Data:Kk | Print system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102821044B (en) | Method and device for configuring server cluster | |
CN101364167A (en) | Printing control method and device | |
CN105721357A (en) | Exchange device, and peripheral component interconnection express (PCIe) system and initialization method thereof | |
CN101102305A (en) | Method and system for managing network information processing | |
CN106452506A (en) | Method for one-off collection of a plurality of data items | |
CN102571923A (en) | Data synchronization system and method | |
USRE46770E1 (en) | Computer managing method | |
CN104112156A (en) | System and method for updating electronic shelf label and updating device and method thereof | |
CN111258513A (en) | Control method and system for supporting parallel printing of multiple printers | |
CN101526925B (en) | Processing method of caching data and data storage system | |
CN111240611A (en) | Control method and system for parallel printing of multiple printers | |
CN109120680A (en) | A kind of control system, method and relevant device | |
CN104486401A (en) | Partitioned data control method and system | |
CN114510408A (en) | Information feedback method, device, system, equipment and storage medium | |
US20210150579A1 (en) | System and method for advertising by means of back of cash register paper | |
CN205176938U (en) | Professional worker's single electron real time transport system of power consumption | |
CN101616393A (en) | A kind of mthods, systems and devices of setting rechargeable card | |
CN108306770B (en) | Inter-board communication system and method | |
US8275849B2 (en) | Wireless network and method for sharing flexible data between a master and slaves in real time | |
CN101304334A (en) | Method and system for controlling key service collocation command down-transmitting sequence | |
CN101854398A (en) | File copy equilibrium distribution method, device and system | |
CN102385350A (en) | Process card output method and device, and computer device | |
CN111784373B (en) | Information pushing method, device, system, equipment and storage medium | |
CN109872199B (en) | Invoice issuing method and system | |
KR102620490B1 (en) | Esl system and operating method thereof |
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 |
Application publication date: 20200605 |