CN106484343A - The method and device of control printer, electronic equipment - Google Patents

The method and device of control printer, electronic equipment Download PDF

Info

Publication number
CN106484343A
CN106484343A CN201610822875.9A CN201610822875A CN106484343A CN 106484343 A CN106484343 A CN 106484343A CN 201610822875 A CN201610822875 A CN 201610822875A CN 106484343 A CN106484343 A CN 106484343A
Authority
CN
China
Prior art keywords
printer
vegetable
mark
module
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.)
Granted
Application number
CN201610822875.9A
Other languages
Chinese (zh)
Other versions
CN106484343B (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201610822875.9A priority Critical patent/CN106484343B/en
Publication of CN106484343A publication Critical patent/CN106484343A/en
Application granted granted Critical
Publication of CN106484343B publication Critical patent/CN106484343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • 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/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1234Errors handling and recovery, e.g. reprinting
    • 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/1281Multi engine printer devices, e.g. one entity having multiple output engines

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 provides a kind of method and device of control printer, electronic equipment, and the method includes:Based on menu information, the vegetable mark for each needing to print is sent to N platform printer, N is positive integer;Receiving M platform printer and feedback message being printed for the respective M bar for needing the vegetable mark for printing to generate, M is positive integer, and M N;The vegetable mark included with the menu information by feedback message is printed based on the M bar, determines the target printer that vegetable is printed in the N platform printer with the presence or absence of no marking;When there is the target printer in the N platform printer, the instruction for printing again the vegetable mark that the target printer needs to print is sent to the target printer.The technical scheme of the application can send the instruction for printing again the vegetable mark that the target printer needs to print, so as to avoid printer from the situation that no marking prints receipt occur when there is the target printer that no marking prints vegetable to target printer.

Description

The method and device of control printer, electronic equipment
Technical field
The application is related to electronic technology field, more particularly to a kind of method and device of control printer, electronic equipment.
Background technology
When user goes to restaurant to have dinner, if user has selected the different classes of vegetable of multiple tracks, client of ordering would generally Classification according to vegetable prints multiple receipts, and each receipt distributes to responsible different vegetable cooking area, for example, by classification The cook in Hot dishes area is distributed to for the receipt of the vegetable of Hot dishes, receipt of the classification for the vegetable of cold dish is distributed to the kitchen in cold dish area Teacher, cook are divided the work according to the classification of vegetable, realize the cooking of vegetable.In the process, lead if printer breaks down Cause some vegetables by no marking, cook can omit the cooking of vegetable due to not taking the receipt of vegetable, when causing user to wait Between too long, or user's meal retreating, otherwise extend user dining duration, reduce user dining experience.
Content of the invention
In view of this, the application provides a kind of new technical scheme, can prevent the receipt no marking on menu from printing, it is ensured that dish Product normally can be cooked.
For achieving the above object, the application offer technical scheme is as follows:
A kind of first aspect according to the application, it is proposed that method of control printer, including:
Based on menu information, the vegetable mark for each needing to print is sent to N platform printer, N is positive integer;
Obtaining M platform printer and feedback message being printed for the respective M bar for needing the vegetable mark for printing to generate, M is Positive integer, and M N;
The vegetable mark included with the menu information by feedback message is printed based on the M bar, determines that the N platform is printed The target printer of vegetable is printed in machine with the presence or absence of no marking;
When there is the target printer in the N platform printer, sending to print to the target printer again and being somebody's turn to do Target printer needs the instruction of the vegetable mark for printing.
A kind of second aspect according to the application, it is proposed that device of control printer, including:
First sending module, for being based on menu information, sends the vegetable mark for each needing to print to N platform printer;
Acquisition module, each needs to print for the described of the first sending module transmission for receiving M platform printer The M bar that generates of vegetable mark print feedback message, M is positive integer, and M N;
First determining module, the M bar for being received based on the acquisition module print feedback message and the dish The vegetable mark included by single information, determines the target printer for printing vegetable in the N platform printer with the presence or absence of no marking;
When first determining module, second sending module, for determining that there is the target in the N platform printer beats During print machine, the instruction for printing again the vegetable mark that the target printer needs to print is sent to the target printer.
The third aspect according to the application, it is proposed that a kind of electronic equipment, the electronic equipment include:
Processor;For storing the memory of the processor executable;
Wherein, the processor, for being based on menu information, sends the vegetable mark for each needing to print to N platform printer Know, N is positive integer;Receive the M platform printer feedback is printed for the respective M bar for needing the vegetable mark for printing to generate Message, M are positive integer, and M N;The vegetable mark included with the menu information by feedback message is printed based on the M bar, Determine the target printer that vegetable is printed in the N platform printer with the presence or absence of no marking;When there is the mesh in the N platform printer During mark printer, the instruction for printing again the vegetable mark that the target printer needs to print is sent to the target printer.
From above technical scheme, the application when there is the target printer that no marking prints vegetable, to target printer The instruction for printing again the vegetable mark that the target printer needs to print is sent, such that it is able to avoid printer from no marking print occur The situation of receipt.
Description of the drawings
Figure 1A is the flow chart of the method for the control printer according to one example embodiment of the present invention;
Figure 1B is the scene graph being suitable for of Figure 1A illustrated embodiment;
Fig. 2 is the flow chart of the method for control printer in accordance with an alternative illustrative embodiment of the present invention;
Fig. 3 is the flow chart of the method for the control printer of the another exemplary embodiment according to the present invention;
Fig. 4 is the flow chart of the method for control printer in accordance with a further exemplary embodiment of the present invention;
Fig. 5 is the structure chart of the device of the control printer according to one example embodiment of the present invention;
Fig. 6 is the structure chart of the device of control printer in accordance with an alternative illustrative embodiment of the present invention
Fig. 7 is the structure chart of the electronic equipment according to one example embodiment of the present invention.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and is wrapped Containing one or more associated any or all possible combination for listing project.
It will be appreciated that though using term first, second, third, etc. various information may be described in the application, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
It is that the application is further described, the following example is provided:
Figure 1A is the flow chart of the method for the control printer according to one example embodiment of the present invention, and Figure 1B is Figure 1A The scene graph being suitable for of illustrated embodiment;The method of the control printer can be applied in electronic equipment (for example:Intelligent hand Machine, panel computer, POS etc.) on, as shown in Figure 1A, comprise the steps:
Step 101, based on menu information, sends the vegetable mark for each needing to print to N platform printer, and N is positive integer.
In one embodiment, whole vegetable that menu information can be selected at the restaurant by same user.Implement one Practical layout that can be according to restaurant for cooking area in example sets the quantity of an at least printer, and the application beaten to N platform The particular number of print machine is not limited.In one embodiment, each printer can print a classification according to pre-setting Vegetable, for example, for the printer for providing print service for cold dish area, the classification of the vegetable that can be printed is cold dish, for The printer of print service is provided the user, can printed is that the currently selected fixed whole vegetable of the user is identified and is somebody's turn to do Vegetable identifies the information such as corresponding price, time-write interval.In one embodiment, vegetable mark can for the corresponding numbering of vegetable, Any one in the Chinese of vegetable, the English name of vegetable or the combination more than both.
Step 102, receives M platform printer and prints feedback message for the M bar for each needing the vegetable mark of printing to generate, M is positive integer, and M N.
In one embodiment, print feedback message can carry the printing content of corresponding printer, time-write interval point with And the mark of the printer, for example, content is printed for vegetable mark 1001 (1001 is the numbering of vegetable) and time-write interval point On 01 01st, 2016 12:30, printer be designated 2001.
Step 103, prints, based on M bar, the vegetable mark included with menu information by feedback message, determines in N platform printer The target printer of vegetable is printed with the presence or absence of no marking, when there is target printer in N platform printer, execution step 104, work as N When there is no target printer in platform printer, this normal print menu information is determined, point out printing to complete.
In one embodiment, can pass through to print from M bar and parse in each printing feedback information in feedback message The content that each printer has been printed, obtains the vegetable for all having printed, the vegetable that this has all been printed and menu information In whole vegetables for including be compared, when whole vegetables that menu information is included are differed with the vegetable for printing, can There is, to determine, the target printer for not printing vegetable.
Step 104, when there is target printer in N platform printer, sending to target printer and printing again the target Printer needs the instruction of the vegetable mark for printing.
In an exemplary scenario, as shown in Figure 1B, by N be 3 and M be 2 as a example by illustrative, electronic equipment 10 control printers 11, printer 12, printer 13 and printer 14, wherein, printer 11 is used for as user (diner) There is provided print menu service, printer 12 is the printer in the Hot dishes area in kitchen, printer 13 be in kitchen Cold dish area printer, printer 14 is the printer in the hot soup area in kitchen, now, printer printer 12, beats Print machine 13 and printer 14 can be considered the N platform printer in the application.User is put in passing through electronic equipment 10 at the restaurant Vegetable includes:Stewed fish with brown sauce, cold and dressed with sauce cooking shredded potato, Tomato and egg soup, when electronic equipment 10 is to printer 11, printer 12, printer 13 and after printer 14 sends print command, printer 11 is printed comprising stewed fish with brown sauce, cold and dressed with sauce cooking shredded potato, Tomato and egg soup Receipt, printer 12 are the receipt of cook's printing " stewed fish with brown sauce " in Hot dishes area, and printer 13 is " cold and dressed with sauce for cook's printing in cold dish area The receipt of cooking shredded potato ", printer 14 are the receipt of cook's printing " Tomato and egg soup " in hot soup area, it is possible thereby to make the work in kitchen Make personnel and corresponding vegetable is prepared according to each self-corresponding receipt.Printer 12, printer 13 and printer 14 are after printing Respective printing feedback message can be returned to electronic equipment 10, totally 3 printing feedback messages, for example, if 3 print feedback and disappear Include " stewed fish with brown sauce ", " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " in breath, then identical with the vegetable included in menu information, can Determine that printer 12, printer 13 and printer 14 are all printed normally, if printer 12 is not returned to electronic equipment 10 printing Feedback message, printer 13 and printer 14 have fed back printing feedback message to electronic equipment 10, then the printing of each self feed back In feedback message include " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup ", then with the vegetable " stewed fish with brown sauce " included in menu information, " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " differ, and printer 12 can be defined as target printer by electronic equipment 10, lay equal stress on The new instruction for sending printing " stewed fish with brown sauce " to printer 12, so that the cook for cooking " stewed fish with brown sauce " is cooked after seeing receipt as early as possible " stewed fish with brown sauce ".
It will be appreciated by persons skilled in the art that the present embodiment only by N be 3 and M be 2 as a example by carry out exemplary theory Bright, the quantity of target printer is N-M=3-2=1 platform in this case, and the target printer in the application is not limited to one Platform, the quantity of target printer by N and M difference determining, or more than two, above-mentioned example scene can not shape The restriction of the application in pairs.
In the present embodiment, when there is the target printer that no marking prints vegetable, sending to print to target printer again and being somebody's turn to do Target printer needs the instruction of the vegetable mark for printing, such that it is able to avoid printer from the situation that no marking prints receipt occur, really Protect cook and vegetable is cooked according to receipt in time, it is to avoid period of reservation of number too long, improves the dining experience of user.
Fig. 2 is the flow chart of the method for control printer in accordance with an alternative illustrative embodiment of the present invention;The present embodiment The said method provided using the embodiment of the present application, prints, based on M bar, the dish included with menu information by feedback message with how As a example by product identify the target printer for determining whether there is no marking print vegetable and illustrative with reference to Figure 1B, as Fig. 2 institute Show, comprise the steps:
Step 201, parses M bar and prints each vegetable mark for having printed for printing feedback message carrying in feedback message Know, obtain the vegetable mark for all having printed.
As shown in Figure 1B, electronic equipment 10 can be parsed to each printing feedback message for receiving, and read out The vegetable mark for having printed, obtains the vegetable mark for all having printed, and for example, the vegetable mark for all having printed is including " braised in soy sauce Fish ", " cold and dressed with sauce cooking shredded potato " each self-corresponding mark, or, the vegetable mark for all having printed includes " stewed fish with brown sauce ", " cold and dressed with sauce soil Beans silk ", " Tomato and egg soup " each self-corresponding mark.
Step 202, the vegetable mark for all having printed is compared with the vegetable mark included in menu information, really The fixed vegetable mark for having printed identify whether with the vegetable included in menu information identical, when the vegetable for having printed is identified and dish When vegetable mark included in single information is differed, execution step 203, when the vegetable mark and the institute in menu information that have printed Comprising vegetable mark identical when, execution step 207.
For example, the vegetable mark for all having printed includes " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " each self-corresponding mark When, the vegetable mark included in menu information includes that " stewed fish with brown sauce ", " cold and dressed with sauce cooking shredded potato ", " Tomato and egg soup " are each self-corresponding Identify, then the two mark for being included is differed;Again for example, the vegetable mark for all having printed includes " stewed fish with brown sauce ", " cold and dressed with sauce soil Beans silk ", " Tomato and egg soup " each self-corresponding mark, the vegetable mark included in menu information include " stewed fish with brown sauce ", " cold and dressed with sauce Cooking shredded potato ", " Tomato and egg soup " each self-corresponding mark, the then mark included by the two are identical.
Step 203, when the vegetable mark for having printed is differed with the vegetable mark included in menu information, determines N There is the target printer that no marking prints vegetable in platform printer.
Corresponding to above-mentioned steps 202, when " stewed fish with brown sauce " corresponding mark is not included in the vegetable mark for all having printed When, it may be determined that printer 12 no marking " stewed fish with brown sauce ".
Step 204, prints the mark for parsing M platform printer in feedback message from M bar.
Step 205, the mark based on M platform printer and each self-corresponding mark of N platform printer, determine and do not send printing instead The mark of the printer of feedback message.
Corresponding to above-mentioned steps 203, for example, electronic equipment 10 can be anti-from the printing of printer 13 and the transmission of printer 14 The mark of respective printer is parsed in feedback message, and electronic equipment 10 can also record currently controllable Print All machine and (beat Print machine 11, printer 12, printer 13 and printer 14) each self-corresponding mark, wherein, printer 11 due to be for user The printer for printing receipt service, the method flow that can be not involved in the present embodiment are provided.Electronic equipment 10 analytically can go out Printer mark each with currently controllable Print All machine self-corresponding mark be compared, can from printer 12, beat Determine in print machine 13 and printer 14 that printer 12 is not sent to electronic equipment 10 and print feedback message.
Step 206, the mark for not sending the printer for printing feedback message is defined as the mark of target printer, flow process Terminate.
Corresponding to above-mentioned steps 205, the mark of printer 12 can be defined as electronic equipment 10 mark of target printer Know.
Step 207, when the vegetable mark for having printed is identical with the vegetable mark included in menu information, determines N platform There is no the target printer that no marking prints vegetable in printer, flow process terminates.
In one embodiment, when there is the target printer that no marking prints vegetable, it may be determined that the beating of current menu information Print is normal, can be printed normally with the voice message Print All machine for setting.
In the present embodiment, feedback message is printed by parsing at least one vegetable for all having printed mark is obtained, should The vegetable mark for all having printed is compared with the vegetable mark included in menu information, and then will not send printing feedback The mark of the printer of message is defined as the mark of target printer, and the printer that unusual condition occur quickly can be known Not, the printer of the non-normal print of control is printed again in time.
Fig. 3 is the flow chart of the method for the control printer of the another exemplary embodiment according to the present invention;The present embodiment The said method provided using the embodiment of the present application, needs, how to send each at least one printer, the vegetable mark for printing As a example by knowledge and illustrative with reference to Figure 1B, as shown in figure 3, comprising the steps:
Step 301, determines the classification of the vegetable mark that menu information includes.
In one embodiment, when user is ordered by electronic equipment 10, electronic equipment 10 enters to the vegetable selected by user Row real-time grading simultaneously determines the classification corresponding to each vegetable, and the classification of vegetable for example, can be incited somebody to action by the self-defined setting in restaurant " stewed fish with brown sauce " is set to Hot dishes, " cold and dressed with sauce cooking shredded potato " is set to Hot dishes, " Tomato and egg soup " is set to hot soup.
Step 302, determines printer corresponding with the classification of vegetable mark from N platform printer.
Step 303, sends the vegetable mark for each needing to print to printer corresponding with classification.
In one embodiment, the classification of vegetable mark is associated with printer, for example, when classification is for Hot dishes, corresponding is beaten Print machine is located at Hot dishes area, and when classification is cold dish, corresponding printer is located at cold dish area, when classification is hot soup, corresponding printer The region for cooking hot soup is located at, when electronic equipment 10 needs control positioned at the printer 12 in kitchen, printer 13 and printer 14 When printing receipt, corresponding printer can be controlled to print according to the classification of vegetable mark, for example, for " stewed fish with brown sauce ", controlled Printer processed 12 prints the receipt of " stewed fish with brown sauce ", for " cold and dressed with sauce cooking shredded potato ", can control printer 13 and prints " cold and dressed with sauce cooking shredded potato " Receipt, for " Tomato and egg soup ", can control the receipt that printer 14 prints " Tomato and egg soup ".
In the present embodiment, control corresponding printer to print corresponding receipt according to the classification of vegetable, kitchen area can be made The division of labor in domain is more detailed, improves the operating efficiency that cook cooks vegetable.
Fig. 4 is the flow chart of the method for control printer in accordance with a further exemplary embodiment of the present invention;The present embodiment The said method provided using the embodiment of the present application, needs, how to send each at least one printer, the vegetable mark for printing As a example by knowledge and illustrative with reference to Figure 1B, as shown in figure 4, comprising the steps:
Step 401, after the mark for determining target printer, disappears to whether target printer transmission abnormal inquiry occurs Breath.
For example, when electronic equipment 10 does not receive the printing feedback message of the transmission of printer 12, can pass through to printer 12 send inquiry message, to know the state of printer 12 as early as possible.
Step 402, obtains the confirmation message that target printer is returned according to inquiry message.
In one embodiment, confirm a status indicator position can be arranged in message, represented by the status indicator position The state of printer.
Step 403, from confirming to parse the state of target printer in message, if the state representation target of target printer is beaten Print machine is in normal print state, execution step 404, if the state representation target printer of target printer is in abnormal shape State, execution step 406.
For example, 0 is parsed from the status indicator position for confirming message, then it represents that printer occurs extremely, parsing 1, then Represent that printer is normal.
Step 404, confirms whether target printer has printed the corresponding vegetable mark of the target printer, if the target Printer does not print the corresponding vegetable mark of the target printer, and execution step 405, if confirmation target printer has printed the mesh The corresponding vegetable mark of mark printer, this prints normally, and printing terminates.
Step 405, sends the instruction for printing again the vegetable mark that the target printer needs to print to target printer, Corresponding step in above-described embodiment is executed then.
In one embodiment, if printer 12 is in normal operating conditions, printer 12 has not been able to print vegetable in time The reason for be probably that printer 12 needs the vegetable for printing mark to cause as network problem is not timely received, then by again The vegetable mark for needing to print is sent to printer 12, it can be ensured that vegetable is printed in time, it is ensured that cook can cook as soon as possible Vegetable processed.
Step 406, generates prompting message and pushes the prompting message, and flow process terminates.
In one embodiment, prompting message can be shown in the way of dialog box on the display screen of electronic equipment 10, Can by way of voice play cuing message, such that it is able to enable staff to know as early as possible, that printer occurs is abnormal, On-call maintenance changes printer, it is ensured that the flow process of the cooking vegetable in kitchen is more smooth.
In the present embodiment, by the printer for printing feedback message transmission inquiry message is not sent, knowing in time The state of printer is not sent, staff can be pointed out to know that printer occurs as early as possible by prompting message abnormal, tie up in time Repair or change printer.
Fig. 5 is the structure chart of the device of the control printer according to one example embodiment of the present invention;As shown in figure 5, The device of the control printer can include:First sending module 51, receiver module 52, the first determining module 53, second send Module 54.Wherein:
First sending module 51, for being based on menu information, sends the vegetable mark for each needing to print to N platform printer Know, N is positive integer;
Acquisition module 52, for receiving the dish that M platform printer is printed for the respective needs that the first sending module 51 sends At least one printing feedback message that product mark is generated, M is positive integer, and M N;
First determining module 53, at least one printing feedback message for being received based on acquisition module 52 are believed with menu The included vegetable mark of breath, determines the target printer for printing vegetable in N platform printer with the presence or absence of no marking;
Second sending module 54, for when the first determining module 53 determine N platform printer in there is target printer when, to Target printer sends the instruction for printing again the vegetable mark that the target printer needs to print.
Fig. 6 is the structure chart of the device of control printer in accordance with an alternative illustrative embodiment of the present invention;As Fig. 6 institute Show, on the basis of above-mentioned embodiment illustrated in fig. 5, the first determining module 53 includes:
Analyzing sub-module 531, prints beating for each printing feedback message carrying in feedback message for parsing M bar The vegetable mark of print, obtains the vegetable mark for all having printed;
Comparison sub-module 532, for analyzing sub-module is obtained whole printed vegetables mark with menu information in Comprising vegetable mark be compared;
First determination sub-module 533, for representing, when the comparative result that comparison sub-module 532 is obtained, the dish for all having printed When product mark is differed with the vegetable mark included in menu information, the mesh for having in N platform printer that no marking prints vegetable is determined Mark printer;
Second determination sub-module 534, for representing, when the comparative result that comparison sub-module 532 is obtained, the dish for all having printed When product mark is identical with the vegetable mark included in menu information, the mesh for not having in N platform printer that no marking prints vegetable is determined Mark printer.
In one embodiment, the device of control printer may also include:
Parsing module 55, for determining, in the first determination sub-module 533, the target for having in N platform printer that no marking prints vegetable After printer, the mark parsed in feedback message for sending the printer for printing feedback message is printed from M bar;
Second determining module 56, for being resolved to based on parsing module 55 for sending the printer for printing feedback message Mark and each self-corresponding printer of M platform printer mark, determine do not send print feedback message printer mark;
3rd determining module 57, does not send, for determined the second determining module 56, the printer for printing feedback message Mark is defined as the mark of target printer.
In one embodiment, the first sending module 51 may include:
3rd determination sub-module 511, for determining the classification of vegetable mark that menu information includes;
4th determination sub-module 512, for determining the vegetable determined with the 3rd determination sub-module 511 from N platform printer The corresponding printer of the classification of mark;
Sending submodule 513, the printer corresponding with classification for determining to the 4th determination sub-module 512 send each Need the vegetable mark for printing.
In one embodiment, the device of control printer may also include:
To the first determining module 53,3rd sending module 58, for determining target printer sends abnormal inquiry whether occur Ask message;
Confirm module 59, for receiving, when acquisition module 52, the inquiry that target printer sends according to the 3rd sending module 58 When asking the confirmation message that message is returned, if confirming, message represents that target printer, in normal print state, confirms the target Whether printer has printed the corresponding vegetable mark of the target printer;
If confirming, module 59 confirms that target printer does not print the corresponding vegetable mark of the target printer, and second sends mould Block 54 executes the step of sending the instruction for printing again the vegetable mark that target printer needs are printed to target printer;
For the confirmation message table that acquisition module 52 gets, prompting message generation module 50, if show that target printer is in Abnormality, generates prompting message and pushes prompting message.
Corresponding to the method for above-mentioned control printer, the application also proposed showing according to the one of the present invention shown in Fig. 7 The schematic configuration diagram of the electronic equipment of example property embodiment.Fig. 7 is refer to, in hardware view, the electronic equipment includes processor, interior Portion's bus, network interface, internal memory and nonvolatile memory, the hardware being also possible that required for other business certainly.Place Reason device reads corresponding computer program from nonvolatile memory in internal memory and then runs, and forms control on logic level The device of printer processed.Certainly, in addition to software realization mode, the application is not precluded from other implementations, such as logic Device or the mode of software and hardware combining etc., that is to say, that the executive agent of following handling process is not limited to each logic Unit, or hardware or logical device.
Wherein, processor, for being based on menu information, sending at least one printer each needs the vegetable mark of printing Know;At least one printing feedback message that at least one printer is generated is received for the vegetable mark for each needing to print;Base In the vegetable mark included with menu information by least one printing feedback message, determine and whether there is at least one printer The target printer of no marking print vegetable;When there is target printer at least one printer, weight is sent to target printer The instruction of vegetable mark that the target printer need print newly is printed.
Those skilled in the art will readily occur to its of the application after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the application, these modifications, purposes or Person's adaptations follow the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the application and spirit by following Claim is pointed out.
Also, it should be noted term " including ", "comprising" or its any other variant are intended to nonexcludability Comprising so that a series of process including key elements, method, commodity or equipment not only include those key elements, but also wrapping Other key elements being not expressly set out are included, or also includes intrinsic for this process, method, commodity or equipment wanting Element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including described wanting Also there is other identical element in the process, method of element, commodity or equipment.
The preferred embodiment of the application is the foregoing is only, not in order to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvement that is done etc., should be included within the scope of the application protection.

Claims (11)

1. a kind of control printer method, it is characterised in that methods described includes:
Based on menu information, the vegetable mark for each needing to print is sent to N platform printer, N is positive integer;
Obtaining M platform printer and feedback message being printed for the M bar for each needing the vegetable mark of printing to generate, M is positive integer, and M≦N;
The vegetable mark included with the menu information by feedback message is printed based on the M bar, is determined in the N platform printer The target printer of vegetable is printed with the presence or absence of no marking;
When there is the target printer in the N platform printer, sending to the target printer and printing again the target Printer needs the instruction of the vegetable mark for printing.
2. method according to claim 1, it is characterised in that described feedback message and menu information are printed based on institute M bar Comprising vegetable mark, determine in the N platform printer with the presence or absence of no marking print vegetable target printer, including:
The each vegetable mark for having printed for printing feedback message carrying that the M bar is printed in feedback message is parsed, is obtained The vegetable mark for all having printed;
The vegetable mark for all having printed and the vegetable mark included in menu information are compared;
When the vegetable mark for all having printed is differed with the vegetable mark included in the menu information, institute is determined State the target printer for having in N platform printer that no marking prints vegetable;
When the vegetable mark for all having printed is identical with the vegetable mark included in the menu information, determine described There is no the target printer that no marking prints vegetable in N platform printer.
3. method according to claim 2, it is characterised in that there is no marking print dish in the determination N platform printer After the step of target printer of product, methods described also includes:
The mark parsed in feedback message for sending the M platform printer for printing feedback message is printed from the M bar;
Mark based on the M platform printer and each self-corresponding mark of the N platform printer, determine and do not send described printing instead The mark of the printer of feedback message;
The mark for not sending the printer for printing feedback message is defined as the mark of the target printer.
4. method according to claim 1, it is characterised in that described based on menu information, sends each to N platform printer The vegetable mark for printing is needed, including:
Determine the classification of the vegetable mark that menu information includes;
Printer corresponding with the classification of vegetable mark is determined from N platform printer;
The vegetable mark for each needing to print is sent to printer corresponding with classification.
5. method according to claim 1, it is characterised in that described transmission to the target printer prints the mesh again Before the step of mark printer needs the instruction of the vegetable mark for printing, methods described also includes:
Send abnormal inquiry message whether occur to the target printer;
When the confirmation message that the target printer is returned is got according to the inquiry message, if the confirmation message represents The target printer is in normal print state, confirms whether the target printer has printed the target printer corresponding Vegetable is identified;
If the target printer does not print the corresponding vegetable mark of the target printer, execute described to the target printer Send the step of printing again the instruction of the vegetable mark that target printer needs are printed;
If the confirmation message represents the target printer in abnormality, generate prompting message and push the prompting and disappear Breath.
6. a kind of control printer device, it is characterised in that described device includes:
First sending module, for being based on menu information, sends the vegetable mark for each needing to print to N platform printer, and N is for just Integer;
Acquisition module, each needs to print for the described of the first sending module transmission for receiving the M platform printer The M bar that generates of vegetable mark print feedback message, M is positive integer, and M N;
First determining module, the M bar for being received based on the acquisition module prints feedback message to be believed with the menu The included vegetable mark of breath, determines the target printer for printing vegetable in the N platform printer with the presence or absence of no marking;
Second sending module, for determining in the N platform printer there is the target printer when first determining module When, the instruction for printing again the vegetable mark that the target printer needs to print is sent to the target printer.
7. device according to claim 6, it is characterised in that first determining module includes:
Analyzing sub-module, prints each printing for printing feedback message carrying in feedback message for parsing the M bar Vegetable mark, obtain the vegetables mark for all having printed;
Comparison sub-module, in the vegetables mark for all having printed that obtains the analyzing sub-module and menu information Comprising vegetable mark be compared;
First determination sub-module, for representing the vegetable for all having printed when the comparative result that the comparison sub-module is obtained When mark is differed with the vegetable mark included in the menu information, determine in the N platform printer, there is no marking print dish The target printer of product;
Second determination sub-module, for representing the vegetable for all having printed mark when the comparative result that the comparison sub-module is obtained When identical with the vegetable mark included in the menu information, determine in the N platform printer, there is no no marking print vegetable Target printer.
8. device according to claim 7, it is characterised in that described device also includes:
Parsing module, for determining, in first determination sub-module, the target for having in the N platform printer that no marking prints vegetable After printer, the mark parsed in feedback message for sending the printer for printing feedback message is printed from the M bar;
Second determining module, for for sending the printer for printing feedback message described in being resolved to based on the parsing module Mark and each self-corresponding mark of the M platform printer, determine do not send described print feedback message printer mark;
3rd determining module, for will not send the printing for printing feedback message described in second determining module determination The mark of machine is defined as the mark of the target printer.
9. device according to claim 6, it is characterised in that first sending module includes:
3rd determination sub-module, for determining the classification of vegetable mark that the menu information includes;
4th determination sub-module, for determining the vegetable mark determined with the 3rd determination sub-module from N platform printer The corresponding printer of the classification of knowledge;
Sending submodule, the printer corresponding with classification for determining to the 4th determination sub-module sends each to be needed to beat The vegetable mark of print.
10. device according to claim 6, it is characterised in that described device also includes:
To first determining module, 3rd sending module, for determining the target printer sends abnormal inquiry whether occur Ask message;
Confirm module, for receiving, when the acquisition module, the confirmation that the target printer is returned according to the inquiry message During message, if the confirmation message represents the target printer in normal print state, confirm that the target printer is The no corresponding vegetable of the target printer that printed is identified;
If the confirmation module confirms that the target printer does not print the corresponding vegetable of the target printer and identifies, described second Sending module executes the vegetable mark for sending to the target printer and printing that again target printer needs are printed The step of instruction;
Prompting message generation module, if represent the target printer for the confirmation message that the acquisition module gets In abnormality, generate prompting message and push the prompting message.
11. a kind of electronic equipments, it is characterised in that the electronic equipment includes:
Processor;For storing the memory of the processor executable;
Wherein, the processor, for processor;For storing the memory of the processor executable;
Wherein, the processor, for being based on menu information, sends the vegetable mark for each needing to print, N to N platform printer For positive integer;Receiving M platform printer and feedback message being printed for the respective M bar for needing the vegetable mark for printing to generate, M is Positive integer, and M N;The vegetable mark included with the menu information by feedback message is printed based on the M bar, determines the N The target printer of vegetable is printed in platform printer with the presence or absence of no marking;When there is the target printer in the N platform printer When, the instruction for printing again the vegetable mark that the target printer needs to print is sent to the target printer.
CN201610822875.9A 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer Active CN106484343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610822875.9A CN106484343B (en) 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610822875.9A CN106484343B (en) 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer

Publications (2)

Publication Number Publication Date
CN106484343A true CN106484343A (en) 2017-03-08
CN106484343B CN106484343B (en) 2019-09-17

Family

ID=58273791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610822875.9A Active CN106484343B (en) 2016-09-13 2016-09-13 Control method and device, the electronic equipment of printer

Country Status (1)

Country Link
CN (1) CN106484343B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858132A (en) * 2018-11-22 2020-03-03 哈尔滨安天科技集团股份有限公司 Configuration safety detection method and device for printing equipment
CN112686600A (en) * 2020-12-28 2021-04-20 北京三快在线科技有限公司 Kitchen list printing terminal control method and device and electronic equipment
CN115805754A (en) * 2023-02-03 2023-03-17 如皋市中罗印刷机械有限公司 Printing machine intelligent remote control method and system based on Internet

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1396517A (en) * 2001-07-06 2003-02-12 佳能株式会社 Print control device and print control method
EP1959351A2 (en) * 2007-01-17 2008-08-20 Canon Finetech Inc. Print data processing device and recording medium
CN101364167A (en) * 2007-08-06 2009-02-11 山东新北洋信息技术股份有限公司 Printing control method and device
CN101582016A (en) * 2009-05-27 2009-11-18 北京大学 Method and device for printing data
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN102469229A (en) * 2010-11-11 2012-05-23 佳能株式会社 Image forming system, image forming method, server, and image forming apparatus
CN103679586A (en) * 2013-12-31 2014-03-26 牛占峰 Chef management system for use in catering service
CN105005455A (en) * 2015-06-26 2015-10-28 丁四涛 Printing control method and device of intelligent terminal
CN105303715A (en) * 2015-10-30 2016-02-03 深圳泓数科技有限公司 Print media output control method and device for medical self-service terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1396517A (en) * 2001-07-06 2003-02-12 佳能株式会社 Print control device and print control method
EP1959351A2 (en) * 2007-01-17 2008-08-20 Canon Finetech Inc. Print data processing device and recording medium
CN101364167A (en) * 2007-08-06 2009-02-11 山东新北洋信息技术股份有限公司 Printing control method and device
CN101582016A (en) * 2009-05-27 2009-11-18 北京大学 Method and device for printing data
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN102469229A (en) * 2010-11-11 2012-05-23 佳能株式会社 Image forming system, image forming method, server, and image forming apparatus
CN103679586A (en) * 2013-12-31 2014-03-26 牛占峰 Chef management system for use in catering service
CN105005455A (en) * 2015-06-26 2015-10-28 丁四涛 Printing control method and device of intelligent terminal
CN105303715A (en) * 2015-10-30 2016-02-03 深圳泓数科技有限公司 Print media output control method and device for medical self-service terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858132A (en) * 2018-11-22 2020-03-03 哈尔滨安天科技集团股份有限公司 Configuration safety detection method and device for printing equipment
CN112686600A (en) * 2020-12-28 2021-04-20 北京三快在线科技有限公司 Kitchen list printing terminal control method and device and electronic equipment
CN115805754A (en) * 2023-02-03 2023-03-17 如皋市中罗印刷机械有限公司 Printing machine intelligent remote control method and system based on Internet
CN115805754B (en) * 2023-02-03 2023-08-15 如皋市中罗印刷机械有限公司 Internet-based intelligent remote control method and system for printer

Also Published As

Publication number Publication date
CN106484343B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
JP6441395B2 (en) Game server, game program, and server control method
CN106484343A (en) The method and device of control printer, electronic equipment
CN106560829A (en) Method And System Of Providing Cooking Recipes
US20110208598A1 (en) Order input apparatus and order input method
CN105528185A (en) Print Control Device, Printing System, And Control Method Of A Print Control Device
CN107872438A (en) A kind of verification method, device and terminal
US20110313868A1 (en) Order Management Device, Expansion Board, Order Management System Including These, and a Control Method and Program for an Order Management Device
AU2006292126B2 (en) System for determining type and quantity of food prepared by appliance
JP2016149019A (en) Order management system, electronic apparatus and program
US7660722B2 (en) Terminal apparatus, server, content data storage method, and program for executing the method
JP2006079209A (en) Dish ordering terminal device and program
JPH0635927A (en) Order data managing device
JP2021131690A (en) Order management device, order management system, and program
US6652005B2 (en) Meat product labeling and organizing method
WO2014160789A4 (en) Mobile print email reply with thumbnails
CN109527971B (en) Cooking method and cooking equipment
JP2006251956A (en) Order data management system
KR101897087B1 (en) System and method for order management in restaurants
JP2008077542A (en) Order processing system
JP2004157813A (en) Kitchen order system
JP2012238192A (en) Order management system, order management device, order management method, and program
JP6217722B2 (en) Table management apparatus and program
US20200394572A1 (en) Reservation order processing system and reservation order processing method
CN110532486A (en) Link jump method, device, electronic equipment and computer readable storage medium
JP6673580B2 (en) Generation device, generation method, generation program, and recognition system

Legal Events

Date Code Title Description
C06 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