CN102789373B - Print system and control method thereof and printer and control method thereof - Google Patents

Print system and control method thereof and printer and control method thereof Download PDF

Info

Publication number
CN102789373B
CN102789373B CN201110126202.7A CN201110126202A CN102789373B CN 102789373 B CN102789373 B CN 102789373B CN 201110126202 A CN201110126202 A CN 201110126202A CN 102789373 B CN102789373 B CN 102789373B
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.)
Active
Application number
CN201110126202.7A
Other languages
Chinese (zh)
Other versions
CN102789373A (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

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a kind of print system and control method thereof and printer and control method thereof.Wherein, this print system comprises main frame (30) and printer (40), wherein, first passage (36) and second channel (37) is provided with between main frame (30) and printer (40), first passage (36) is for transmitting the first instruction, second channel (37) is for transmitting the second instruction, wherein, first instruction is used for controlling the built-in function of printer (40), and the second instruction is used for controlling the external equipment of printer (40).By the present invention, achieve in print system when printer breaks down, main frame also can control the external equipment of printer in real time.

Description

Print system and control method thereof and printer and control method thereof
Technical field
The present invention relates to printing field, in particular to a kind of print system and control method thereof and printer and control method thereof.
Background technology
Printer has been widely used in for printing the bill such as transaction details or invoice in supermarket, market, such as, and (Point Of Sells, referred to as POS) printer that point of sells uses.Fig. 1 is the block diagram of traditional print system for cashier.As shown in the figure, printer 12 is connected with the computing machine 11 for collecting money by communication interface 14, is connected with cash box 13 by cash box interface 15.Client when cashier is settled accounts, staff's typing customer shopping information, and being sent and the relevant print data of transaction to printer 12 by computing machine 11, printer performs printing, generation bill; After staff receives cash, send cash box open command by computing machine 11 to printer, so that gathering or small change.For convenience, the equipment be connected with printer by external interface (as cash box, display screen) is called external equipment (referred to as peripheral hardware).Computing machine 11 (hereinafter referred to as main frame) controls the external equipment of printer by sending printer peripheral hardware steering order (as cash box open command, display information updating instruction) to printer 12.
Inventor finds, send in the process of printer peripheral hardware steering order (being called for short peripheral hardware steering order) at main frame to printer, printer may break down, as printer paper-out, then printer pause receives information, now, 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 thereof and printer and control method thereof, to solve in print system when printer breaks down, often cause main frame can not realize to the external equipment of printer the problem that controls 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, first passage and second channel is provided with between main frame and printer, first passage is for transmitting the first instruction, second channel is for transmitting the second instruction, wherein, the first instruction is used for controlling the built-in function of printer, and the second instruction is used for controlling the external equipment of printer.
Further, main frame comprises: control module; First instruction generation unit, is connected with control module, for generating the first instruction; Second instruction generation unit, is connected with control module, for generating the second instruction; First interface unit, is connected with control module, for transmitting the first instruction; And second interface unit, be connected with control module, for transmitting the second instruction.Printer comprises: controller; First interface, is connected with controller, and is connected with first interface unit via first passage, for receiving the first instruction; Second interface, is connected with controller, and is connected with the second interface unit via second channel, for receiving the second instruction; And Peripheral Interface, be connected with controller, for the second instruction being sent to the external equipment of printer.
Further, printer also comprises: the first reception buffer zone, is connected with controller, for the first instruction that buffer memory first interface receives; Printing portion, is connected with controller, for performing printing according to the first instruction; And second reception buffer zone, be connected with controller, for the second instruction that buffer memory second interface arrives.
Further, printer also comprises: state detecting section, is connected with controller, and for detecting the state of each ingredient of printer, wherein, printer is used for controlling first interface when there is fault in inside and stops reception first instruction.
Further, printer also comprises: state detecting section, is connected with controller, for detect each ingredient of printer state and by the status information feedback that detects to main frame, wherein, main frame is used for controlling first interface unit stopping transmission first instruction when printer exists fault.
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, and for receiving the first instruction of from host via first passage, wherein, the first instruction is used for controlling the built-in function of printer; Second interface, is connected with controller, and for receiving the second instruction of from host via second channel, wherein, the second instruction is used for controlling the external equipment of printer; And Peripheral Interface, be connected with controller, for the second instruction is sent to external equipment.
Further, above-mentioned printer also comprises: the first reception buffer zone, is connected with controller, for the first instruction that buffer memory first interface receives; Printing portion, is connected with controller, for performing printing according to the first instruction; And second reception buffer zone, be connected with controller, for the second instruction that buffer memory second interface arrives.
Further, above-mentioned printer also comprises: state detecting section, is connected with controller, and for detecting the state of each ingredient of printer, wherein, controller is used for controlling first interface when printer exists fault and stops reception first instruction.
Further, above-mentioned printer also comprises: state detecting section, be connected with controller, for detect each ingredient of printer state and by the status information feedback detected to main frame so that main frame stops when printer exists fault transmitting the first instruction to 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: host computer first passage transmits the first instruction to printer, and wherein, the first instruction is used for controlling the built-in function of printer; And host computer second channel transmits the second instruction to printer, wherein, the second instruction is used for controlling the external equipment of printer.
Further, the control method of above-mentioned print system also comprises: printer detects the state of inner each ingredient; And printer is used for stopping receiving the first instruction from first passage when 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 the state detected is sent to main frame; And main frame stops when printer exists fault sending the first instruction from first passage to 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 the first instruction, and wherein, the first instruction is used for controlling the built-in function of printer; And utilize second channel to receive the second instruction, wherein, the second instruction is used for controlling the external equipment of printer.
Pass through the present invention, adopt the print system comprising following structure: main frame and printer, wherein, first passage and second channel is provided with between main frame and printer, first passage is for transmitting the first instruction, second channel is for transmitting the second instruction, wherein, first instruction is used for controlling the built-in function of printer, second instruction is used for controlling the external equipment of printer, owing to adopting different channel transfer first instructions and the second instruction, thus, when causing first passage normally can not receive the first instruction because of printer fault, second instruction can also be sent to external equipment to realize the real-time control of main frame to external equipment by second channel by printer, thus to solve in print system when printer breaks down, often cause main frame can not realize the problem of control in real time to the external equipment of printer, and then to reach in print system when printer breaks down, main frame also can realize the effect of control in real time to the external equipment of printer.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram of traditional print system for cashier;
Fig. 2 is the block diagram of the print system according to the embodiment of the present invention;
Fig. 3 is the process flow diagram of the control method of print system according to a first embodiment of the present invention;
Fig. 4 is the process flow diagram of the control method of print system according to a second embodiment of the present invention; And
Fig. 5 is the process flow diagram of the control method of printer according to the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Fig. 2 is according to the block diagram of the print system of the embodiment of the present invention, and as shown in Figure 2, print system 20 comprises main frame 30, printer 40.Wherein, by two channel transfer instructions between main frame 30 and printer 40, two passages are first passage 36 and second channel 37 respectively, between main frame 30 and printer 40, the instruction of transmission comprises two types, the first instruction and the second instruction respectively, wherein, main frame 30 is transmitted the first instruction by first passage 36, is transmitted the second instruction by second channel 37; First instruction comprises various the machine steering order, and wherein, the machine steering order is the instruction controlled printer built-in function, as bar code printing instruction, character print instruction, medium positioning instruction etc.; Second instruction comprises various peripheral hardware steering order, wherein, printer peripheral hardware refers to and to be connected with printer Peripheral Interface, to be carried out the equipment that controls by printer, as cash box, display screen etc., peripheral hardware steering order refers to the instruction controlled printer peripheral hardware, as cash box open command, display information updating instruction etc.
Main frame 30 comprises control module 31, first instruction generation unit 32, second instruction generation unit 33, first interface unit 34 and the second interface unit 35, wherein, control module 31 controls each instruction generation unit and generates corresponding instruction, controls each interface unit and send corresponding instruction; First instruction generation unit 32 generates the first instruction; Second instruction generation unit 33 generates the second instruction; First interface unit 34, for transmitting the first instruction, can be serial ports, parallel port, network interface etc.; Second interface unit 35, for transmitting the second instruction, can be serial ports, parallel port, network interface etc.
Printer 40 comprises controller 41, interface 44, second reception buffer zone 45, first interface 42, first reception buffer zone 43, second, printing portion 46, Peripheral Interface 47 and state detecting section 48.Wherein, controller 41 is controlled instruction that each interface main frame sends, processes reception instruction, controlled by Peripheral Interface to printer peripheral hardware, controls printing portion and carry out data-printing etc.; First interface 42, for receiving the first instruction, is connected with the first interface unit 34 of main frame, can be serial ports, parallel port, network interface etc.; First reception buffer zone 43, preserves the first instruction received from first interface 42; Second interface 44, for receiving the second instruction, is connected with the second interface unit 35 of main frame, can be serial ports, parallel port, network interface etc.; Second reception buffer zone 45, preserves the second instruction received from the second interface 44; Peripheral Interface 47, for connecting the various external units of printer, comprise cash box interface 471, display interface 472, wherein, cash box interface 471 connects cash box, and can control the unlatching of cash box by this interface and detect the state of cash box, display interface 472 connects display screen, the display information of display screen can be upgraded, as Receiving information, advertising message etc. by this interface; Printing portion 48, the dot array data that the print data defined by the machine steering order processed through controller 41 converts to, as the dot array data that the print data defined with ESC/P printer language is converted to, is printed on medium; State detecting section 48, for detect printer and connect the state of external unit, as printer whether lack paper, whether cash box open, and arranges the state of printer according to Detection Information, as idle in printer fault, printer etc.
First passage between main frame and printer and second channel can be the data transmission channels set up between two pairs of physical interfaces, as the data transmission channel set up between serial ports, the data transmission channel etc. set up between parallel port; First passage and second channel can also be the data transmission channels set up between a physical interface and two physical interfaces, as in main frame 30, first interface unit 34 and the second interface unit 35 be same network interface, in printer 40, first interface 42 and the second interface 44 are network interface, and main frame 30 distinguishes first passage and second channel according to the first interface 42 of printer and the IP address of the second interface 44; First passage and second channel can also be the different logical data transfer passages set up between a pair physical interface, as connected by a pair USB interface between main frame and printer, first passage and second channel can be the passage between different non-zero end points, as first passage be two USB device No. 1 end points between passage, second channel be passage between No. 2 end points of two USB device.No matter the different physical data transfer passages between different physical interface, or the Different Logic data transmission channel between a pair physical interface, first passage and second channel separate, do not interfere with each other.
In the print system 20 that the embodiment of the present invention provides, owing to adopting different channel transfer first instructions and the second instruction, thus, break down because of printer 40 cause first passage normally can not receive the first instruction time, second instruction can also be sent to external equipment to realize the real-time control of main frame 30 pairs of external equipments by second channel by printer 40, thus to solve in print system when printer 40 breaks down, often cause main frame 30 can not realize the problem of control in real time to the external equipment of printer 40, and then to make in print system 20 when printer 40 breaks down, main frame 30 also can control the external equipment of printer 40 in real time.
The embodiment of the present invention additionally provides a kind of printer 40.This printer 40 comprises: controller 41; First interface 42, is connected with controller 41, and for receiving the first instruction of from host via first passage, wherein, the first instruction is used for controlling the built-in function of printer; Second interface 44, is connected with controller 41, and for receiving the second instruction of from host via second channel, wherein, the second instruction is used for controlling the external equipment of printer; And Peripheral Interface, be connected with controller 41, for the second instruction is sent to external equipment.
Above-mentioned printer 40 can also comprise: the first reception buffer zone 43, is connected with controller 41, for the first instruction that buffer memory first interface 42 receives; Printing portion 46, is connected with controller 41, for performing printing according to the first instruction; And second reception buffer zone 45, be connected with controller 41, for the second instruction that buffer memory second interface 42 receives.
Preferably, above-mentioned printer 40 also comprises: state detecting section 48, is connected with controller 41, and for detecting the state of each ingredient of printer, wherein, controller 41 stops reception first instruction for controlling first interface 42 when printer exists fault.Now, stop reception first instruction by the first interface 42 controlling printer when printer exists fault, unnecessary information transmission can be prevented.
Preferably, above-mentioned state detecting section 48 after the state detecting printer 40 each ingredient, also for by the status information feedback detected to main frame 30 to stop transmitting the first instruction to printer main frame 30 to exist fault during in printer 40 inside.Now, by when there is fault in printer by the status information feedback that detects to main frame 30, and stop transmitting the first instruction to printer when making main frame 30 there is fault in printer 40 inside, unnecessary information transmission can be prevented, and main frame can be made to recognize the fault of printer in time.
In embodiments of the present invention, the printer peripheral hardware steering order that printer 40 is sent by a special communication interface Receiving Host 30, even if achieve when printer breaks down, also can receive peripheral hardware steering order to go forward side by side row relax, to realize the object that main frame controls in real time to printer peripheral hardware.
The process flow diagram of the control method of Fig. 3 print system according to a first embodiment of the present invention, with the instantiation that the gathering print system be applied in supermarket, market is the first embodiment, aid illustration is carried out to process flow diagram, wherein, the cash box control module that the information generating module that first generation unit is gathering software, the second generation unit are the gathering software run in main frame, as shown in Figure 3, the control method of this print system comprises:
Step S201, utilizes the first generation unit to generate the first instruction be made up of the machine steering order, utilizes the second generation unit to generate the second instruction be made up of peripheral hardware steering order.
When client settles accounts, staff scans the purchase of client, often scan article, by the Receiving information of the automatic generate item of information generating module (i.e. the first generation unit), as Item Title, quantity, unit price, the amount of money etc., after all article ends of scan, information generating module generates the pay imformation of all article; After staff receives the cash that client submits, by input through keyboard amount of cash, then click " cash box " button on host keyboard, then the cash box control module of the gathering software run in main frame controls cash box and opens, after cash box is opened, staff can carry out charging and small change.Wherein, when software detection of collecting money is to the clicking operation of " cash box " button, the information such as the amount of money, the small change amount of money, staff's numbering, voucher serial number of list of articles, reception cash is converted to the executable instruction of printer (i.e. the first instruction) by information generating module, comprise many character print instructions and medium positioning instruction, wherein, character print instruction prints the character in shopping voucher; Meanwhile, cash box open command is generated by cash box control module (i.e. the second generation unit), i.e. the second instruction.
Step S202, the first instruction and the second instruction are sent to printer respectively by first interface unit and the second interface unit by main frame.
The second instruction that the first instruction that information generating module generates by main frame and cash box control module generate, is sent to printer respectively by the first interface unit of main frame and the second interface unit.
Step S203, printer receives by first interface the built-in function that the first instruction controls printer, is controlled the operation of printer peripheral hardware by the second interface second instruction.
Printer receives the first instruction by first interface, and the first instruction received is kept at the first buffer zone; By the second interface second instruction, and the second instruction received is kept at the second buffer zone.By the controller of printer, the reception instruction be kept in the first buffer zone and the second buffer zone is processed, wherein, according to the first instruction, control printer and carry out built-in function, carry out printing as character print instruction controls printer, medium positioning instruction control printer carries out medium location etc.; According to the second instruction, printer peripheral hardware is controlled, as cash box open command controls the unlatching of cash box, the display information etc. of display information updating instruction renewal display screen.
In this embodiment, generate the first instruction by the first generation unit and be sent to printer by first interface unit, generate the second instruction by the second generation unit and be sent to printer by the second interface unit, different instructions is transmitted by distinct interface, the reception to the first instruction that main frame sends from first interface and process can be suspended when printer breaks down, continue to carry out real-time reception and process in real time to main frame from the second instruction that the second interface sends, thus achieve the real-time control of main frame to printer peripheral hardware.
Fig. 4 is the process flow diagram of the control method of print system according to a second embodiment of the present invention, and as shown in Figure 4, the control method of this print system comprises:
Step S301, utilizes the first generation unit to generate for carrying out the first instruction printed on medium, utilizes the second generation unit to generate and controls the second relevant instruction to printer peripheral hardware.
Step S302, whether Host Detection printer breaks down.
The information that main frame is returned by printer, as the auto state return message (Automatic StatusBack) of printer, whether detect printer to break down, 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 the first instruction by first interface unit, sends the second instruction by the second interface unit.
When printer does not produce fault, main frame sends the first instruction by first interface unit, sends the second instruction by the second interface unit, and two kinds of instructions can send simultaneously, also can time-sharing send.
Step S304, printer receives by first interface the built-in function that the first instruction controls printer, is controlled the operation of printer peripheral hardware by the second interface second instruction.
Step S305, main frame sends the second instruction by the second interface unit.
Step S306, printer controls the operation of printer peripheral hardware by the second interface second instruction.
In this embodiment, no matter whether printer breaks down, main frame can transmit the second instruction by the second interface unit to printer, printer is by the second interface second instruction, enable the second instruction by second channel real-time Transmission and process in real time, thus achieve the real-time control of main frame to printer peripheral hardware; In addition, main frame sends the first instruction when printer non-fault by first interface unit, breaking down to suspend at printer sends the first instruction from first interface unit to printer, avoid the loss of data because printer fault causes, therefore ensure that the integrality of the first instruction.
In the print system and control method of the embodiment of the present invention, by the machine steering order of first passage transfer printing machine, the peripheral hardware steering order by second channel transfer printing machine, thus when avoiding by being equipped with instruction and the machine steering order outside same channel transfer, because printer breaks down the problem that the main frame caused can not control in real time to printer peripheral hardware; By the instruction that different channel transfer is dissimilar, ensure that printer peripheral hardware is controlled in real time while do not affect the execution of the machine steering order yet.
Fig. 5 is the process flow diagram of the control method of printer according to the embodiment of the present 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 by state detecting section 48, when detecting that print media is finished that the printhead of i.e. printer paper-out or printing portion is overheated, cutting knife does not reset, is then set to printer and breaks 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 by first interface the built-in function that the first instruction controls printer, is controlled the operation of printer peripheral hardware by the second interface second instruction.
When printer does not break down, printer is respectively from two interface instructions, wherein, the first instruction received from first interface is kept at the first buffer zone, the second instruction from the second interface is kept at the second buffer zone, controller 41 processes respectively to the instruction in two buffer zones, wherein, the first instruction in the first buffer zone is for generating print data and being printed on medium, and the second instruction in the second buffer zone is for controlling the operation of printer peripheral hardware.
Step S503, printer controls the operation of printer peripheral hardware by the second interface second instruction.
When printer breaks down, printer continues from the second interface instruction, and the instruction received is kept at the second buffer zone, controller 41 continues to process the instruction in the second buffer zone, controlling printer peripheral hardware to operate accordingly, opening as controlled cash box, control display screen renewal display information etc.
In this print control program, the first instruction is received owing to utilizing first passage, and utilize second channel to receive the second instruction, thus, when causing first passage normally can not receive the first instruction because of printer fault, second instruction can also be sent to external equipment to realize the real-time control of main frame to external equipment by second channel by printer, thus in print system when printer breaks down, main frame also can realize the effect of control in real time to the external equipment of printer.
In the print system and control method of the embodiment of the present invention, the first instruction is transmitted, by second communication channel transfer second instruction by first passage, thus avoid by causing reception instruction to suspend the delay process to the second instruction processing and cause because printer breaks down during same channel transfer two kinds of instructions, and the problem that can not control in real time printer peripheral hardware occurred because the second instruction can not process in time; Main frame also can send the second instruction by second channel when printer breaks down, and improves the real-time of the second command; Printer also can process the second instruction when breaking down, and improves the real-time that the second instruction performs; When printer breaks down, main frame does not send the first instruction and can effectively prevent from, now because printer pause receives and the instruction that causes of process the first instruction is lost, ensure that the integrality of the first instruction.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. a print system, comprise main frame (30) and printer (40), it is characterized in that, first passage (36) and second channel (37) is provided with between described main frame (30) and described printer (40), described first passage (36) is for transmitting the first instruction, described second channel (37) is for transmitting the second instruction, wherein, described first instruction is used for controlling the built-in function of described printer (40), described second instruction is used for controlling the external equipment of described printer (40), wherein, described external equipment refers to and to be connected with described printer (40) Peripheral Interface, the equipment controlled is carried out by described printer (40), described first passage (36) and described second channel (37) are separate two data transmission channels.
2. print system according to claim 1, is characterized in that,
Described main frame (30) comprising:
Control module (31);
First instruction generation unit (32), is connected with described control module (31), for generating described first instruction;
Second instruction generation unit (33), is connected with described control module (31), for generating described second instruction;
First interface unit (34), is connected with described control module (31), for transmitting described first instruction; And
Second interface unit (35), is connected with described control module (31), for transmitting described second instruction,
Described printer (40) comprising:
Controller (41);
First interface (42), is connected with described controller (41), and is connected with described first interface unit (34) via described first passage (36), for receiving described first instruction;
Second interface (44), is connected with described controller (41), and is connected with described second interface unit (35) via described second channel (37), for receiving described second instruction; And
Peripheral Interface, is connected with described controller (41), for described second instruction being sent to the external equipment of described printer (40).
3. print system according to claim 2, is characterized in that, described printer (40) also comprises:
First reception buffer zone (43), is connected with described controller (41), for the first instruction that first interface described in buffer memory (42) receives;
Printing portion (46), is connected with described controller (41), for performing printing according to described first instruction; And
Second reception buffer zone (45), is connected with described controller (41), for the second instruction that the second interface (44) described in buffer memory receives.
4. print system according to claim 2, is characterized in that, described printer (40) also comprises:
State detecting section (48), is connected with described controller (41), for detecting the state of described printer (40) each ingredient,
Wherein, control described first interface when described printer (40) is for existing fault in inside to stop receiving described first instruction.
5. print system according to claim 2, is characterized in that, described printer (40) also comprises:
State detecting section (48), is connected with described controller (41), for detect described printer (40) each ingredient state and by the described status information feedback detected give described main frame (30),
Wherein, described main frame (30) transmits described first instruction for controlling the stopping of described first interface unit (34) when described printer (40) inside exists fault.
6. a printer, is characterized in that comprising:
Controller (41);
First interface (42), is connected with described controller (41), and for receiving the first instruction of from host via first passage, wherein, described first instruction is used for controlling the built-in function of described printer;
Second interface (44), be connected with described controller (41), for receiving the second instruction from described main frame via second channel, wherein, described second instruction is used for controlling the external equipment of described printer, and described first passage (36) and described second channel (37) are separate two data transmission channels; And
Peripheral Interface, is connected with described controller (41), and for described second instruction is sent to external equipment, described external equipment refers to and to be connected with described printer Peripheral Interface, to be carried out the equipment that controls by described printer.
7. printer according to claim 6, characterized by further comprising:
First reception buffer zone (43), is connected with described controller (41), for the first instruction that first interface described in buffer memory (42) receives;
Printing portion (46), is connected with described controller (41), for performing printing according to described first instruction; And
Second reception buffer zone (45), is connected with described controller (41), for the second instruction that the second interface (44) described in buffer memory receives.
8. printer according to claim 6, characterized by further comprising:
State detecting section (48), is connected with described controller (41), for detecting the state of each ingredient of described printer,
Wherein, described controller (41) stops receiving described first instruction for controlling described first interface (42) when described printer exists fault.
9. printer according to claim 6, characterized by further comprising: state detecting section (48), be connected with described controller (41), for detect described printer (40) each ingredient state and by the described status information feedback detected to described main frame (30) to stop described main frame (30) to exist fault during in described printer (40) inside transmitting described first instruction to described printer.
10. a control method for print system, wherein, described print system comprises main frame and printer, it is characterized in that comprising:
Described host computer first passage transmits the first instruction to described printer, and wherein, described first instruction is used for controlling the built-in function of described printer; And
Described host computer second channel transmits the second instruction to described printer, wherein, described second instruction is used for controlling the external equipment of described printer, described external equipment refers to and to be connected with described printer Peripheral Interface, to be carried out the equipment that controls by described printer, and described first passage (36) and described second channel (37) are separate two data transmission channels.
The control method of 11. print systems according to claim 10, characterized by further comprising:
Described printer detects the state of inner each ingredient; And
Described printer is used for stopping when there is fault in inside receiving described first instruction from described first passage.
The control method of 12. print systems according to claim 10, characterized by further comprising:
Described printer detects the state of inner each ingredient and the state detected is sent to described main frame; And
Described main frame stops when described printer exists fault sending described first instruction from described first passage to described printer.
The control method of 13. 1 kinds of printers, is characterized in that comprising:
Utilize first passage to receive the first instruction, wherein, described first instruction is used for controlling the built-in function of described printer; And
Second channel is utilized to receive the second instruction, wherein, described second instruction is used for controlling the external equipment of described printer, wherein, described external equipment refers to and to be connected with described printer Peripheral Interface, to be carried out the equipment that controls by described printer, and described first passage (36) and described second channel (37) are separate two data transmission channels.
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 CN102789373A (en) 2012-11-21
CN102789373B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6127542B2 (en) * 2013-01-30 2017-05-17 セイコーエプソン株式会社 PRINT CONTROL DEVICE, CONTROL METHOD AND PROGRAM FOR PRINT CONTROL DEVICE
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

Also Published As

Publication number Publication date
CN102789373A (en) 2012-11-21

Similar Documents

Publication Publication Date Title
JP5082965B2 (en) Printing apparatus and information management system
US9473663B2 (en) Control device, method of controlling a multifunction device, and a storage medium storing a program executed by a control unit that controls a recording device
US11263635B2 (en) Check-out system and registration apparatus
CN103568606A (en) Printing device, printing system and printing method
CN102129359B (en) Printer system control method, printer system, and printer
JP2014071792A (en) Print system and printer
CN103970492A (en) Control Method Of A Control System And A Control System
CN101383070B (en) Print control method and device
CN102789373B (en) Print system and control method thereof and printer and control method thereof
JP5728946B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
JP5954467B2 (en) Electronic device, control method of electronic device, and program
US10536531B2 (en) Printer and data processing method
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
CN104228363B (en) Control device and control the control method of device
EP3023914B1 (en) Printing device and printing system
JP2011186718A (en) Control device, control method thereof, and program
CN110871638A (en) Printing apparatus, control method of printing apparatus, and printing system
US10127482B2 (en) Printing system including automatic status transmission function and control device and control method thereof
US9959489B2 (en) Network system, printing device, and control method of a printing device
JP4543890B2 (en) POS system
JP6003475B2 (en) Printing system, printing apparatus, and printing method
JP6578894B2 (en) Network system and control device
JP4534814B2 (en) Data processing apparatus, data processing program, and data processing method
JP6578895B2 (en) Network system and control device
CN107111919A (en) Print data processing apparatus, print data processing method, program and print system

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