[go: up one dir, main page]

CN100552616C - Image source apparatus - Google Patents

Image source apparatus Download PDF

Info

Publication number
CN100552616C
CN100552616C CNB2007100058657A CN200710005865A CN100552616C CN 100552616 C CN100552616 C CN 100552616C CN B2007100058657 A CNB2007100058657 A CN B2007100058657A CN 200710005865 A CN200710005865 A CN 200710005865A CN 100552616 C CN100552616 C CN 100552616C
Authority
CN
China
Prior art keywords
printer
application program
driver
handling part
information
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
CNB2007100058657A
Other languages
Chinese (zh)
Other versions
CN101025675A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Publication of CN101025675A publication Critical patent/CN101025675A/en
Application granted granted Critical
Publication of CN100552616C publication Critical patent/CN100552616C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

提供一种即使在单任务OS中也能够可靠地动作的、用于直接打印的图像源装置。当即拍即打驱动器(51)从AP(53)收到初始化请求时(S11),向AP(53)通知初始化请求的收到通知(S12),而后,进行PTP初始化(S21)。然后,在PTP初始化处理结束后,取得打印机(3)的Capability,将其存储到存储部(55)(S27~S29)。进而,在即拍即打驱动器(51)从AP(53)收到Capability的取得命令时(S13),参照存储部(55)(S14),将与取得命令相关的项目的信息返回到AP53(S15)。

Figure 200710005865

To provide an image source device for direct printing that can reliably operate even on a single-task OS. When the point-and-shoot driver (51) receives the initialization request from the AP (53) (S11), it notifies the AP (53) of the receipt of the initialization request (S12), and then performs PTP initialization (S21). Then, after the PTP initialization process is completed, the Capability of the printer (3) is acquired and stored in the storage unit (55) (S27-S29). And then, when the snap-on driver (51) receives the Capability acquisition command (S13) from the AP (53), it refers to the storage unit (55) (S14), and returns the information of the item related to the acquisition command to the AP53 (S15) ).

Figure 200710005865

Description

Image source apparatus
Technical field
The present invention relates to utilize the host apparatus of the printer that under single task OS, moves to carry out the so-called technology of directly printing usefulness.
Background technology
Have a kind of digital camera etc. directly to be connected with printer, as image source apparatus view data is transported the so-called technology of directly printing that prints to printer with digital camera.The representative standard that should directly print is that promptly to clap be mark standard (PictBridge).
According to promptly clapping the mode of promptly beating when directly printing, obtain the indication that the specification relevant with the printing of printer is the ability (Capability) of printer if sent from upper application program, then i.e. bat is promptly beaten driver printer is sent the DPS_GetCapability order, obtain the ability (Capability) (for example, patent documentation 1) of printer.
Patent documentation 1:2005-88572 communique
But, in the method for patent documentation 1, because the Capability that receives from upper application program obtains order, promptly clap and promptly play driver execution DPS_GetCapability operation, so, be not notified to upper application program if the response of the DPS_ConfigurePrintService that should carry out before DPS_GetCapability is arranged, then obtaining order from the Capability of upper application program will can not be issued.That is, the response of DPS_ConfigurePrintService be not notified to upper application program during, upper application program continues to wait for this response.
And, the DPS_GetCapability order is the order that printer is repeatedly sent, receiving that the Capability from upper application program obtains order, promptly clap when promptly beating driver and sending this order, if there is not corresponding response with it, then ensuing Capability obtains order and can not be issued, and upper application program will continue to wait for this response.
When above-mentioned situation has taken place, when upper application program with promptly clap when promptly beating driver and will problem can not take place with other task action, but for example as single task OS, when in same task, moving, because upper application program can be occupied OS up to the response that has from printer always, so, can cause all processing of image source apparatus to stop.
Summary of the invention
The objective of the invention is to, though provide a kind of that in single task OS, also can move reliably, be used for the image source apparatus directly printed.
The image source apparatus that one embodiment of the present invention is related is carried out printer direct-connected with it and is printed, and wherein possesses: the application program handling part; Driver, it is based on the indication from described application program handling part, and standard according to the rules and described printer communicate, and print thereby described printer is carried out; And storage part.And, described driver is when described application program handling part is received initialization requests, notify it to receive described initialization requests to described application program handling part, carry out initialization process then according to the described initialization requests of receiving, after described initialization process finishes, receiving the obtaining before the indication of the information relevant with the specification of described printer from described application program handling part, obtain the information of a plurality of projects relevant with the specification of described printer from described printer, be stored to described storage part, described driver receive from described application program handling part any project described a plurality of project obtain order the time, do not communicate but the described storage part of reference with described printer, this information that obtains the related project of order is turned back to described application program handling part, when printer sends instruction, discharge OS at described driver.
Thus, shortened the time of application program handling part wait-for-response,, also may be limited in the stand-by period of in fact no problem degree even under the situation of moving under the single task OS.
In preferred embodiment, described driver is after described initialization process finishes, even without receive from described application program handling part described a plurality of projects any obtain order, also can send the request that obtains the information of described a plurality of projects from described printer.
Thus, when the application program handling part sends initialization requests, and received its notified after, when OS is in d/d state, driver can spontaneously send the request that obtains a plurality of projects relevant with the specification of printer from printer, and receives its response.At this moment, if discharge OS according to send the request of obtaining at every turn, even then in single task OS, a task can not occupied OS for a long time yet.
Other the related image source apparatus of embodiment of the present invention is carried out printer direct-connected with it and is printed, and wherein possesses: the application program handling part; Driver, it is based on the indication from described application program handling part, and standard according to the rules and described printer communicate, and print thereby described printer is carried out; And storage part, described driver is when described application program handling part is received initialization requests, notify it to receive described initialization requests to described application program handling part, carry out initialization process then according to the described initialization requests of receiving, after described initialization process finishes, when receive from described application program handling part first project a plurality of projects relevant with the specification of described printer obtain order the time, obtain the information of a plurality of projects that comprise described first project from described printer according to described standard, the information of described first project is turned back to described application program handling part, and the information stores to described first project of major general project in addition arrives described storage part, discharges OS at described driver when printer sends instruction.
In preferred embodiment, when the information of described a plurality of projects is stored in described storage part, receiving from described application program handling part under the situation that obtains order of second project, can be with reference to described storage part, the information of described second project is turned back to described application program handling part.
In preferred embodiment, contain the information of the more than one project in the described a plurality of projects of expression in the initialization requests from described application program handling part, described driver can be obtained the information of the more than one project that contains the described initialization requests from described printer.
In preferred embodiment, described standard is that promptly to clap be the mark standard, and described driver is promptly to clap promptly to beat driver.
In preferred embodiment, described application program handling part can output to the interface screen of regulation with the information of a plurality of projects relevant with the specification of obtained described printer.
Description of drawings
Fig. 1 is the pie graph of the related print system of an embodiment of the invention 1.
Fig. 2 is the figure of the communication sequence in this print system 1 of expression.
Fig. 3 is an example of user interface picture.
Fig. 4 is the figure of other communication sequences in this print system 1 of expression.
Fig. 5 is the figure of the basic picture of expression print setting.
Fig. 6 is the figure of the detailed picture of expression print setting.
Among the figure: the 1-print system, the 3-printer, 5-digital camera, the 7-communications cable, 51-are promptly clapped and are promptly beaten driver, 53-AP, 55-Capability storage part.
Embodiment
Below, with reference to accompanying drawing the related print system of one embodiment of the present invention is described.
Fig. 1 is the pie graph of the related print system of present embodiment 1.
This system 1 possesses printer 3 and digital camera 5, and both directly connect by the communications cable 7.And digital camera 5 becomes the image source apparatus that view data is provided to printer 3, and printer 3 is carried out and printed.
In the present embodiment, in printer 3, be equipped with usb host controller, in digital camera 5, be equipped with the USB device controller.Thus, printer 3 communicates by USB (Universal Serial Bus) with digital camera 5.
And, in the present embodiment, be that the mark standard is carried out image data transmission and following illustrated such information relevant with the specification of printer that exchanges according to promptly clapping.
The following illustrated formation and the function of digital camera 5 for example can realize by the computer program that computing machine with processor and storer is put rules into practice.
In addition, as image source apparatus, except digital camera, also can be other digital devices that the mobile phone, Photo Browser etc. of band camera store view data.
Fig. 2 is the figure of the communication sequence in this print system 1 of expression.
As shown in the drawing, possess in the digital camera 5: according to promptly clapping is that application program (AP) 53, the Capability storage part 55 of driver 51, regulation are promptly beaten in the accurate i.e. bat that communicates with printer 3 of mark.
And, promptly clap and promptly beat driver 51 according to carried out promptly clapping the initialization process of promptly beating from the indication of AP53 after, obtain the ability relevant information such as (Capability) that is had with printer 3 from printer 3.So-called ability (Capability) for example is can be by the printing image quality of printer prints, paper size, two-sided/single face etc.
At first, in step S11, with after digital camera 5 is connected, AP53 promptly beats driver 51 and sends promptly to clap and promptly beat initialization command promptly clapping at printer 3.In step S12, after bat in sight is promptly beaten driver 51 and received this order, return notified to AP53.
At this constantly, AP53 receives at after promptly the response of initialization command is promptly played in bat, temporarily ends task.That is, at this constantly, the OS of digital camera 5 has discharged the task of AP53.Therefore, even when digital camera 5 moves under single task OS, other tasks also can be moved.
In step S21, with notified turn back to AP53 after, promptly clap and promptly beat the initialize process that driver 51 is carried out PTP (Picture Transfer Protocol).
In step S23, PTP initialize process is and then promptly clapped and is promptly beaten driver 51 and will send the DPS_Configure-print-Service order, in step S24, receives this response from printer 3.
Then, if printer 3 is ordered the information of notifying the state that could print of expression printer with DPS_NotifyDeviceStatus in step S25, then in step S26, promptly clap and promptly beat driver 51 this is responded.
Here, in step S27, promptly clap and promptly beat driver 51 and do not wait for indication, and printer 3 is sent the DPS_GetCapability order from AP53.DPS_GetCapability order is the order that is used to obtain the relevant information of the ability (Capability) that had with printer 3.
In step S28, promptly clap and promptly beat driver 51 and obtain response from printer 3 at the DPS_GetCapability order.Promptly clap and promptly beat driver 51 project of ability (Capability) appointment, send the DPS_GetCapability order at printer 3.Then, as its response, obtain the information of specified project.Therefore, for the ability (Capability) that obtains a plurality of projects, i.e. bat is promptly beaten driver 51 and is specified obtained entry name respectively, repeatedly sends the DPS_GetCapability order.
In step S29, the information of the ability (Capability) that obtains from printer 3 is stored in the Capability storage part 55.
Thus, digital camera 5 can be obtained the information of ability (Capability) in advance from printer, it is remained in the Capability storer 55.
The information of ability (Capability) for example is: the print quality information of support (is printed default value, benchmark, high-quality etc.), paper size (is printed default value, A4, the L version, 4 * 6 etc.), the sheet type of using according to paper size (is printed default value, common paper, printing paper etc.), layout information according to paper size (is printed default value, do not have to cut apart non-flanged is arranged, two cut apart, four cut apart etc.), file type (is printed default value, Exif/JPEG, JPEG, GIF etc.), support information (the ON that the band date prints, OFF etc.), support information (the ON that filename is printed, OFF etc.), support information (the ON that the optimization of image is printed, OFF etc.), appointment will be fixed as the support information (A4 of the fixed measure printing of which kind of size with the image that paper size is differently printed, the L version, 4 * 6 etc.), and the support information (ON of image segmentation printing, OFF etc.) etc.
Here, the order that driver 51 is sent is promptly played in promptly clapping of step S23 and S27, promptly beats driver 51 and gives an order and end task by promptly clap at every turn.That is, give an order if driver 51 is promptly beaten in i.e. bat, then OS is released.Therefore, during wait-for-response, OS can handle other task.
Then, if AP53 has received promptly to clap and promptly beats after initialization command notified through the stipulated time in step S12, then AP53 promptly beats driver 51 and sends Capability and obtain order promptly clapping in step S13.Obtain in the order at this Capability, specify AP53 to wish the project that obtains.
Receive that the i.e. bat that Capability from AP53 obtains order promptly beats driver 51, in step S14, from obtaining in advance and keep reading the information of appointed project the Capability storage part 55 of information of appointed project, and in step S15, return this information to AP53.
AP53 sends Capability repeatedly at the project of needs and obtains order, promptly beats the information that driver 51 obtains necessity from promptly clapping.
Thus, owing to maintain the information of ability (Capability) in the Capability storage part 55 in digital camera 5 in advance, so, when AP53 receives that Capability obtains order, do not need again printer 3 to be conducted interviews.Therefore, AP53 can send after Capability obtains order, obtains the information of ability (Capability) with the extremely short time.Return response with the short time after obtaining order sending Capability, can also shorten the time that AP53 occupies OS,, also can in practicality, can move hardly with going wrong even in single task OS.
In addition, in step S11, also can clap shortly and promptly beat the project that comprises in the initialization command ability (Capability) and carry out specified message.At this moment, promptly clap driver 51 can be obtained the project of designated ability (Capability) from printer 3 the information of promptly beating, also can preferentially from printer 3, obtain the information of the project of designated ability (Capability), then, from printer 3, obtain the information of unappropriated project.
And AP53 can be shown to the information that obtains as described above user interface picture 100 shown in Figure 3.
Fig. 4 is the figure of other communication sequences in this print system 1 of expression.
Communication sequence shown in Figure 4 and the communication sequence of Fig. 2 have following difference.Promptly, its difference is: in the communication sequence of Fig. 2, and then the PTP initialize process 21, promptly clap and promptly beat driver 51 and do not wait for indication from AP53, and printer 3 is sent the DPS_GetCapability order, but in the communication sequence of Fig. 4, after PTP initialize process 201, promptly clap and promptly beat driver 51 after the indication that receives from AP53, send DPS_GetCapability order 207.Below, be that the center describes with this difference.
At first, in step S101, AP53 promptly beats driver 51 and sends promptly to clap and promptly beat initialization command promptly clapping, and bat in sight is promptly beaten driver 51 and received and return notified in step S102 to AP53 after this order.
Then, in step S201, promptly clap and promptly beat the initialize process that driver 51 is carried out PTP, subsequently, in step S203, i.e. bat is promptly beaten driver 51 and is sent the DPS_Configure_Print_Service order, and receives this response from printer 3 in step S204.And then, if printer 3 is ordered the information of notifying the state that could print of expression printer with DPS_NotifyDeviceStatus in step S205, then promptly clap and promptly beat driver 51 and in step S206, this is responded.
Under this state, i.e. bat is promptly beaten driver 51 and is in free time (IDLE) state, becomes the state that wait is ordered next time.At this moment, in step S103, AP53 sends Capability and obtains order, promptly beats driver 51 by i.e. bat and obtains.Obtain in the order at this Capability, at least one project is designated.
Here, in step S207, i.e. bat is promptly made 51 pairs of printers 3 of driver and is sent the DPS_GetCapability order, and obtains the corresponding with it response from printer 3 in step S208.The information of the ability (Capability) that obtains from printer 3 is stored in Capability storage part 55 in step S209.
At this moment, except being obtained by Capability the project of order appointment, i.e. bat is promptly beaten driver 51 and also all items outside it is sent the DPS_GetCapability order, obtains the information of projects, and it is stored in Capability storage part 55.That is, in the present embodiment, when receiving that from AP53 first Capability obtains order, i.e. bat is promptly beaten 51 pairs of project projects in addition by this order appointment of driver and is also obtained ability (Capability).
Then, after these obtain end, in step S104, from Capability storage part 55, read by Capability and obtain order and the information of the project of appointment, and in step S105, return to AP53 from AP53.
According to the processing sequence of present embodiment, also can access the effect identical with processing illustrated in fig. 2.
In addition, for the information that obtains the specified project of order by first Capability, also can not be stored in Capability storage part 55, and promptly beat driver 51 and return to AP53 from promptly clapping from AP53.That is, under this situation, make by first Capability and obtain the information stores of the project outside the specified project of order in Capability storage part 55.Therefore,, then promptly clap and promptly beat driver 51 and obtain this information, turn back to AP53 from Capability storage part 55 if obtain order for sending Capability after this from other the project of AP53.
In addition, as mentioned above, when receiving that first Capability obtains order, i.e. bat is promptly beaten driver 51 and has been obtained the ability of all items (Capability) in the lump, still, also can be divided into repeatedly and obtain.For example, can determine the project that will obtain according to the user interface picture of next one demonstration.
For example, consider following situation: have user interface picture (basic picture) 200 that essential information is shown shown in Figure 5 and the user interface picture (detailed picture) 300 that details are shown shown in Figure 6.At this moment, when basic picture 200 is shown in digital camera 5, obtain order if send the Capability that comprises the content that shows basic picture 200 from AP53, then promptly clap and (for example promptly beat 51 pairs of projects that this picture contained of driver, the print quality information of supporting, paper size, with the layout information of sheet type, file type, support) send DPS_GetCapability and order, and with obtained information stores in Capability storage part 55.Then, when in basic picture 200, having selected detailed setting button, when on digital camera 5, showing detailed picture 300, obtain order if send the Capability that comprises the content that shows detailed picture 300 from AP53, then promptly clap and (for example promptly beat 51 pairs of projects that this picture comprised of driver, the support information that the support information that the support information that filename is printed, the optimization of image are printed, fixed measure are printed, the support information of cutting apart printing of image) send the DPS_GetCapability order, and with obtained information stores in Capability storage part 55.
Above-mentioned embodiment of the present invention is to be used to illustrate example of the present invention, and its purport is not that scope of the present invention is defined in these embodiments.Those skilled in the art can implement the present invention with other variety of way in not breaking away from purport scope of the present invention.
For example, in the above-described embodiment, adopt promptly to clap and promptly beat the standard of directly printing as being used for, but the present invention is also applicable to the standard of promptly clapping outside promptly beating.

Claims (8)

1, a kind of image source apparatus is carried out printer direct-connected with it and is printed, and wherein possesses:
The application program handling part;
Driver, it is based on the indication from described application program handling part, and standard according to the rules and described printer communicate, and print thereby described printer is carried out; With
Storage part,
Described driver is when receiving initialization requests from described application program handling part; Notify it to receive described initialization requests to described application program handling part; Carry out then the initialization process according to the described initialization requests of receiving; After described initialization process finishes; Receiving the obtaining before the indication of the information relevant with the specification of described printer from described application program handling part; Obtain the information of a plurality of projects relevant with the specification of described printer from described printer; Be stored to described storage part
Described driver receive from described application program handling part any project described a plurality of project obtain order the time, do not communicate but the described storage part of reference with described printer, this information that obtains the related project of order is turned back to described application program handling part
When sending instruction, printer discharges OS at described driver.
2, image source apparatus according to claim 1 is characterized in that,
The information that contains the more than one project in the described a plurality of projects of expression in the initialization requests from described application program handling part,
Described driver is obtained the information of the more than one project that contains the described initialization requests from described printer.
3, image source apparatus according to claim 1 and 2 is characterized in that,
Described standard is that promptly to clap be the mark standard, and described driver is promptly to clap promptly to beat driver.
4, image source apparatus according to claim 1 and 2 is characterized in that,
Described application program handling part outputs to the information of obtained a plurality of projects relevant with specification described printer the interface screen of regulation.
5, a kind of image source apparatus is carried out printer direct-connected with it and is printed, and wherein possesses:
The application program handling part;
Driver, it is based on the indication from described application program handling part, and standard according to the rules and described printer communicate, and print thereby described printer is carried out; With
Storage part,
Described driver notifies it to receive described initialization requests when described application program handling part is received initialization requests to described application program handling part, carries out the initialization process according to the described initialization requests of receiving then,
Described driver is after described initialization process finishes, when receive from described application program handling part first project a plurality of projects relevant with the specification of described printer obtain order the time, obtain the information of a plurality of projects that comprise described first project from described printer, the information of described first project is turned back to described application program handling part, and the information stores to described first project of major general project in addition arrives described storage part
When sending instruction, printer discharges OS at described driver.
6, image source apparatus according to claim 5 is characterized in that,
When described storage portion stores has the information of described a plurality of projects, under the situation that obtains order of second project beyond described first project of receiving described storage portion stores from described application program handling part, do not communicate but with reference to described storage part, the information of described second project is turned back to described application program handling part with described printer.
7, according to claim 5 or 6 described image source apparatus, it is characterized in that,
Described standard is that promptly to clap be the mark standard, and described driver is promptly to clap promptly to beat driver.
8, according to claim 5 or 6 described image source apparatus, it is characterized in that,
Described application program handling part outputs to the information of obtained a plurality of projects relevant with specification described printer the interface screen of regulation.
CNB2007100058657A 2006-02-23 2007-02-25 Image source apparatus Expired - Fee Related CN100552616C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006046351 2006-02-23
JP2006046351 2006-02-23
JP2006314171 2006-11-21

Publications (2)

Publication Number Publication Date
CN101025675A CN101025675A (en) 2007-08-29
CN100552616C true CN100552616C (en) 2009-10-21

Family

ID=38744012

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100058657A Expired - Fee Related CN100552616C (en) 2006-02-23 2007-02-25 Image source apparatus

Country Status (1)

Country Link
CN (1) CN100552616C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5374056B2 (en) * 2008-02-26 2013-12-25 株式会社バッファロー Data management method

Also Published As

Publication number Publication date
CN101025675A (en) 2007-08-29

Similar Documents

Publication Publication Date Title
JP4827537B2 (en) Image processing apparatus and method for starting image processing apparatus
CN101989123A (en) Information processing apparatus and control program thereof
JP2008305018A (en) Information processing system, its information processor, and server device
JP2002142385A (en) Server device, network equipment, network system, and control method therefor
JP2007233637A (en) Multifunctional processor and control method therefor
JP2005094057A (en) Information communication apparatus and condition setting method
US8547573B2 (en) Image forming apparatus having a master-slave configuration and control method therefor, and control program for implementing the method
JP4867608B2 (en) Image source apparatus and information acquisition method from printer
JP2013190950A (en) Control device and start-up method
CN100552616C (en) Image source apparatus
JP4048705B2 (en) Image forming apparatus and method
JP5132451B2 (en) Image forming apparatus
JP4571455B2 (en) Image forming apparatus, information processing method, information processing program, recording medium, and distributed file system
JP5332923B2 (en) Image forming apparatus
JP6049781B2 (en) Image forming apparatus, control method, and program
JP2014164625A (en) Print system, program, activation device
JP2001356890A (en) Device for inputting picture and method for controlling the same and device for outputting picture and method for controlling the same and operating device and method for controlling the same and picture input/ output system and storage medium
JP7383538B2 (en) Image reading device, control method and control program
JP4428704B2 (en) Printing system
JP4602705B2 (en) Image forming apparatus, information processing method, information processing program, and recording medium
JP6032960B2 (en) Image processing apparatus, information processing method, and program
JP2001310507A (en) Image generation device and image generation method
JP4690660B2 (en) Card-type memory interface circuit
JP2001345971A (en) Device and method for image processing and storage medium
JP2013196575A (en) Information processing apparatus, control method of information processing apparatus and control program

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: 20091021

Termination date: 20210225