CN102789373A - Print system, control method of print system, printer and control method of printer - Google Patents

Print system, control method of print system, printer and control method of printer Download PDF

Info

Publication number
CN102789373A
CN102789373A CN2011101262027A CN201110126202A CN102789373A CN 102789373 A CN102789373 A CN 102789373A CN 2011101262027 A CN2011101262027 A CN 2011101262027A CN 201110126202 A CN201110126202 A CN 201110126202A CN 102789373 A CN102789373 A CN 102789373A
Authority
CN
China
Prior art keywords
printer
instruction
interface
controller
main frame
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
CN2011101262027A
Other languages
Chinese (zh)
Other versions
CN102789373B (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.)
Shandong New Beiyang Information Technology Co Ltd
Original Assignee
Shandong New Beiyang Information 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 Shandong New Beiyang Information Technology Co Ltd filed Critical Shandong New Beiyang Information Technology Co Ltd
Priority to CN201110126202.7A priority Critical patent/CN102789373B/en
Publication of CN102789373A publication Critical patent/CN102789373A/en
Application granted granted Critical
Publication of CN102789373B publication Critical patent/CN102789373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a print system, a control method of the print system, a printer and a control method of the printer, wherein the print system comprises a host machine (30) and a printer (40), wherein a first channel (36) and a second channel (37) are formed between the host machine (30) and the printer (40), the first channel (36) is used for transmitting a first command and the second channel (37) is used for transmitting a second command, wherein the first command is used for controlling the internal operation of the printer (40) and the second command is used for controlling external equipment of the printer (40). When the printer in the print system goes wrong, the host machine also can control the external equipment of the printer in real time.

Description

Print system and control method thereof and printer and control method thereof
Technical field
The present invention relates to the printing field, in particular to a kind of print system and control method and printer and control method thereof.
Background technology
Printer has been widely used in and has been used to print bills such as transaction details or invoice in supermarket, the market, for example, and (Point Of Sells abbreviates POS as) printer that point of sells uses.Fig. 1 is the block diagram of the traditional print system that is used for cashier.As shown in the figure, printer 12 links to each other with the computing machine that is used to collect money 11 through communication interface 14, is connected with cash box 13 through cash box interface 15.When the client settles accounts at cashier, staff's typing client shopping information, and pass through computing machine 11 and send the print data relevant with transaction to printer 12, printer is carried out and is printed, the generation bill; After the staff receives cash, send the cash box open command to printer, so that gathering or small change through computing machine 11.For convenience, will be called external equipment (abbreviating peripheral hardware as) through the equipment (like cash box, display screen) that external interface is connected with printer.Computing machine 11 (below be called main frame) is through sending the external equipment of printer peripheral hardware steering orders (like cash box open command, display message update instruction) control printers to printer 12.
The inventor finds; Send in the printer peripheral hardware steering order process of (being called for short the peripheral hardware steering order) to printer at main frame, printer possibly break down, like printer paper-out; Then printer pause receives information; At this moment, the peripheral hardware steering order also just can not be sent to external equipment via printer, and then causes computing machine can not control external equipment in real time.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of print system and control method and printer and control method thereof; To solve in print system when printer breaks down, often cause external equipment that main frame can not printer to realize the problem of controlling in real time.
To achieve these goals, according to an aspect of the present invention, a kind of print system is provided.This print system comprises main frame and printer; Wherein, between main frame and printer, be provided with first passage and second channel, first passage is used to transmit first instruction; Second channel is used to transmit second instruction; Wherein, first instruction is used for the built-in function of printer to be controlled, and second instruction is used for the external equipment of printer and controls.
Further, main frame comprises: control module; The first instruction generation unit is connected with control module, is used to generate first instruction; The second instruction generation unit is connected with control module, is used to generate second instruction; First interface unit is connected with control module, is used to transmit first instruction; And second interface unit, be connected with control module, be used to transmit second instruction.Printer comprises: controller; First interface is connected with controller, and is connected with first interface unit via first passage, is used to receive first instruction; Second interface is connected with controller, and is connected with second interface unit via second channel, is used to receive second instruction; And Peripheral Interface, be connected with controller, be used for second instruction is sent to the external equipment of printer.
Further, printer also comprises: first send buffer, be connected with controller, and be used for first instruction that buffer memory first interface receives; Printing portion is connected with controller, is used for carrying out printing according to first instruction; And second send buffer, be connected with controller, be used for second instruction that buffer memory second interface receives.
Further, printer also comprises: state-detection portion, be connected with controller, and be used to detect the state of each ingredient of printer, wherein, control first interface when printer is used for there is fault in inside and stop to receive first instruction.
Further; Printer also comprises: state-detection portion, be connected with controller, and be used to detect the state of each ingredient of printer and detected status information is fed back to main frame; Wherein, main frame be used for when there is fault in printer, controlling first interface unit stop to transmit first the instruction.
To achieve these goals, according to a further aspect in the invention, a kind of printer is provided.This printer comprises: controller; First interface is connected with controller, is used for receiving first instruction from main frame via first passage, and wherein, first instruction is used for the built-in function of printer and controls; Second interface is connected with controller, is used for receiving second instruction from main frame via second channel, and wherein, second instruction is used for the external equipment of printer and controls; And Peripheral Interface, be connected with controller, be used for second instruction is sent to external equipment.
Further, above-mentioned printer also comprises: first send buffer, be connected with controller, and be used for first instruction that buffer memory first interface receives; Printing portion is connected with controller, is used for carrying out printing according to first instruction; And second send buffer, be connected with controller, be used for second instruction that buffer memory second interface receives.
Further, above-mentioned printer also comprises: state-detection portion, be connected with controller, and be used to detect the state of each ingredient of printer, wherein, controller is used for when there is fault in printer, controlling first interface and stops to receive first instruction.
Further; Above-mentioned printer also comprises: state-detection portion; Be connected with controller, be used to detect the state of each ingredient of printer and detected status information is fed back to main frame so that main frame stops to transmit first instruction to printer when there is fault in printer.
To achieve these goals, according to a further aspect in the invention, a kind of control method of print system is provided.The control method of this print system comprises: the host computer using first passage transmits first instruction to printer, and wherein, first instruction is used for the built-in function of printer and controls; And the host computer using second channel transmits second instruction to printer, and wherein, second instruction is used for the external equipment of printer and controls.
Further, the control method of above-mentioned print system also comprises: printer detects the state of inner each ingredient; And printer stops to receive first instruction from first passage when being used for there is fault in inside.
Further, the control method of above-mentioned print system also comprises: printer detects the state of inner each ingredient and detected state is sent to main frame; And main frame stops to send first instruction from first passage to printer when there is fault in printer.
To achieve these goals, according to a further aspect in the invention, a kind of control method of printer is provided.The control method of this printer comprises: utilize first passage to receive first instruction, wherein, first instruction is used for the built-in function of printer and controls; And utilize second channel to receive second instruction, wherein, second instruction is used for the external equipment of printer and controls.
Through the present invention, adopt the print system that comprises following structure: main frame and printer, wherein; Between main frame and printer, be provided with first passage and second channel, first passage is used to transmit first instruction, and second channel is used to transmit second instruction; Wherein, first instruction is used for the built-in function of printer to be controlled, and second instruction is used for the external equipment of printer and controls; Owing to adopt first instruction of different channel transfer and second instruction; Thereby when causing first passage can not normally receive first instruction because of the printer fault, printer can also be sent to external equipment to realize the real-time control of main frame to external equipment with second instruction through second channel; Thereby solved in print system when printer breaks down; Often cause the external equipment that main frame can not printer to realize the problem of control in real time, and then reached in print system when printer breaks down, the external equipment that main frame also can printer is realized the effect controlled in real time.
Description of drawings
The accompanying drawing that constitutes the application's a part is used to provide further understanding of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram of the traditional print system that is used for cashier;
Fig. 2 is the block diagram according to the print system of the embodiment of the invention;
Fig. 3 is the process flow diagram according to the control method of the print system of first embodiment of the invention;
Fig. 4 is the process flow diagram according to the control method of the print system of second embodiment of the invention; And
Fig. 5 is the process flow diagram according to the control method of the printer of the embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.Below with reference to accompanying drawing and combine embodiment to specify the present invention.
Fig. 2 is according to the block diagram of the print system of the embodiment of the invention, and is as shown in Figure 2, and print system 20 comprises main frame 30, printer 40.Wherein, Instruct through two channel transfer between main frame 30 and the printer 40; Two passages are respectively first passage 36 and second channel 37, and the instruction of transmission comprises two types between main frame 30 and the printer 40, are respectively first instruction and second instruction; Wherein, main frame 30 transmits first instruction, transmits second instruction through second channel 37 through first passage 36; First instruction comprises various machine steering orders, and wherein, the instruction that this machine steering order is controlled for the printer built-in function is like bar code printing instruction, character print command, medium positioning instruction etc.; Second instruction comprises various peripheral hardware steering orders; Wherein, The printer peripheral hardware is meant with the printer Peripheral Interface equipment that links to each other, controlled by printer; Like cash box, display screen etc., the peripheral hardware steering order is meant the instruction that the printer peripheral hardware is controlled, like cash box open command, display message update instruction etc.
Main frame 30 comprises control module 31, the first instruction generation unit 32, second instruction generation unit 33, first interface unit 34 and second interface unit 35; Wherein, control module 31 controls are respectively instructed generation unit to generate corresponding instruction, are controlled each interface unit transmission corresponding instruction; The first instruction generation unit 32 generates first instruction; The second instruction generation unit 33 generates second instruction; First interface unit 34 is used to transmit first instruction, can be serial ports, parallel port, network interface etc.; Second interface unit 35 is used to transmit second instruction, can be serial ports, parallel port, network interface etc.
Printer 40 comprises controller 41, first interface 42, first send buffer 43, second interface 44, second send buffer 45, printing portion 46, Peripheral Interface 47 and state-detection portion 48.Wherein, each interface of controller 41 control receive instruction that main frame sends, handle receiving instruction, control, control printing portion through Peripheral Interface printer peripheral hardware and carry out data printing etc.; First interface 42 is used to receive first instruction, is connected with first interface unit 34 of main frame, can be serial ports, parallel port, network interface etc.; First send buffer 43 is preserved first instruction that receives from first interface 42; Second interface 44 is used to receive second instruction, is connected with second interface unit 35 of main frame, can be serial ports, parallel port, network interface etc.; Second send buffer 45 is preserved second instruction that receives from second interface 44; Peripheral Interface 47 is used to connect the various external units of printer, comprises cash box interface 471, display interface 472; Wherein, Cash box interface 471 connects cash box, can control the unlatching of cash box and the state of detection cash box through this interface, and display interface 472 connects display screens; Through this interface can update displayed the display message of screen, like gathering information, advertising message etc.; Printing portion 48, the dot array data that the print data of handling through controller 41 by the definition of this machine steering order converts to, the dot array data as converting the print data with the definition of ESC/P printer language to is printed on the medium; State-detection portion 48, be used to detect printer and connect the state of external unit, whether lack paper, cash box like printer and whether open etc., according to the state that detects the information setting printer, like printer fault, printer free time etc.
First passage between main frame and the printer and second channel can be the data transmission channels of setting up between two pairs of physical interfaces, like data transmission channel of setting up between the data transmission channel set up between the serial ports, the parallel port etc.; First passage and second channel can also be the data transmission channels of setting up between a physical interface and two physical interfaces; As in main frame 30, first interface unit 34 and second interface unit 35 be same network interface; In printer 40; First interface 42 and second interface 44 are network interface, and main frame 30 is distinguished first passage and second channel according to first interface 42 of printer and the IP address of second interface 44; First passage and second channel can also be the different logical data transmission channels of setting up between a pair of physical interface; As connecting through a pair of USB interface between main frame and the printer; First passage and second channel can be the passage between different non-No. 0 end points, are that passage, second channel between No. 1 end points of two USB devices is the passage between No. 2 end points of two USB devices like first passage.No matter be the different physical data transmission channels between the different physical interfaces, or the Different Logic data transmission channel between a pair of physical interface, first passage and second channel are separate, do not disturb mutually.
In the print system 20 that the embodiment of the invention provided; Owing to adopt first instruction of different channel transfer and second instruction; Thereby; Cause first passage can not normally receive for first when instruction breaking down because of printer 40; Printer 40 can also be sent to external equipment realizing the real-time control of 30 pairs of external equipments of main frame with second instruction through second channel, thereby has solved in print system when printer 40 breaks down, often causes external equipment that main frame 30 can not printer 40 to realize the problem of controlling in real time; And then make in print system 20 that when printer 40 breaks down the external equipment that main frame 30 also can printer 40 is controlled in real time.
The embodiment of the invention also provides a kind of printer 40.This printer 40 comprises: controller 41; First interface 42 is connected with controller 41, is used for receiving first instruction from main frame via first passage, and wherein, first instruction is used for the built-in function of printer and controls; Second interface 44 is connected with controller 41, is used for receiving second instruction from main frame via second channel, and wherein, second instruction is used for the external equipment of printer and controls; And Peripheral Interface, be connected with controller 41, be used for second instruction is sent to external equipment.
Above-mentioned printer 40 can also comprise: first send buffer 43, be connected with controller 41, and be used for first instruction that buffer memory first interface 42 receives; Printing portion 46 is connected with controller 41, is used for carrying out printing according to first instruction; And second send buffer 45, be connected with controller 41, be used for second instruction that buffer memory second interface 42 receives.
Preferably, above-mentioned printer 40 also comprises: state-detection portion 48, be connected with controller 41, and be used to detect the state of each ingredient of printer, wherein, controller 41 is used for when there is fault in printer, controlling first interface 42 and stops to receive first instruction.At this moment, stop to receive first instruction, can prevent unnecessary information transmission through first interface 42 of when there is fault in printer, controlling printer.
Preferably, above-mentioned state-detection portion 48 also is used for detected status information is fed back to main frame 30 so that main frame 30 stops to transmit first instruction to printer when having fault in printer 40 inside after the state that detects printer 40 each ingredient.At this moment; Through when there is fault in printer, detected status information being fed back to main frame 30; And stop when making main frame 30 have fault transmitting first instruction to printer in printer 40 inside; Can prevent unnecessary information transmission, and can make main frame recognize the fault of printer in time.
In embodiments of the present invention; Printer 40 receives the printer peripheral hardware steering order that main frame 30 sends through a special communication interface; Even realized under the situation that printer breaks down; Also can receive the peripheral hardware steering order and handle, to realize the main frame printer peripheral hardware purpose of control in real time.
Fig. 3 is according to the process flow diagram of the control method of the print system of first embodiment of the invention; To be applied in gathering print system in supermarket, the market is that the instantiation flow figure of first embodiment carries out aid illustration; Wherein, First generation unit is the cash box control module of the gathering software that moves in the main frame for gathering information of software generation module, second generation unit, and as shown in Figure 3, the control method of this print system comprises:
Step S201 utilizes first generation unit to generate first instruction of being made up of this machine steering order, utilizes second generation unit to generate second instruction of being made up of the peripheral hardware steering order.
When the client settles accounts; The staff is scanned client's purchase; Article of every scanning generate the gathering information of article by information generating module (i.e. first generation unit), automatically like Item Title, quantity, unit price, the amount of money etc.; Behind all article ends of scan, information generating module generates the pay imformation of all article; After the staff receives the cash that the client submits; Through keyboard input amount of cash, click " cash box " button on the host keyboard then, the cash box control module control cash box of the gathering software that then moves in the main frame is opened; After cash box was opened, the staff can charge and small change.Wherein, When the gathering software detection arrives the clicking operation of " cash box " button; By information generating module information translation such as list of articles, the amount of money that receives cash, the small change amount of money, staff's numbering, voucher serial number are become the executable instruction of printer (i.e. first instruction); Comprise many character print commands and medium positioning instruction, wherein, the character in the shopping voucher is printed in the character print command; Simultaneously, generate the cash box open command, i.e. second instruction by cash box control module (i.e. second generation unit).
Step S202, main frame are sent to printer through first interface unit and second interface unit with first instruction and second instruction respectively.
Main frame is with first instruction of information generating module generation and second instruction of cash box control module generation, and first interface unit and second interface unit through main frame is sent to printer respectively.
Step S203, printer receives the built-in function of the first instruction control printer through first interface, receives the operation of the second instruction control printer peripheral hardware through second interface.
Printer receives first instruction through first interface, and is kept at first buffer zone to first instruction that receives; Receive second instruction through second interface, and be kept at second buffer zone to second instruction that receives.Controller by printer is handled the reception instruction that is kept in first buffer zone and second buffer zone; Wherein, According to first instruction; The control printer carries out built-in function, as character print command control printer print operation, the medium positioning instruction is controlled printer and is carried out medium location etc.; According to second instruction, the printer peripheral hardware is controlled, like the unlatching of cash box open command control cash box, the display message of display message update instruction update displayed screen etc.
In this embodiment; Generate first instruction and be sent to printer through first generation unit through first interface unit; Generate second instruction and be sent to printer through second generation unit through second interface unit; Transmit different instructions through distinct interface; Can when printer breaks down, suspend reception and the processing of main frame from first instruction of first interface transmission, second instruction that continuation is sent from second interface main frame receives and processing in real time in real time, thereby has realized the real-time control of main frame printer peripheral hardware.
Fig. 4 is the process flow diagram according to the control method of the print system of second embodiment of the invention, and is as shown in Figure 4, and the control method of this print system comprises:
Step S301, first instruction that utilizes first generation unit to generate to be used on medium, printing utilizes second generation unit to generate the second relevant instruction of printer peripheral hardware control.
Step S302, whether main frame detects printer and breaks down.
Whether the information that main frame returns through printer like the auto state return message (Automatic Status Back) of printer, detects printer and breaks down, and printer breaks down, and to refer generally to printer paper-out, cutting knife mistake, printhead overheated etc.If printer does not break down, then forward step S303 to; If printer breaks down, then forward step S305 to.
Step S303, main frame sends first instruction through first interface unit, sends second instruction through second interface unit.
When printer did not produce fault, main frame sent first instruction through first interface unit, sent second instruction through second interface unit, and two kinds of instructions can be sent simultaneously, also can timesharing send.
Step S304, printer receives the built-in function of the first instruction control printer through first interface, receives the operation of the second instruction control printer peripheral hardware through second interface.
Step S305, main frame sends second instruction through second interface unit.
Step S306, printer receive the operation of the second instruction control printer peripheral hardware through second interface.
In this embodiment; No matter whether printer breaks down; Main frame can transmit second instruction to printer through second interface unit; Printer receives second instruction through second interface, makes second instruction can pass through the second channel real-time Transmission and handle in real time, thereby has realized the real-time control of main frame printer peripheral hardware; In addition; Main frame sends first instruction, breaks down to suspend from first interface unit at printer and send first instruction to printer through first interface unit when the printer non-fault; Avoid the loss of data that causes because of the printer fault, therefore guaranteed the integrality of first instruction.
In the print system and control method of the embodiment of the invention; This machine steering order through first passage transfer printing machine, the peripheral hardware steering order through second channel transfer printing machine; Thereby avoided making instruction outward when this machine steering order, because of the printer problem that the main frame printer peripheral hardware that causes can not control in real time that breaks down through same channel transfer; Through the dissimilar instruction of different channel transfer, when having guaranteed the control in real time of printer peripheral hardware, do not influence the execution of this machine steering order yet.
Fig. 5 is the process flow diagram according to the control method of the printer of the embodiment of the invention, and the control method of this printer comprises:
Step S501 judges whether printer breaks down.
Printer detects the state of each ingredient of printer through state-detection portion 48, when detect print media use up be the printhead of printer paper-out or printing portion overheated, when cutting knife does not reset, then be set to printer and break down; When printer breaks down, then forward step S503 to; When printer does not break down, then forward step S502 to.
Step S502, printer receives the built-in function of the first instruction control printer through first interface, receives the operation of the second instruction control printer peripheral hardware through second interface.
When printer does not break down; Printer receives instruction from two interfaces respectively, wherein, is kept at first instruction that receives from first interface first buffer zone, is kept at second buffer zone to second instruction that receives from second interface; Instruction in 41 pairs of two buffer zones of controller is handled respectively; Wherein, the instruction of first in first buffer zone is used to generate print data and is printed on medium, and the instruction of second in second buffer zone is used to control the operation of printer peripheral hardware.
Step S503, printer receive the operation of the second instruction control printer peripheral hardware through second interface.
When printer breaks down; Printer continues to receive instruction from second interface; And an instruction that receives is kept at second buffer zone; Controller 41 continues the instruction in second buffer zone is handled, and control printer peripheral hardware is operated accordingly, like the unlatching of control cash box, control display screen update displayed information etc.
In this print control program; Because utilize first passage to receive first instruction, and utilize second channel to receive second instruction, thereby; When causing first passage can not normally receive first instruction because of the printer fault; Printer can also be sent to external equipment realizing the real-time control of main frame to external equipment with second instruction through second channel, thus in print system when printer breaks down, the external equipment that main frame also can printer is realized the effect controlled in real time.
In the print system and control method of the embodiment of the invention; Through first passage transmission first instruction, through second instruction of second communication channel transfer; Thereby cause receiving instruction and suspend and handle the delay process that causes because of printer breaks down when having avoided, and instruct and in time to handle the problem that the printer peripheral hardware that occurs can not be controlled in real time because of second second instruction through the instruction of two kinds of same channel transfer; Main frame also can send second instruction through second channel when printer breaks down, improved the real-time of the second instruction transmission; Printer also can be handled second instruction when breaking down, improved the real-time that second instruction is carried out; Main frame does not send first instruction and can prevent effectively that receiving and handle first at this moment because of printer pause instructs the instruction that causes to lose, and has guaranteed the integrality of first instruction when printer breaks down.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. a print system comprises main frame (30) and printer (40), it is characterized in that; Between said main frame (30) and said printer (40), be provided with first passage (36) and second channel (37); Said first passage (36) is used to transmit first instruction, and said second channel (37) is used to transmit second instruction, wherein; Said first instruction is used for the built-in function of said printer (40) is controlled, and said second instruction is used for the external equipment of said printer (40) is controlled.
2. print system according to claim 1 is characterized in that,
Said main frame (30) comprising:
Control module (31);
The first instruction generation unit (32) is connected with said control module (31), is used to generate said first instruction;
The second instruction generation unit (33) is connected with said control module (31), is used to generate said second instruction;
First interface unit (34) is connected with said control module (31), is used to transmit said first instruction; And
Second interface unit (35) is connected with said control module (31), is used to transmit said second instruction,
Said printer (40) comprising:
Controller (41);
First interface (42) is connected with said controller (41), and is connected with said first interface unit (34) via said first passage (36), is used to receive said first instruction;
Second interface (44) is connected with said controller (41), and is connected with said second interface unit (35) via said second channel (37), is used to receive said second instruction; And
Peripheral Interface is connected with said controller (41), is used for said second instruction is sent to the external equipment of said printer (40).
3. print system according to claim 2 is characterized in that, said printer (40) also comprises:
First send buffer (43) is connected with said controller (41), is used for first instruction that said first interface of buffer memory (42) receives;
Printing portion (46) is connected with said controller (41), is used for carrying out printing according to said first instruction; And
Second send buffer (45) is connected with said controller (41), is used for second instruction that said second interface of buffer memory (44) receives.
4. print system according to claim 2 is characterized in that, said printer (40) also comprises:
State-detection portion (48) is connected with said controller (41), is used to detect the state of each ingredient of said printer (40),
Control said first interface when wherein, said printer (40) is used for there is fault in inside and stop to receive said first instruction.
5. print system according to claim 2 is characterized in that, said printer (40) also comprises:
State-detection portion (48) is connected with said controller (41), is used to detect the state of each ingredient of said printer (40) and said detected status information is fed back to said main frame (30),
Wherein, said main frame (30) be used for said printer (40) control when there is fault in inside said first interface unit (34) stop to transmit said first the instruction.
6. printer is characterized in that comprising:
Controller (41);
First interface (42) is connected with said controller (41), is used for receiving first instruction from main frame via first passage, and wherein, said first instruction is used for the built-in function of said printer is controlled;
Second interface (44) is connected with said controller (41), is used for receiving second instruction from said main frame via second channel, and wherein, said second instruction is used for the external equipment of said printer is controlled; And
Peripheral Interface is connected with said controller (41), is used for said second instruction is sent to external equipment.
7. printer according to claim 6 is characterized in that also comprising:
First send buffer (43) is connected with said controller (41), is used for first instruction that said first interface of buffer memory (42) receives;
Printing portion (46) is connected with said controller (41), is used for carrying out printing according to said first instruction; And
Second send buffer (45) is connected with said controller (41), is used for second instruction that said second interface of buffer memory (44) receives.
8. printer according to claim 6 is characterized in that also comprising:
State-detection portion (48) is connected with said controller (41), is used to detect the state of said each ingredient of printer,
Wherein, said controller (41) be used for when there is fault in said printer, controlling said first interface (42) stop to receive said first the instruction.
9. printer according to claim 6; It is characterized in that also comprising: state-detection portion (48); Be connected with said controller (41), be used to detect the state of each ingredient of said printer (40) and said detected status information is fed back to said main frame (30) so that said main frame (30) stops when there is fault in inside transmitting said first instruction to said printer at said printer (40).
10. the control method of a print system, wherein, said print system comprises main frame and printer, it is characterized in that comprising:
Said host computer using first passage transmits first instruction to said printer, and wherein, said first instruction is used for the built-in function of said printer is controlled; And
Said host computer using second channel transmits second instruction to said printer, and wherein, said second instruction is used for the external equipment of said printer is controlled.
11. the control method of print system according to claim 10 is characterized in that also comprising:
Said printer detects the state of inner each ingredient; And
Said printer stops when being used for there is fault in inside receiving said first instruction from said first passage.
12. the control method of print system according to claim 10 is characterized in that also comprising:
Said printer detects the state of inner each ingredient and detected state is sent to said main frame; And
Said main frame stops to send said first instruction from said first passage to said printer when there is fault in said printer.
13. the control method of a printer is characterized in that comprising:
Utilize first passage to receive first instruction, wherein, said first instruction is used for the built-in function of said printer is controlled; And
Utilize second channel to receive second instruction, wherein, said second instruction is used for the external equipment of said printer is controlled.
CN201110126202.7A 2011-05-16 2011-05-16 Print system and control method thereof and printer and control method thereof Active CN102789373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110126202.7A CN102789373B (en) 2011-05-16 2011-05-16 Print system and control method thereof and printer and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110126202.7A CN102789373B (en) 2011-05-16 2011-05-16 Print system and control method thereof and printer and control method thereof

Publications (2)

Publication Number Publication Date
CN102789373A true CN102789373A (en) 2012-11-21
CN102789373B CN102789373B (en) 2015-09-02

Family

ID=47154781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110126202.7A Active CN102789373B (en) 2011-05-16 2011-05-16 Print system and control method thereof and printer and control method thereof

Country Status (1)

Country Link
CN (1) CN102789373B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970407A (en) * 2013-01-30 2014-08-06 精工爱普生株式会社 Print Control Device, Control Method Of A Print Control Device, And Recording Medium Storing A Program
CN106354447A (en) * 2016-08-31 2017-01-25 东软集团股份有限公司 Printing control method and device and printing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1717691A2 (en) * 2005-04-18 2006-11-02 Bixolon Co., Ltd. Printing apparatus control, method therefor, and data processing apparatus using the printing apparatus
CN101913296A (en) * 2010-07-21 2010-12-15 山东新北洋信息技术股份有限公司 Printing system, control method thereof, information recorder
CN102023823A (en) * 2009-09-21 2011-04-20 山东新北洋信息技术股份有限公司 Communication control method and system for USB printing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1717691A2 (en) * 2005-04-18 2006-11-02 Bixolon Co., Ltd. Printing apparatus control, method therefor, and data processing apparatus using the printing apparatus
CN102023823A (en) * 2009-09-21 2011-04-20 山东新北洋信息技术股份有限公司 Communication control method and system for USB printing device
CN101913296A (en) * 2010-07-21 2010-12-15 山东新北洋信息技术股份有限公司 Printing system, control method thereof, information recorder

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970407A (en) * 2013-01-30 2014-08-06 精工爱普生株式会社 Print Control Device, Control Method Of A Print Control Device, And Recording Medium Storing A Program
CN103970407B (en) * 2013-01-30 2017-05-10 精工爱普生株式会社 Print control device, and control method of a print control device
CN106354447A (en) * 2016-08-31 2017-01-25 东软集团股份有限公司 Printing control method and device and printing system

Also Published As

Publication number Publication date
CN102789373B (en) 2015-09-02

Similar Documents

Publication Publication Date Title
JP4710903B2 (en) PRINT SYSTEM, POS SYSTEM, CONNECTION DEVICE, PRINT SYSTEM CONTROL METHOD AND ITS PROGRAM
CA3060951A1 (en) Printing data processing method and apparatus, electronic invoice generating method and server
CN104583984A (en) Device control system, printer, and method for controlling device control system
EP2682857A1 (en) Double-sided printing system and control method therefor
US20170228714A1 (en) Networked computer system including register, payment machine, and central computer
US11263635B2 (en) Check-out system and registration apparatus
WO2014103251A1 (en) Data conversion system, data conversion device, and data conversion method
JP2006323445A (en) Printing system, pos system, connection device, control method for printing system, and program therefor
CN103577127A (en) Printing device, printing system, and printing method
CN103568606A (en) Printing device, printing system and printing method
JP2005301505A5 (en)
CN103970492A (en) Control Method Of A Control System And A Control System
CN101383070A (en) Print control method and device
CN105159625A (en) Function expansion method using print data, and function expansion device
CN102789373A (en) Print system, control method of print system, printer and control method of printer
CN106796552B (en) Processing apparatus and data processing method
CN101334716B (en) Printing control apparatus and printing system
US20120072617A1 (en) Electronic Device, Control Method for an Electronic Device, and Recording Medium Storing a Program Executed by a Control Unit that Controls the Electronic Device
JP6191385B2 (en) Transmission system, host device, and data transmission method
US10032152B2 (en) Transmission system that enables correlation between a sending device and each of multiple receiving devices
US20200160127A1 (en) Printer and control method thereof
US9830539B2 (en) Printing system and control method for a printing device having multiple communication interfaces
US9547852B2 (en) Printing device, control method of a printing device, and printing system
JP4534814B2 (en) Data processing apparatus, data processing program, and data processing method
CN100409647C (en) Data flow agreement converting and transmitting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant