CN100394377C - Print system and printing method - Google Patents

Print system and printing method Download PDF

Info

Publication number
CN100394377C
CN100394377C CNB2005101241612A CN200510124161A CN100394377C CN 100394377 C CN100394377 C CN 100394377C CN B2005101241612 A CNB2005101241612 A CN B2005101241612A CN 200510124161 A CN200510124161 A CN 200510124161A CN 100394377 C CN100394377 C CN 100394377C
Authority
CN
China
Prior art keywords
imaging device
main equipment
information
registered
printer
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.)
Expired - Fee Related
Application number
CNB2005101241612A
Other languages
Chinese (zh)
Other versions
CN1782980A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Publication of CN1782980A publication Critical patent/CN1782980A/en
Application granted granted Critical
Publication of CN100394377C publication Critical patent/CN100394377C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A print system and print method for transmitting print data from a host PC to a printer by radio communication and performing printing. It is determined on the host PC side whether or not two-way communication by radio communication is possible, and if two-way communication is possible, information indicating that two-way communication is possible is transmitted to the printer. On the printer side, identification information of the host PC which transmitted the information indicating that two-way communication is possible is registered.

Description

Print system and Method of printing
Technical field
The present invention relates to a kind of print system and Method of printing that is used for sending print data by radio communication.
Background technology
Traditionally, in the print system that comprises principal computer (main PC) and printer, main PC and printer interconnect by cable, the status information of representing various printer modes, comprise error message, residue China ink amount, battery capacity etc., (for example, prior art 1: TOHKEMY 2004-050726 communique) to be notified to main PC.
In this print system, main PC obtains order with status information and sends to printer, and the type of required status information is registered in the printer in advance.When the state information change of registered type, it is upgraded, and be read by poll (polling) by the status information of the type of main PC registration.In addition, propose a kind of like this print system in recent years again, in this print system, all status information can at random be sent to main PC from printer side, obtains order and need not send state information.
Now, as a kind of wireless data communication system, use with of bluetooth (Bluetooth) communication of 2.4GHz frequency band as spread-spectrum (spread spectrum) communication.
In Bluetooth communication, determine protocol subset (profile) according to each operating position, and communicate control according to each protocol subset.As the duplicating firmly in the cable reset protocol subclass (Hardcopy Cable Replacement Profile, hereinafter be called for short " HCRP ") of one of protocol subset, specified in more detail with main PC and printer or scanner between the relevant method of communication.In the HCRP protocol subset, communication is that logical link control and adaptation protocol (Logical Link Control andAdaptation Protocol is called for short " L2CAP " hereinafter) layer by Bluetooth communication carries out.48 unique bluetooth device address (being called for short " BD_ADDR " hereinafter) are assigned to Bluetooth communication device, and when connecting, notice BD_ADDR connects to be used for link.
In the HCRP protocol subset, provide two channels at the L2CAP layer.Main PC sends communication data on data channel, carry out various controls on control channel.In this print system, for example, according to the data flow con-trol on the data channel, its device (printer) receivable data word joint number on control channel is provided for the opposite end device (main PC) of this communication as credit (credit).The opposite end device of this communication sends communication data by data channel in this given credit scope.In addition, on control channel, can receive the device ID of printer.
Next explanation obtains the method for the status information between main PC and the printer.It should be noted that when printer and main PC interconnected by HCRP, in order to show the current state of printer in main PC side, status information can send from printer by data channel.Yet existence can not normally receive the device of printer modes information according to the regulation of protocol stack software.
The printed driver that is installed in main PC side judges whether to receive printer modes information by used protocol stack.If printed driver is judged this printer modes information and can be received, then this printed driver sends to printer so that required status information is registered to printer side by data channel with the status information order.On the other hand, printer side is checked its current state according to the status information order that receives, and sends the state that comprise error message, residue China ink amount, battery capacity etc. with predetermined form based on the status information of being registered on data channel.For printer modes is notified to the user, main PC side group is presented at information in the status information that receives on monitor of following this main PC etc.
In addition, when printed driver used among this main PC used protocol stack to judge this printer modes information can not to be received, this printed driver did not send the status information order that is used to receive printer modes information.
It should be noted, using Bluetooth communication to carry out under the situation of data communication, in order to prevent taking of wireless communication frequency band, perhaps in order to prevent current drain, perhaps owing to connect the regulation problem of restriction simultaneously, be that maximum seven devices are connected to a main equipment (master), send by data and carry out link connection and disconnection.In the HCRP print system, be that link connection and disconnection are carried out in a print job.Owing to status information obtains to order is a kind of print job, so all carrying out the link connection and disconnect when main PC send state information obtains to order at every turn, unless the link connection is established during printing waits.
As mentioned above because according to the main PC that connects the opposite end, some device can not carry out two-way communication, therefore, when status information accidentally when printer side sends to this device that can not two-way communication, on the opposite end device of communication, may go wrong.
Send state information order and carry out two-way communication when main PC that therefore, can two-way communication connects at each link.In order to check printer modes all the time and to discharge the printer that will use by other device, be necessary to prepare a kind ofly to be used for setting up that link connects, the processing of send state information order and receiving status information data during link connects in predetermined period.
In addition, when using Bluetooth communication, because link connects and disconnection is undertaken by each print job, printer is removed the Status Type of being registered when connecting.Therefore, when being connected with printer, main PC send state information obtains order to obtain printer modes information at every turn.For example, even do not print when handling when main PC monitor printer state, main PC also send state information obtains order.
In enabling the printer that order and interface seizure condition change according to the data communication that comes autonomous PC, when each the connection, all come under the situation of data communication of autonomous PC, interface seizure condition quilt is Iterim Change troublesomely.
In addition, under the situation of recent wired connection print system, obtain order without status information and can send whole status informations arbitrarily from printer side to main PC, this can be applied to Bluetooth communication.In the case, need in main PC, move the driver of normal receiving status information all the time.Yet printer always is not connected to so main PC.When application software that can not receiving status information or driver operated among the main PC, main PC sent the inexplicable data of printer, in main PC problem may take place.
Summary of the invention
The present invention considers above-mentioned situation and makes that its purpose is to improve the convenience of communicating by letter between main equipment and the imaging device.
In addition, another object of the present invention is to use the redundancy of minimizing to carry out processing in the communication between main equipment and the imaging device, thereby improve the convenience of communication.
To achieve these goals, according to an aspect of the present invention, a kind of print system is provided, be used for print data is sent to imaging device and prints from main equipment by radio data channels, wherein, described main equipment comprises: coupling arrangement is used for described main equipment is connected to described imaging device; Judgment means is used to judge whether to carry out the two-way communication by radio data channels; And first dispensing device, if can carry out described two-way communication, then will represent that by described radio data channels the information that can carry out described two-way communication sends to described imaging device, wherein, described imaging device comprises: receiving trap, be used for when described imaging device is connected to described main equipment, receive the information that expression can be carried out described two-way communication by described radio data channels; Calling mechanism is used to register and has sent the identification information of described main equipment that expression can be carried out the information of described two-way communication; And second dispensing device, be used for when described imaging device is connected to the described main equipment that described calling mechanism registers, sending the status information of the state of the described imaging device of expression automatically by described radio data channels.
In addition, according to a further aspect in the invention, a kind of imaging device is provided, by using Bluetooth communication to be connected to main equipment, this imaging device comprises: receiving trap, be used for when described imaging device is connected to described main equipment by predetermined bluetooth connection protocol subclass, receiving the information that this main equipment of expression can receive the status information of described imaging device by radio data channels; Calling mechanism is used to register the main equipment that has sent described information; And first dispensing device, be used for when described imaging device is connected to the described main equipment that described calling mechanism registers by described predetermined connection protocol subclass, sending described status information automatically by described radio data channels.
In addition, according to a further aspect in the invention, provide a kind of main equipment, be connected to imaging device by using Bluetooth communication, this main equipment comprises: coupling arrangement is used for by predetermined bluetooth connection protocol subclass described main equipment being connected to described imaging device; Judgment means is used for judging based on the information of the imaging device that comes free described coupling arrangement to connect whether described main equipment is registered to described imaging device; And dispensing device, be used for when described judgment means is judged described main equipment and is not registered to described imaging device, send the information that is used for described main equipment is registered to as the main equipment that can obtain the status information of described imaging device described imaging device by radio data channels.
In addition, according to a further aspect in the invention, provide a kind of imaging device, comprising: receiving trap, be used for when described imaging device is connected to main equipment, receive the information that the described main equipment of expression can receive the status information of described imaging device by radio data channels; Calling mechanism is used to register the main equipment that can obtain the status information of described imaging device; Judgment means is used to judge whether the described main equipment that is connected to described imaging device is registered by described calling mechanism; And notifying device, be used for when described judgment means is judged described main equipment and registered by described calling mechanism, give this main equipment by described radio data channels with the state information notification of described imaging device.
In addition, according to a further aspect in the invention, provide a kind of main equipment, be connected to imaging device, this main equipment comprises: coupling arrangement is used for described main equipment is connected to described imaging device; Judgment means is used for judging by utilizing radio data channels and described imaging device to communicate whether described main equipment is registered in the described imaging device; And dispensing device, be used for when described judgment means is judged described main equipment and is not registered to described imaging device, send the information that is used for described main equipment is registered to as the main equipment that can obtain status information described imaging device by described radio data channels.
In addition, according to a further aspect in the invention, a kind of Method of printing is provided, be used for print data being sent to imaging device and printing from main equipment by radio data channels, this Method of printing comprises: determining step is used for judging at described main equipment whether to carry out two-way communication by described radio data channels; Forwarding step if can carry out described two-way communication, then will represent that by described radio data channels the information that can carry out described two-way communication sends to described imaging device; And register step, be used to register and sent the identification information of described main equipment that expression can be carried out the information of described two-way communication.
In addition, according to a further aspect in the invention, provide a kind of control method of imaging device, comprising: determining step is used for judging whether the main equipment that is connected to described imaging device is registered to described imaging device; And notifying process, be used for when described determining step is judged described main equipment and has been registered, give this main equipment by radio data channels with the state information notification of described imaging device.
In addition, according to a further aspect in the invention, a kind of control method of main equipment is provided, this main equipment is connected to imaging device, this control method comprises: determining step, be used for judging by utilizing radio data channels and described imaging device to communicate whether described main equipment is registered in the described imaging device; And forwarding step, be used for when described determining step is judged described main equipment and is not registered to described imaging device, send the information that is used for described main equipment is registered to as the main equipment that can obtain status information described imaging device by described radio data channels.
By below in conjunction with the description of the drawings, other features and advantages of the present invention are conspicuous, and wherein in whole accompanying drawings, identical Reference numeral is represented same or analogous part.
Description of drawings
The accompanying drawing that comprises in this manual and constitute this instructions part has illustrated embodiments of the invention with this instructions, is used to explain principle of the present invention.
Fig. 1 is the block diagram that illustrates according to the example of structure of the print system of first embodiment of the invention;
Fig. 2 is the process flow diagram that the processing when printer 1 has accepted the HCRP of autonomous PC 2 to connect is shown;
Fig. 3 illustrates when the process flow diagram of the processing when main PC 2 has sent two-way communication and enables (enable) order during HCRP connects;
Fig. 4 is the process flow diagram that the processing of being undertaken by the printed driver that is installed among the main PC 2 is shown;
Fig. 5 printer 1 is shown and the main PC 2 that registered between communication sequence;
Fig. 6 is the process flow diagram that illustrates according to second embodiment of the invention processing in the printer 1 when bluetooth connects;
Fig. 7 illustrates the process flow diagram that the order reception in printer 1 is handled according to second embodiment;
Fig. 8 is illustrated in the process flow diagram that installs ID response processing and status information transmission processing in the HCRP connection;
Fig. 9 is the process flow diagram of flow process that the processing of the status surveillance application program that is included in the printed driver is shown; And
Figure 10 illustrates the processing sequence of the status surveillance application program that is installed in the printed driver.
Embodiment
Describe the preferred embodiments of the present invention below with reference to the accompanying drawings in detail.In described embodiment, Bluetooth technology is applied to wireless communication system, and this wireless communication system is used between the device as the short-range communication between imaging device and the main equipment.In addition, the data communication of using Bluetooth technology in the print system with main equipment (personal computer) and imaging device (printer) also will be described.
First embodiment
Fig. 1 is the block diagram that illustrates according to the example of structure of the print system of first embodiment of the invention.As shown in Figure 1, this print system has printer 1 and at least one main PC2.Printer 1 has printer control section 105, CPU 101, flash ROM 103, RAM 104, radio communication I/F control section 102, baseband portion 106, RF part 107 and antenna 108.
The program of flash ROM 103 retentive control printers 1, various operation tables etc.It should be noted, can use nonvolatile memory such as ROM and EEPROM simultaneously and reach purpose of the present invention without flash ROM 103.RAM 104 keeps various variablees, control table, the interim data of using, be used to wrap the transmission of reception and reception buffer etc.CPU 101 carries out aftermentioned according to program stored among the flash ROM 103 to be handled.
The signal that receives by antenna 108 carries out demodulation (demodulation) processing by RF part 107, and is output to baseband portion 106.In baseband portion 106, the data after the demodulation are carried out error correction process, and output to radio communication I/F control section 102 according to the data that result will normally receive.For detecting wrong data, the opposite end device that request sends to this communication will be resend.In addition, the checking request is sent to communication opposite end device, and carries out encryption according to the setting of safe mode.Is that unit carries out various controls, event handling and the data communication between baseband portion 106 and the radio communication I/F control section 102 according to standardization Host Controler Interface (being called for short " HCI " hereinafter) with the bag.
When sending data, the transmission data of HCI packet form send to baseband portion 106 from radio communication I/F control section 102, and error correction code etc. is added in these transmission data.Then, these data are converted into the data of predetermined format, and are output to RF part 107.In RF part 107, the input data are modulated, and arrive other radio communication device by antenna transmission.
When receiving data, transmit data with the reverse path that sends data, last, analyze the HIC bag data that are input to radio communication I/F control section 102 from baseband portion 106.Radio communication I/F control section 102 communicates required various control and treatment, transmits and flow process control as connection negotiation, data in link connection negotiation, service search response, the protocal layers.
It should be noted printer 1 can carry out receiving print data on data channel and its status information be sent to main PC 2 when HCRP connects two-way communication.In addition, on control channel, printer 1 is as defined in the HCRP agreement, and ID responds with its device.
Under this situation of printer 1, have CPU201, wireless I/F control section 202, ROM 203, RAM 204 and antenna 205 as connecting distolateral relatively main PC 2.Main PC 2 is connected with printer 1 via radio communication I/F control section 202 by radio communication, and carries out the transmission/reception of various print datas and control data, and sends print data to print.
In addition, because main PC 2 has the display device (not shown), main PC 2 analyzes the status information data that receives from printer 1 and the state of printer 1 is presented to the user.In addition, main PC 2 has the aftermentioned printed driver in RAM 204 or hard disk (not shown).
Be described in detail in the above structure operation of printer 1 when having accepted HCRP from PC 2 and connect below with reference to the process flow diagram of Fig. 2.
Fig. 2 is the process flow diagram that the processing when printer 1 has accepted the HCRP of autonomous PC 2 to connect is shown.Carry out this processing to upgrade the setting and the set setting when the quantity of calling mechanism has reached maximum number of registration complement mark based on the rreturn value of device ID.
It should be noted that in printer 1, but identification information is stored among nonvolatile memory or the RAM as the BD_ADDR address of the device of HCRP two-way communication.
When carrying out the HCRP of autonomous PC 2 to connect about printer 1 (S201), the CPU 101 of printer 1 judges based on the identification information of this wireless device that is connected to printer 1 whether this device is registered (S202).If this device is registered, registration complement mark (S203) is set then.If this device is not registered, registration complement mark (S204) then resets.
Next, check based on the BD_ADDR address list whether the quantity of the main PC of registration in the printer 1 has reached maximum number (S205).If the quantity of the main PC of registration has reached maximum number, then be provided with and register full scale will (S206).If the quantity of the main PC of registration does not reach maximum number, then reset and register full scale will (S207).By this mode, when the HCRP connection was prepared in the device ID of next autonomous PC 2 request after being, the partial information of device ID (register complement mark and register full scale will) was updated.
It should be noted, when device ID request when main PC is sent out by the HCRP control channel, return the device ID value that comprises device name, fabricator's title etc. and set register information.
Next, but will describe the registration of main PC in printer 1 of two-way communication with reference to the process flow diagram of figure 3 in detail.
Fig. 3 illustrates when the process flow diagram of the processing when main PC 2 has sent that order is enabled in two-way communication during HCRP connects.When receiving this order (S301), judge in printer 1 whether the identification information of main PC is registered (S302).If this identification information is registered, check then whether the whole posting field of printer 1 is full, and whether the quantity of the device of being registered has reached maximum number (S303).When the quantity of the device of being registered had reached maximum number, then one of record of being registered was deleted, so that guarantee posting field (S304).
It should be noted that this deletion can be carried out from the oldest start-of-record, perhaps according to carrying out from the minimum start-of-record of right of priority based on the right of priority that connects frequency etc.
In this manner, guarantee registration zone, and registered the identification information (S305) of unregistered device.Then, judge whether the quantity of the device of being registered has reached maximum number (S306), when the quantity of the device of being registered has reached maximum number, upgrade and register full scale will (S307) that this processing finishes (S308).As mentioned above, when receiving two-way communication when enabling order from main PC 2, the identification information of this device is registered in the printer 1.
Next, will the structure of the printed driver among the main PC 2 be described.This printed driver is the software of operating as the application program on the main PC 2.Printed driver sends printer 1 explainable print data.In addition, the status information that the printed driver analysis receives from printer 1, and analysis result is presented on the display device of main PC 2.In addition, printed driver judges based on the print.er port information of main PC 2, the protocol stack information of being installed etc. whether main PC 2 can carry out two-way communication.
Next, will describe the processing that is installed in the printed driver among the main PC 2 with reference to the process flow diagram of figure 4 in detail.When connecting, printed driver is handled by print processing or printer modes inspection by the user and is started, and carries out the processing (S401) about printer 1.At first, printed driver connects by link and HCRP connection procedure and printer 1 connect (S402).Next, printed driver is asked to printer 1 issue device ID on the HCRP control channel, and obtains device ID (S403).
Next, printed driver checks that by being installed in the application program that is used for Bluetooth communication among the main PC 2 two-way communication whether may (S404).If two-way communication is impossible, then finishes this processing and do not carry out any processing (S408).When two-way communication when being possible, check the registration complement mark according to acquired device id information, whether be registered to (S405) in the printer 1 to judge main PC 2.When main PC 2 was not registered, two-way communication was enabled order and is sent to printer 1 (S406).Thereafter, receive the status information (S407) that sends from printer 1, this processing finishes (S408).When receiving this status information, analyze this information and the state of printer 1 is presented on the display device of main PC 2, with state to this printer of user notification.
Next, will describe in detail with reference to the sequence of figure 5 printer 1 and the registration main PC2 between communication process.
When operation by the user etc. when main PC 2 sends print command, main PC 2 sends to printer 1 (S501) with the link connection request.For responding this link connection request, printer 1 returns affirmation (acknowledge) (S502), sets up link thus and connects.Next, send the HCRP control channel connection request (S503) of L2CAP layer, printer 1 side is returned affirmation (S504) then, sets up control channel thus and connects.
In the L2CAP layer,, therefore hold consultation about the parameter that on control channel, transmits owing to the negotiation that needs in connecting at each between the both sides.At first, the negotiation (S505) of main PC 2 side request control channels, printer 1 side is returned affirmation (S506) then, finishes the negotiation of main PC 2 sides thus.Similarly, printer 1 side sends the agreement request (S507) that is used to consult its parameter, and this negotiation is finished in confirmation of receipt then (S508) thus.
Next, in the situation of this control channel, send connection request and agreement request (S509 to S514), finish the negotiation of the parameter of data channel about data channel.
Next, main PC 2 uses this control channel to printer 1 dispensing device ID request (S515).In response to this request, printer 1 sends its device ID, wherein, and the registration complement mark (S516) that the main PC of the expression among the setting device ID is registered.When main PC was not registered, main PC 2 sent two-way communication by data channel and enables order, registers according to the process of Fig. 3 thus.By this mode, when main PC is not registered, occur in the data communication from main PC 2 to printer 1 on the data channel.
But main PC 2 is checked through the device of this device conduct two-way communication and is registered in the printer 1, provides credit to printer 1, and wherein, byte number is corresponding to its receivable value (S517).Then, printer 1 returns affirmation (S518), thus credit is given printer 1.Printer 1 sends current state as status information data (S519) by data channel.Main PC 2 analyzes the status information data that receives, and shows the state of printer 1.
Therefore, in main PC 2, detect all the time under the situation of state of printer 1, in case main PC 2 has been registered in the printer 1, then can detect the state of printer 1, and not need data communication by next autonomous PC 2 sides of data channel.
According to first embodiment, register in the printer by wireless device the energy two-way communication, can reduce data transmission frequency.
Second embodiment
Next, will describe the second embodiment of the present invention with reference to the accompanying drawings in detail.
Since according to the print system of second embodiment have with the used Fig. 1 of first embodiment in the identical structure of print system, so will omit explanation to its structure.
Below, the operation of printer 1 when having accepted the bluetooth connection that comes autonomous PC 2 will be described with reference to the process flow diagram of figure 6.This processing is carried out according to the program that is stored among flash ROM 103 or the RAM 104 by the CPU 101 of printer 1.In addition, this processing relates at device the registration complement mark is set and set registration full scale will when the quantity of the device of registering has reached maximum number among the ID in printer 1.
Fig. 6 is the process flow diagram that illustrates according to second embodiment processing in the printer 1 when bluetooth connects.When the bluetooth about printer 1 of carrying out autonomous PC 2 connects (S601), CPU 101 checks whether the HCRP connection is carried out (S602).Under situation about connecting, carry out processing (S603) corresponding to this protocol subset by another protocol subset.When carrying out HCRP when connecting, by obtaining the BD_ADDR (S604) of main PC 2 information of Bluetooth technology when connecting.In printer 1, receiving status information can the HCRP two-way communication the BD_ADDR address list of main PC handle by aftermentioned and be stored in advance among its nonvolatile memory or the RAM 104.
CPU 101 judges whether the BD_ADDR address that is obtained is registered in (S605) in this tabulation, if this BD_ADDR address is registered, registration complement mark (S606) is set then; And if the BD_ADDR address is not registered, then CPU 101 resets and registers complement mark (S607).Next, but CPU 101 checks the quantity of the device of being registered and whether has reached the maximum registrating number (S608) in this BD_ADDR tabulation, when the quantity of the device of being registered has reached this maximum number, be provided with and register full scale will (S609), when the quantity of the device of being registered does not reach this maximum number, reset and register full scale will (S610).By this mode, when the HCRP connection was prepared in the device ID of next autonomous PC 2 request after being, the partial information of device ID (register complement mark and register full scale will) was updated.
Next, will describe in detail with reference to the process flow diagram of figure 7 can two-way communication and the registration of the main PC of receive status information.The CPU 101 of printer 1 carries out this processing according to the program that is stored among flash ROM 103 or the RAM 104.
Fig. 7 illustrates the process flow diagram that receives the processing of handling according to the directive command of second embodiment in printer 1.This processing be during HCRP connects when receiving " status information receives and enables order " from main PC 2 by CPU 101 execution of printer 1.
Receive (S701) when enabling order when printer 1 has received this status information, whether the BD_ADDR address of the main PC 2 that the HCRP that CPU 101 checks at step S604 obtains when connecting has been registered in (S702) in the tabulation that is stored in RAM 104.When this address had been registered to this tabulation, this processing finished (S707).When this address was not registered to this tabulation, CPU 101 checked whether the quantity of the main PC of registration in the printer 1 has reached maximum number (S703).When the quantity of main PC had reached maximum number, CPU 101 was provided with and registers full scale will (S706), and finishes this processing (S707).
When the quantity of main PC does not reach maximum number, the BD_ADDR address registration that CPU 101 will this connected main PC2 (S704) in this tabulation.Thereafter, CPU 101 checks whether the quantity of main PC has reached maximum number (S705).When the quantity of main PC had reached maximum number, CPU 101 was provided with and registers full scale will (S706), and finishes this processing (S707).
As mentioned above, when when main PC 2 receives " status information receive enable order ", the BD_ADDR address of main PC 2 is registered among the RAM 104 of printer 1.
It should be noted that in the process flow diagram of Fig. 7, the device that is registered does not change automatically, but represent with registering full scale will as the whether possible current state of this registration.Yet when the quantity of the device of registering reached maximum number, one in the record that is registered can be deleted, so that guarantee to be used for the registration zone of main PC in RAM 104, and registers the address of this main PC.In this case, this deletion can be carried out from the oldest start-of-record, perhaps according to carrying out from the minimum start-of-record of right of priority based on the right of priority that connects frequency etc.
Next, the device ID response that will be described in detail in reference to the process flow diagram of figure 8 during HCRP connects is handled and status information transmission processing.This processing is carried out according to the program that is stored among ROM 103 or the RAM 104 by the CPU101 of printer 1.
When main PC 2 will install ID request when sending to printer 1 according to being defined in the HCRP agreement on the control channel, the CPU 101 of printer 1 detects these requests (S802).Then, CPU 101 with the predetermined ID of this printer with by the registration complement mark of the processing setting shown in the process flow diagram of Fig. 6 and Fig. 7 with register that full scale will merges, and the information after will merging sends to main PC 2 (S803) as installing ID.
Next, the CPU 101 of printer 1 checks whether the BD_ADDR of the main PC 2 of this device of request ID has carried out registering (S804) by the processing shown in the process flow diagram of Fig. 3.When the BD_ADDR address of main PC 2 was not registered, CPU 101 judged whether the HCRP connection disconnects (S807), and when the HCRP connection had disconnected, this processing finished (S808).
When the BD_ADDR address of main PC 2 had been registered, the state of CPU 101 monitor printers (error condition, residue China ink amount, battery capacity etc.) (S805).When the state of printer had changed, the status information after will changing on the data channel sent to main PC 2 (S806).During connecting, H CRP repeats this processing (S807 and S808).
As mentioned above, printer 1 carries out device ID response and status information transmission.In the above description, device ID request is monitored by circular treatment, yet CPU can respond this device ID request by the Interrupt Process from protocol stack.
Next, will the structure of the printed driver of storing among the RAM 204 of main PC 2 be described.This printed driver is the software among the main PC 2, and its reception sends to printer 1 from common application's data and with print data.In addition, comprise the status information data that the printed driver analysis of what is called " status surveillance " application program of the state that is used for monitor printer 1 receives from printer 1, and the state of printer 1 is presented on the display device of main PC 2.In addition, printed driver judges based on the print.er port information of main PC 2 with about the information of the protocol stack installed whether main PC 2 can carry out the HCRP two-way communication.
Next, will describe the operation of the printed driver that the CPU 201 by main PC 2 carries out in detail with reference to the process flow diagram of figure 9.
Fig. 9 is the process flow diagram of flow process that the processing of the status surveillance application program that is included in the printed driver is shown.It should be noted, for the purpose of simplified illustration, in this process flow diagram, omitted and registered the processing of full scale will.
The status surveillance application program that is included in the printed driver starts (S901) by CPU 201 according to user instruction.When this status surveillance was activated, at first, can this status surveillance inspection be carried out based on the HCRP two-way communication (S902) that is installed in the bluetooth protocol stack among the main PC 2.In the time that the HCRP two-way communication can not be carried out,,, this processing do not carry out any processing (S913) so finishing owing to can not receive this status information from printer 1.
In addition, in the time carrying out the HCRP two-way communication, printed driver control radio communication I/F control section 202 is handled (S903) so that the bluetooth about printer 1 is connected, and carries out HCRP connection processing (S904) then.When having set up the HCRP connection, printed driver is asked the device ID from printer 1 on the HCRP control channel, and obtains device ID (S905).Next, whether the registration complement mark among the device ID that this printed driver inspection is obtained has been registered to (S906) in the printer 1 with the BD_ADDR address of judging main PC 2.When this BD_ADDR address was not registered, this printed driver sent to printer 1 (S907) with " status information receives and enables order ", thus with the BD_ADDR address registration of main PC 2 in printer 1.When the BD_ADDR address has been registered, the status information (S908) that sends from printer 1 after this printed driver receives.
When the state in printer 1 side did not change, because status information is not sent to main PC 2, main PC 2 sides are receiving status information not in fact.In this case, this printed driver is judged as the not change of state of printer 1.In addition, when receiving this status information, this printed driver is analyzed this information and the state of printer 1 is presented on the display device of main PC 2, thereby gives the user with the state notifying of printer 1.
Afterwards, disconnect HCRP connection processing (S909), disconnect bluetooth connection processing (S910) then.When user's input state monitored command for stopping, this printed driver stopped the operation (S913) of this status surveillance.In addition, if input instruction not, then printed driver is carried out sleep and is handled and lasting random time (S912), and repeats the status surveillance operation with monitor printer 1.
Next, will describe the flow process of the communication between the main PC 2 that printer 1 and BD_ADDR address be registered in detail with reference to the sequence chart of Figure 10.Figure 10 illustrates the flow process of the processing of the status surveillance application program that is included in the printed driver.
When starting the status surveillance application program that is included in the printed driver according to user's instruction on main PC 2, down leading at printed driver set up bluetooth and connects (S1001) between main PC 2 and printer 1.Next, set up HCRP and connect (S1002), and be used for the credit exchange of HCRP two-way communication.Main PC 2 presents to printer 1 (S1003) with the credit that status information receives, and printer 1 is presented to main PC 2 (S1004) with the credit that print data receives.
Next, main PC 2 will install the ID request and send to printer 1 (S1005) on control channel.Then, printer 1 dispensing device ID, wherein, the address that the main PC of expression is set has been registered to registration complement mark (S1006) in the printer 1.Main PC 2 checks out that this main PC is registered in the printer 1 as the device of energy receiving status information, and waiting status information.Because the address of main PC 2 is registered, thereby printer 1 sends to main PC 2 (S1007) with the status information of printer 1 on data channel.
On the other hand, when the printed driver on the main PC 2 receives status information from printer 1, printed driver is analyzed this information, and the state of printer 1 is presented on the display device of main PC 2, to give the user with the state notifying of printer 1.Afterwards, disconnect HCRP connection processing (S1008) and disconnection bluetooth connection processing (S1009).
As mentioned above, actuating unit ID obtains with status information and receives between main PC 2 and printer 1.
Can obviously find out from above embodiment, main PC needn't be when each communication all send state information obtain the state of order with monitor printer.In connecting first, main PC send state information receive enable order and with its BD_ADDR address registration in printer, obtain status information thus.Therefore, under the situation that USB connects, the state of printer can be handled by poll according to simple read operation and monitor.
In addition, can connect and the versatility (commonality) of the code of the printed driver among the main PC of realization during USB is connected in bluetooth.In addition, can prevent owing to status information from printer send to unintentionally can not receiving status information the inconvenience that causes of main PC.
In addition, enabling the taking in the printer that changes according to the data communication that comes autonomous PC of order and interface, because the communication of the main PC of monitor printer state do not appear on the data channel, so need not to change taking of interface.In this case, status information can send and interfere with communications not by other interface.
According to second embodiment, can provide a kind of system very easily that can between main equipment and imaging device, handle with the redundancy that reduces.
The all status information of transmitting monitoring imaging device state acquisition orders when for instance, main equipment needn't connect at every turn.In addition, can prevent owing to status information from printer send to unintentionally can not receiving status information the inconvenience that causes of main PC.
It should be noted that it is by taking the functional programs that realizes each processing from memory read and carrying out this program by CPU and realize that each shown in Fig. 2~Fig. 4 and Fig. 6~Fig. 9 handled.
In addition, the invention is not restricted to said structure, but Fig. 2 to Fig. 4 and Fig. 6 each all or part of function of handling extremely shown in Figure 9 can realize by special hardware.In addition, above-mentioned storer can be for example HDD, magneto-optic disk device, a flash memory of nonvolatile memory, and read-only storage medium is CD-ROM for example, the volatile memory except that RAM, the computer-readable medium of the combination by using these media, the perhaps recording medium that can write.
In addition, each shown in Fig. 2 to Fig. 4 and Fig. 6 to Fig. 9 handled can be by being used for realizing that each functional programs of handling is recorded in the computer-readable recording medium, be installed to this program in the computer system then and carry out this program and carry out.
It should be noted that above-mentioned " computer system " comprises OS and hardware, for example peripherals.More particularly, the present invention also comprises such situation: after the program that reads from storage medium is written in the storer that functional expansion unit provided that is inserted in the function expansion card the computing machine or is connected to computing machine, be included in CPU in this function expansion card or the unit etc. according to the instruction operating part of this program or all handle and realize the function of the foregoing description.
In addition, " computer-readable recording medium " is meant portable medium for example floppy disk, magneto-optic disk, ROM or CD-ROM, and perhaps memory storage for example is included in the hard disk in the computer system.In addition, " computer-readable recording medium " comprises the medium that program is kept predetermined period, for example by network such as the Internet or communication line such as telephone line convey program the time as the volatile memory (RAM) in the computer system of server or client computer.
In addition, said procedure can send to other computer system via the transmission ripple in transmitting medium or the transmitting medium from the computer system this program being remained on memory storage etc.It should be noted that " transmitting medium " is meant and comprises the medium with message sending function of network (communication network) as the Internet and communication line such as telephone line.
In addition, said procedure can be used to realize the part above-mentioned functions.In addition, this program can be a so-called differential file (difference file) (difference program), realizes above-mentioned functions by this program with the combining of program that is recorded in the computer system.
In addition, program product for example keeps the computer-readable recording medium of said procedure can be used as embodiments of the present invention.Said procedure, storage medium, transmitting medium and program product comprise within the scope of the invention.
Owing under the situation that does not break away from the spirit and scope of the present invention, can make a lot of visibly different embodiment of the present invention, therefore it should be understood that the present invention is not limited to specific embodiment except definition in appended claims.

Claims (20)

1. print system is used for print data is sent to imaging device and prints from main equipment by radio data channels,
Wherein, described main equipment comprises:
Coupling arrangement is used for described main equipment is connected to described imaging device;
Judgment means is used to judge whether to carry out the two-way communication by radio data channels; And
First dispensing device if can carry out described two-way communication, then will represent that by described radio data channels the information that can carry out described two-way communication sends to described imaging device,
Wherein, described imaging device comprises:
Receiving trap is used for when described imaging device is connected to described main equipment, receives the information that expression can be carried out described two-way communication by described radio data channels;
Calling mechanism is used to register and has sent the identification information of described main equipment that expression can be carried out the information of described two-way communication; And
Second dispensing device is used for when described imaging device is connected to the described main equipment that described calling mechanism registers, and sends the status information of the state of the described imaging device of expression automatically by described radio data channels.
2. print system according to claim 1, it is characterized in that, also comprise as lower device: this device is used for adding in the device id information by the information of imaging device as described in whether the identification information of main equipment is registered to as described in expression, and the main equipment that is connected to described imaging device is notified.
3. print system according to claim 1 is characterized in that, also comprises as lower device: judge whether that according to identification information as described in the imaging device as described in being registered in the main equipment of two-way communication connects as described in can carry out.
4. print system according to claim 1, it is characterized in that, can carry out two-way communication by described radio data channels even judge described main equipment, when described main equipment was registered in the described imaging device, described first dispensing device did not send the information that expression can be carried out described two-way communication.
5. print system according to claim 1 is characterized in that, when the identification information of the main equipment of maximum quantity was registered in the described imaging device, the information setting that expression can not be registered was in the device id information.
6. an imaging device is connected to main equipment by using Bluetooth communication, and this imaging device comprises:
Receiving trap is used for receiving the information that this main equipment of expression can receive the status information of described imaging device by radio data channels when described imaging device is connected to described main equipment by predetermined bluetooth connection protocol subclass;
Calling mechanism is used to register the main equipment that has sent described information; And
First dispensing device is used for sending described status information automatically by described radio data channels when described imaging device is connected to the described main equipment that described calling mechanism registers by described predetermined connection protocol subclass.
7. imaging device according to claim 6 is characterized in that, also comprises:
Recognition device is used to discern the connection protocol subclass that is used to connect main equipment;
Judgment means is used for based on judging by the connection protocol subclass of described recognition device identification whether described main equipment is registered by described calling mechanism; And
Updating device is used for upgrading the information that sends to described main equipment when described judgment means is judged described main equipment and registered by described calling mechanism.
8. imaging device according to claim 6 is characterized in that, also comprises monitoring arrangement, and this monitoring arrangement is used to monitor the change of the state of described imaging device,
Wherein, described first dispensing device sends described status information according to the supervision result of described monitoring arrangement.
9. imaging device according to claim 6 is characterized in that, also comprises second dispensing device, and this second dispensing device is used to send the information that the described main equipment of expression is registered, with the request of response from described main equipment.
10. imaging device according to claim 6 is characterized in that described calling mechanism is registered the bluetooth device address of described main equipment.
11. a main equipment is connected to imaging device by using Bluetooth communication, this main equipment comprises:
Coupling arrangement is used for by predetermined bluetooth connection protocol subclass described main equipment being connected to described imaging device;
Judgment means is used for judging based on the information of the imaging device that comes free described coupling arrangement to connect whether described main equipment is registered to described imaging device; And
Dispensing device, be used for when described judgment means is judged described main equipment and is not registered to described imaging device, send the information that is used for described main equipment is registered to as the main equipment that can obtain the status information of described imaging device described imaging device by radio data channels.
12. main equipment according to claim 11 is characterized in that, also comprises treating apparatus, this treating apparatus is used to obtain the described status information that sends from described imaging device and carries out predetermined process.
13. an imaging device comprises:
Receiving trap is used for when described imaging device is connected to main equipment, receives the information that the described main equipment of expression can receive the status information of described imaging device by radio data channels;
Calling mechanism is used to register the main equipment that can obtain the status information of described imaging device;
Judgment means is used to judge whether the described main equipment that is connected to described imaging device is registered by described calling mechanism; And
Notifying device is used for when described judgment means is judged described main equipment and registered by described calling mechanism, gives this main equipment by described radio data channels with the state information notification of described imaging device.
14. imaging device according to claim 13 is characterized in that, also comprises dispensing device, this dispensing device is used to send the information that main equipment that expression is connected to described imaging device is registered by described calling mechanism.
15. imaging device according to claim 13 is characterized in that, described notifying device is notified described status information based on the change of the state of described imaging device.
16. imaging device according to claim 13 is characterized in that, described imaging device is connected to main equipment by radio communication by link.
17. a main equipment is connected to imaging device, this main equipment comprises:
Coupling arrangement is used for described main equipment is connected to described imaging device;
Judgment means is used for judging by utilizing radio data channels and described imaging device to communicate whether described main equipment is registered in the described imaging device; And
Dispensing device, be used for when described judgment means is judged described main equipment and is not registered to described imaging device, send the information that is used for described main equipment is registered to as the main equipment that can obtain status information described imaging device by described radio data channels.
18. a Method of printing is used for by radio data channels print data being sent to imaging device and printing from main equipment, this Method of printing comprises:
Determining step is used for judging at described main equipment whether to carry out two-way communication by described radio data channels;
Forwarding step if can carry out described two-way communication, then will represent that by described radio data channels the information that can carry out described two-way communication sends to described imaging device; And
Register step is used to register and has sent the identification information of described main equipment that expression can be carried out the information of described two-way communication.
19. the control method of an imaging device comprises:
Determining step is used for judging whether the main equipment that is connected to described imaging device is registered to described imaging device; And
Notifying process is used for when described determining step is judged described main equipment and has been registered, gives this main equipment by radio data channels with the state information notification of described imaging device.
20. the control method of a main equipment, this main equipment is connected to imaging device, and this control method comprises:
Determining step is used for judging by utilizing radio data channels and described imaging device to communicate whether described main equipment is registered in the described imaging device; And
Forwarding step, be used for when described determining step is judged described main equipment and is not registered to described imaging device, send the information that is used for described main equipment is registered to as the main equipment that can obtain status information described imaging device by described radio data channels.
CNB2005101241612A 2004-11-26 2005-11-25 Print system and printing method Expired - Fee Related CN100394377C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2004342250 2004-11-26
JP2004342250A JP4438068B2 (en) 2004-11-26 2004-11-26 Image forming apparatus and host apparatus connected to image forming apparatus
JP2004363377 2004-12-15

Publications (2)

Publication Number Publication Date
CN1782980A CN1782980A (en) 2006-06-07
CN100394377C true CN100394377C (en) 2008-06-11

Family

ID=36633292

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101241612A Expired - Fee Related CN100394377C (en) 2004-11-26 2005-11-25 Print system and printing method

Country Status (2)

Country Link
JP (1) JP4438068B2 (en)
CN (1) CN100394377C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4818167B2 (en) * 2007-03-13 2011-11-16 株式会社リコー COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM, COMMUNICATION SYSTEM, AND MONITORING DEVICE
JP5009428B2 (en) * 2011-06-06 2012-08-22 株式会社リコー COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM, COMMUNICATION SYSTEM, AND MONITORING DEVICE
JP6011266B2 (en) * 2012-11-19 2016-10-19 ブラザー工業株式会社 Communication relay program, communication relay method, information processing apparatus, and image processing apparatus
JP6155607B2 (en) 2012-11-19 2017-07-05 ブラザー工業株式会社 Communication relay program and communication relay device
JP6546372B2 (en) * 2014-01-27 2019-07-17 ブラザー工業株式会社 Wireless communication device
JP6405957B2 (en) 2014-12-04 2018-10-17 セイコーエプソン株式会社 Printing apparatus, printing system, and printing apparatus control method
JP6435821B2 (en) 2014-12-04 2018-12-12 セイコーエプソン株式会社 Printing apparatus, printing system, and printing apparatus control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362831A (en) * 2001-01-02 2002-08-07 吴世钧 Portable hand-held facsimile equipment
JP2004050726A (en) * 2002-07-23 2004-02-19 Canon Inc Image processor
CN2612165Y (en) * 2003-05-12 2004-04-14 上海力保科技有限公司 Highway deposit machine utilizing radio network remote monitoring way

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362831A (en) * 2001-01-02 2002-08-07 吴世钧 Portable hand-held facsimile equipment
JP2004050726A (en) * 2002-07-23 2004-02-19 Canon Inc Image processor
CN2612165Y (en) * 2003-05-12 2004-04-14 上海力保科技有限公司 Highway deposit machine utilizing radio network remote monitoring way

Also Published As

Publication number Publication date
CN1782980A (en) 2006-06-07
JP2006155036A (en) 2006-06-15
JP4438068B2 (en) 2010-03-24

Similar Documents

Publication Publication Date Title
CN100394377C (en) Print system and printing method
EP1679836A2 (en) Print system and printing method using Bluetooth HCRP
CN1835441B (en) Communication apparatus and its control method
JP4681960B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, AND COMPUTER PROGRAM
JP3925208B2 (en) Data output system, output control terminal, terminal program, and data output method
US8693999B2 (en) Communication apparatus, maintenance system, maintenance method and computer program
CN104025011A (en) Authenticating printers prior to pairing with portable electronic devices
US20140002862A1 (en) Communication apparatus, printing apparatus, printing system including said communication apparatus and printing apparatus, and method of controlling same
JP4932324B2 (en) Operation request receiving apparatus, program, recording medium, operation request receiving apparatus control method, communication system, and communication system operation method
CN105335107A (en) Information transmission system and method for transmitting information
JP2007193407A (en) Printing system and printer
CN101630964B (en) Image forming system, image forming apparatus, information processing apparatus and control method thereof
US20080002219A1 (en) Printer to display job request information via bluetooth and a method of displaying job request information in the printer
US8171149B2 (en) Communication system, terminal device, and method of controlling terminal devices in communication system
JP2006054577A (en) Wireless network system, wireless communication apparatus, and connection setting method
CN112579011A (en) Printing apparatus
US10440202B2 (en) Information processing apparatus and communication system
JP6226694B2 (en) Information processing apparatus, control method therefor, and program
CN103581478A (en) Image forming system and image forming method
JP4437782B2 (en) Image forming apparatus and printing system
JP2006123239A (en) Print system by printer, printer, wireless terminal
JP2008060668A (en) Communication protocol conversion system, communication protocol conversion method, and communication protocol conversion cradle
JP4314187B2 (en) Printer system, printing method, host PC, information processing method, and program
KR20070051032A (en) Apparatus for forming image and method for forming image
JP2003114772A (en) Printing system, and printing method

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080611

Termination date: 20161125