Printing device, control method and program

By controlling the notification of URL path information based on successful image icon data upload, the mechanism optimizes communication resources and reduces search time in cloud print systems, addressing issues of failed uploads and inefficient communication in cloud print systems.

JP2024114135APending Publication Date: 2024-08-23CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023019679
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The upload of image icon data to a storage server may fail due to capacity limits or temporary server errors, leading to wasted communication resources and increased search time for printers in cloud print systems.

Method used

A mechanism is implemented in the printing device to determine and control the notification of URL path information only after successful image icon data upload, preventing unnecessary communication and reducing search time by ensuring the client terminal accesses the storage server only when the data is successfully stored.

Benefits of technology

This approach prevents wasteful communication and reduces the time required for printer search by ensuring the client terminal accesses the storage server only when the image icon data is successfully uploaded, optimizing communication bandwidth and user efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114135000001_ABST
    Figure 2024114135000001_ABST
Patent Text Reader

Abstract

To reduce communication loads generated accompanying transmission and reception of icon image data on a printing device, in printing via a cloud print service.SOLUTION: A client terminal obtaining information on a capability of a printing device via a cloud print service transmits a request for obtaining image icon data to an icon data storage server, when path information storing the image icon data is included in the information.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a printing device, a control method, and a program that cooperate with a printing service via the Internet. [Background technology]

[0002] In recent years, cloud print service mechanisms that allow print jobs to be submitted via the cloud and sent to a printing device are beginning to become popular (Patent Document 1). In such printing systems, an administrator first registers a printing device to the cloud print service (hereinafter also referred to as a print service or CPS) to which the administrator belongs. After that, users who are permitted to use the CPS use their respective client terminals to select a printer registered in the CPS as the output printer, configure the desired print settings, and send a print job to the CPS. The CPS that receives the print job transfers the print job to the printing device. The printing device executes printing based on the transferred print job.

[0003] These cloud printing mechanisms are specified in PWG5100.13, PWG5100.18, RFC3995, and RFC3996, among others, and define a printing protocol called IPP (Internet Printing Protocol). These standards stipulate technology that uses IPP, and the printing device acquires the CPS and the URL of the server that stores the printing device's image icon data. The printing device uploads the printing device's image icon data to the acquired icon data storage server, and notifies the CPS of the stored URL path information. The client terminal acquires the URL path information from the CPS and acquires the image icon data from the icon data storage server, making it easier for users to identify the printer when searching for a printer. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2012-133489 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, when a printing device uploads image icon data to a storage server, the upload may fail. For example, the upload may fail when the icon data storage server reaches its maximum data capacity or due to a temporary internal server error. Even if the upload fails in this way, the printing device notifies the CPS of URL path information, and the client terminal sends an acquisition request to that URL, but the image icon data is not saved, so the acquisition fails. Because communication occurs between the client terminal and the icon data storage server, there is an issue of unnecessary consumption of communication traffic and communication bandwidth.

[0006] Furthermore, the time required for performing unnecessary communications is added to the time required for searching for and adding a printer, resulting in an unnecessary increase in the time required for the user to perform the tasks.

[0007] The present invention has been made in consideration of the above problems. One aspect of the present invention aims to provide a mechanism for a printing device to determine and control whether or not to notify a CPS of stored URL path information depending on the success of image icon data. [Means for solving the problem]

[0008] In order to achieve the above-mentioned object, the printing device of the present invention is a printing device capable of communicating via the Internet with a print service that registers the printing device in response to receiving a registration request for the printing device, and provides a print job to the printing device in response to receiving a print instruction to the registered printing device, and is characterized in having a receiving means for receiving storage information for saving icon image data of the printing device from the print service, a storage means for storing the icon image data of the printing device based on the storage information, and a notification means for notifying the print service of the capability information of the printing device, the capability information including path information of the stored icon image data of the printing device when notifying the print service of the capability information of the printing device. Effect of the Invention

[0009] According to one aspect of the present invention, when the image icon data is successfully uploaded, the printing device notifies the CPS of the storage path URL information. Therefore, the client terminal does not needlessly access the storage server, and it is possible to prevent unnecessary communication traffic, communication band, and time required for printer search, etc. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 illustrates an example of a printing system. [Diagram 2] FIG. 11 is a sequence diagram illustrating an example of image icon data transmission by a printing device. [Diagram 3] 13 is an example of an operation screen of a client terminal that has acquired image icon data. [Figure 4] FIG. 2 illustrates an example of a hardware configuration of a printing apparatus. [Diagram 5] 5 is a flowchart showing an example of control of the printing apparatus according to the first embodiment. [Figure 6] 11 is an example of a registration packet for registering a printing device. [Figure 7] 13 is an example of a packet for acquiring capability information of a cloud print service. [Figure 8]13 is an example of a packet for uploading image icon data. [Figure 9] 13 is an example of a packet for notifying a cloud print service of its capabilities. [Figure 10] 13 is an example of a packet for acquiring capability information of a printing device registered in a cloud print service. [Figure 11] 13 is an example of a packet for acquiring image icon data. [Figure 12] 10 is a flowchart showing an example of control of a printing apparatus according to a second embodiment. [Figure 13] 13 is an example of image icon data held by a printing device in the second embodiment. [Figure 14] 13 is an example of a packet for uploading image icon data in the second embodiment. [Figure 15] 13 is an example of a packet for notifying a cloud print service of its capabilities in the second embodiment. [Figure 16] 13 is an example of a packet for acquiring capability information of a printing device registered in a cloud print service according to the second embodiment. [Figure 17] FIG. 2 illustrates an example of a hardware configuration of a server and a client. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, the embodiments for carrying out the present invention will be described with reference to the drawings. Note that the following embodiments do not limit the invention according to the claims, and all of the combinations of features described in the embodiments are not necessarily essential to the solution of the invention.

[0012] <First embodiment> First, the configuration of the printing system according to the present invention will be described with reference to FIG. 1. The printing system according to this embodiment includes a printing device 101, a client terminal 104, a cloud print service (hereinafter also referred to as a print service or CPS) 102, and an icon data storage server 103. The printing device 101 communicates with the CPS 102 and the icon data storage server 103 on the Internet via a network. The network 100 may be configured by combining, for example, a communication network such as a LAN or a WAN, a cellular network (e.g., LTE or 5G), a wireless network conforming to IEEE802.11, and the like. That is, the network 100 may be configured to be capable of transmitting and receiving data, and any communication method of the physical layer may be adopted. The client terminal 104 also communicates with the CPS 102 and the icon data storage server 103 on the Internet via a communication network or a cellular network. The CPS 102 and the icon data storage server 103 also communicate via a network.

[0013] The printing device 101 has a scanning function for externally transmitting data based on an image obtained by scanning using a scanner, a printing function for printing an image on a sheet such as paper based on a print job received from an external device, and a copy function. The printing device 101 can also receive a print job via the CPS 102 and perform printing. In this embodiment, an MFP (Multi Function Peripheral) having multiple functions is exemplified as an example of the printing device, but is not limited thereto. For example, a single-function SFP (Single Function Peripheral) having only a printing function may be used. In this embodiment, printing on a sheet such as paper is exemplified as an example, but is not limited thereto, and can also be applied to print control in 3D printing, which forms a three-dimensional object based on three-dimensional shape data.

[0014] Furthermore, the printing device 101 of this embodiment has a user management function. When the user management function is enabled as an operational setting of the printing device 101, the user authenticates himself / herself at the printing device, logs in to the printing device, and uses each function of the printing device (details will be described later). The printing device 101 also has a reservation printing function for the purpose of preventing a third party from taking it away and misprinting. The reservation printing function is a function in which, even if the printing device receives a print job, the printing device does not print the print job upon receiving the print job, but temporarily stores the print job in storage, and prints the print job upon a subsequent print instruction from the user. In the case of a printing device in which the reservation printing function is enabled, the printing device prints the user's print job after the user has successfully logged in.

[0015] The CPS 102 receives a print job from a client terminal such as the client terminal 104, and stores the print job. It then notifies the printing device 101 registered in the CPS 102 that the print job has been submitted. Upon receiving the notification, the printing device 101 acquires the print job and temporarily stores it in storage. After a user logs in to the printing device 101, the print job stored in the printing device 101 is printed in response to the acceptance of an operation to start printing.

[0016] Icon data storage server 103 stores image icon data (hereinafter simply referred to as icon) that represents the appearance of printing device 101. The stored icon is provided from printing device 101 to the icon data storage server. When icon data storage server 103 stores the icon, it provides URL information, which is a storage path for providing the icon, to the printing device. Client terminal 104 can obtain the icon data based on the URL information (details will be described later). Note that, although in this embodiment CPS 102 and icon data storage server 103 are described as separate servers, this is not intended to limit the invention, and the effects of the present invention can also be obtained with a single server configuration equipped with the respective server functions.

[0017] Although the CPS 102 and the icon data storage server 103 are shown as being configured as a single server, since it is assumed that they will be deployed as a cloud service, they do not necessarily have to be configured as a single server, and are implemented as a system bundling multiple devices.

[0018] <Hardware Configuration of Printing Device 101> The hardware configuration of the printing device 101 in this embodiment will be described with reference to Fig. 4. Fig. 4 is a block diagram showing the hardware configuration of the printing device 101. The printing device 101 has a reading function for reading an image on a sheet, a file transmission function capable of transmitting the read image to an external communication device, and the like. It also has a printing function for printing an image on a sheet. It is also assumed to have a function for receiving a print job from the CPS 102 and printing it.

[0019] The control unit 110 including a central processing unit (CPU) 401 controls the overall operation of the printing device 101. The CPU 401 reads out a control program stored in a read only memory (ROM) 402 or storage 404, and performs various controls such as print control and read control. The ROM 402 stores a control program executable by the CPU 401. The random access memory (RAM) 403 is a main memory accessed by the CPU 401, and is used as a work area or a temporary storage area for expanding various control programs. The storage 404 stores print jobs, image data, various programs, and various setting information. In this way, the hardware such as the CPU 401, the ROM 402, the RAM 403, and the storage 404 constitute a so-called computer.

[0020] In the printing device 101 of this embodiment, one CPU 401 executes each process shown in the flowcharts described later using one memory (RAM 403), but other configurations are also possible. For example, each process shown in the flowcharts described later can be executed by cooperating with multiple processors, memories, and storages. Also, some of the processes can be executed using hardware circuits.

[0021] A printer I / F (interface) 407 connects a printer 411 (printer engine) and the control unit 110. The printing device 101 generates a print image and a print control command to be transferred to the printer 411 based on a print job. The printer 411 prints an image on a sheet fed from a paper feed cassette (not shown) based on the print image and print control command input via the printer I / F 407. The printing method may be an electrophotographic method in which toner is transferred to paper and fixed, or an inkjet method in which ink is ejected onto paper to print.

[0022] The scanner I / F 406 connects the scanner 410 and the control unit 110. The scanner 410 reads an original placed on an original table (not shown) and generates image data. The image data generated by the scanner 410 is printed by the printer 411, stored in the storage 404, or transmitted to an external device via the network I / F 408.

[0023] The operation unit I / F 405 connects the operation unit 409 and the control unit 110. The operation unit 409 is equipped with a liquid crystal display unit having a touch panel function, various hard keys, and the like. The operation unit 409 functions as a display unit that displays information to the user and a reception unit that receives instructions from the user. The CPU 401 cooperates with the operation unit 409 to control the display of information and the reception of user operations.

[0024] A network cable is connected to the network I / F 408, enabling communication with external devices on the network 100 or the Internet. In this embodiment, it is assumed that the network I / F 408 is a communication interface that performs wired communication compliant with Ethernet (registered trademark), but it is not limited thereto. For example, it may be a wireless communication interface compliant with the IEEE802.11 series. Also, both may be wireless communication interfaces. Further, it may be a communication interface that performs mobile communication such as 3G lines such as CDMA, 4G lines such as LTE, and 5G NR.

[0025] <Hardware configurations of the CPS 102, icon data storage server 103, and client terminal 104> FIG. 17 is a block diagram showing an outline of the hardware configurations of the CPS 102, icon data storage server 103, and client terminal 104. In FIG. 17, the CPU 701 directly or indirectly controls each device (such as ROM and RAM) connected by internal devices and executes a program for realizing the present invention. The ROM 702 stores the BIOS. The RAM (direct storage device) 703 is used as a work area of the CPU 701 and a primary storage area. The indirect storage device 704 is an HDD (hard disk drive) or SSD (solid state drive) in which the OS, applications, and software modules, which are basic software, are stored. The input device 705 includes a keyboard and a pointing device. As the output device 706, for example, a display is used. The network I / F 707 is an interface for connecting to a network. The configuration of the network I / F 707 may be a communication interface other than Ethernet connection, similar to the network I / F 408 described in FIG. 4.

[0026] <Printer registration and icon use> Next, a sequence related to icon registration in this embodiment will be described with reference to Fig. 2. Note that explanations of controls similar to those of the general sequence described with reference to Fig. 2 will be omitted as appropriate. Also, details of packets to be transmitted in this sequence that are not shown as examples will be described in detail later with reference to a separate drawing.

[0027] First, in order to use the cloud print service of this embodiment, the printing device 101 registers the printing device with the CPS 102. When a user operates the operation unit 409 of the printing device 101 to perform a cloud print service registration operation (not shown), the printing device 101 connects to the CPS 102 to be registered and transmits a registration request packet to request registration (S201). When registration is complete, the CPS 102 transmits a registration request response packet to respond to the registration request (S202).

[0028] Fig. 6 shows an example of an IPP packet transmitted in steps S201 and S202. Fig. 6(A) shows a registration request packet, which is transmitted together with operation information for requesting registration, "Operation: Register-Output-Device Request", and attribute information. The attribute information includes, for example, "Requested-attributes: manufacture="Canon" model="iR-ADV", manufacturer information, and model information. Fig. 6(B) shows a registration request response packet, which includes operation information, "Operation: Register-Output-Device Response", and status information, "Status Code: successful-ok". Furthermore, the registration request response packet includes, for example, identification information, "Attribute: Cloud-device-id="Occ23168-d681-49b4-bc22-ef704a024aff", as attribute information. The CPS 102 issues identification information of the registered device and transmits it as attribute information. Through the above processing, the printing device 101 is registered with the CPS 102 as a device compatible with the cloud print service.

[0029] Next, the printing device 101 transmits a capability acquisition request packet to the CPS 102 to inquire about capability information currently registered in the CPS 102 (S203). In response to the request in step S203, the CPS 102 transmits a capability acquisition response packet, which is capability information currently registered in the CPS 102, to the printing device 101 (S204). By the capability information inquiring process in steps S203 and S204, the printing device 101 can obtain URL information of a server in which an icon can be stored from the CPS 102. In response to the capability acquisition request, the CPS 102 issues URL information for storing an icon corresponding to the printing device 101. In this embodiment, the printing device 101 obtains URL information by making a capability acquisition request, but it may also obtain the information by a request other than capability acquisition. Note that the storage information of a server in which an icon can be stored is not limited to a URL, and may be any information that can identify a storage location.

[0030] Next, the printing device 101 transmits an image data upload request packet to the icon data storage server 103 based on the information acquired in step S204, requesting an update of the image data (S205). In response to the request from the printing device 101, the icon data storage server 103 returns the result of the icon storage status in an image data upload response packet (S206). Next, the printing device 101 transmits a capability notification request packet to the CPS 102, requesting an update of its own device's capability information, including the icon's URL information (S207). The CPS 102 transmits a capability notification request response packet as a response to the capability request from the printing device 101 (S208). If the series of sequences up to this point operates normally, the icon of the printing device 101 is stored in the icon data storage server 103, and the icon's URL information is registered in the CPS 102 as the printing device 101's capability information. The CPS 102 can register multiple printing devices, and the series of processes from step S201 to step S208 registers information of multiple printing devices in the CPS 102.

[0031] Meanwhile, client terminal 104 sends a capability get request packet to CPS 102 to get capability information of the registered printing device (S209). In response, CPS 102 sends capability information of printing device 101 including icon URL information by a capability get response packet (S210). Figure 10 shows an example of the IPP packet sent in steps S209 and S210. Figure 10(A) shows the capability get request packet sent by client terminal 104 to CPS 102 in step S209, with the request being made with "Operation:Get-Printer-Attribute-Request" as operation information. Furthermore, the capability get request packet sent includes printer icon information "Printer-icon" as requested attribute information.

[0032] Figures 10B and 10C show examples of a capability acquisition response packet transmitted by the CPS 102 in step S210. Figure 10B shows a packet when the CPS 102 responds successfully to the capability acquisition request packet and the resource storage path information of the icon exists. The resource storage path information is included in the attribute information and transmitted. Attributes: printer-icons=“https: / / print.microsoft.com / static-resource / Occ23168-d681-49b4-bc22-ef704a024aff / Printer-icon.png” 10C shows a packet in the case where the CPS 102 has successfully responded to the capability acquisition request packet and the resource storage path information of the icon does not exist. The attribute information here does not include the resource storage path information described in FIG. 10B.

[0033] 10B in step S210, the client terminal 104 receives the packet and obtains icon resource storage path information. The client terminal 104 accesses the icon data storage server 103 using the URL information of the icon of the printing device 101 obtained in step S210, and requests the icon using an image data acquisition request packet (S211). In response, the icon data storage server 103 transmits icon data to the client terminal 104 using an image data acquisition response packet (S212).

[0034] Figure 11 shows examples of packets transmitted and received between the client terminal 104 and the icon data storage server 103 in steps S211 and S212. Figure 11(A) shows an image data acquisition request packet that the client terminal 104 sends to request an icon of a printing terminal using a GET operation of HTTP (Hypertext Transfer Protocol). The capability information of the printing device 101 acquired in step S210 is used as a parameter of the GET operation. Protocol: HTTP GET / Printer-icon.png HTTP / 1.1 Host:https: / / print.microsoft.com / static-resource / Occ23168-d681-49b4-bc22-ef704a024aff The icon data storage server 103 responds by including the electronic image data of the icon in the image data acquisition response packet of Fig. 11(B) as an HTTP response, requesting the acquisition of image data. Through this series of processes, the client terminal 104 acquires the icon of the printing device 101. The client terminal 104 stores the icon in its own RAM 703 or indirect storage device 704, and the OS and applications of the client terminal 104 can use the icon to identify the printing device 101.

[0035] Fig. 3 is a diagram showing an example of a printing device selection screen in a printing application running on the client terminal 104. A user using the client terminal 104 launches the printing application to perform printing. To allow the user to select an available printing device, the printing application displays a list of available printing devices on the printing device selection screen in Fig. 3 together with icon images in Figs. 3(A), 3(B), and 3(C). Printing devices available to the printing application include those compatible with WSD (Web Service for Device) in addition to cloud print services, and local printing devices directly connected to the client terminal.

[0036] The OS of the client terminal 104 searches for printing devices that support each protocol, such as WSD in addition to the cloud print service, and acquires information about the devices detected by the search. If the printing devices 3A and 3C are devices that support the cloud print service, the print application displays the icons in Figures 3A and 3C using the icon data acquired in step S212 described above. For example, the printing device in Figure 3B is a printing device detected by the WSD protocol, and if the device information does not include an icon, the OS displays a generic icon for the printing device that it has prepared in advance.

[0037] As described above, by the print application displaying an icon of a printing device compatible with the cloud print service, the user can easily recognize the difference in appearance of the printing device he or she wishes to use. The icon of a printing device compatible with the cloud print service can also be used in the registration process of a printing device used by the OS or print application of the client terminal 104. By displaying the icon on a registration screen of the OS or the like, the user can easily identify the printing device he or she wishes to register by the icon.

[0038] <Icon registration process> Next, the control of the printing device 101 up to the point where the icon of the printing device 101 is updated for the CPS 102, which was explained in steps S203 to S208 in the sequence diagram of Fig. 2, will be described in detail using the flowchart of Fig. 5. Furthermore, examples of packets that are specifically communicated in the detailed explanation of each control will be described in detail using Figs.

[0039] 2, the printing device 101 starts a process of registering an icon for its own capability information when the registration to the cloud print service in the CPS 102 is completed. The effect of the present invention can be obtained by performing this icon registration process not only at the timing of the registration process to the cloud print service, but also when the printing device is powered on or a communication path with the server is established.

[0040] When the icon registration process is started, the printing device 101 sends a capabilities get request packet to the CPS 102 (S501) and receives a capabilities get request response packet sent from the CPS 102 (S502). Figure 7 shows an example of an IPP packet sent and received in the processes of steps S501 and S502. Figure 7(A) shows the capabilities get request packet requested by the printing device, which sends the operation information "Operation:Get-Printer-Attribute-Request" together with attribute information. The capabilities get request packet includes a request for URL information "Requested-attributes:printer-static-resource-directory-uri" where the icon is saved as attribute information.

[0041] Figures 7(B), 7(C), and 7(D) show examples of IPP capability get response packets that CPS 102 sends to printing device 101; CPS 102 changes the information included in the response packet depending on the server settings and device status. In addition to the operation information "Operation:Get-Printer-Attribute-Response," the capability get response packet also includes a status code indicating success / failure and attribute information as necessary. Figure 7(B) is an example of a packet when a resource storage path for storing an icon exists in CPS 102, and includes attribute information along with a status code "Status code:successful-ok" indicating success. The attribute information includes storage path information, which is URL information for storing the resource.

[0042] Attributes: printer-static-resource-directory-uri=“https: / / print.microsoft.com / static-resource / Occ23168-d681-49b4-bc22-ef704a024aff” Figure 7(C) shows an example of a capability acquisition response packet in which the capability acquisition request in CPS102 has been successful but the packet does not include resource storage path information. A status code indicating success is returned in the same manner as in Figure 7(B), but the attribute information does not include storage path information.

[0043] Status code:successful-ok Attributes: 7D is an example of a response packet when an operation in response to a capability acquisition request packet from the printing device 101 fails, and includes a status code "Status code: server-error-busy" indicating the failure and the reason for the failure. In this example, an error is shown because the server is busy, but a status code indicating another error may also be included.

[0044] In step S502, the printing device 101 analyzes the capability acquisition response packet received from the CPS 102 and judges whether the response was successful or unsuccessful based on the status code. If a packet containing a status code indicating failure is received as in FIG. 7D, the printing device 101 proceeds to step S509. If a status code indicating success is received in step S502 as in the cases of FIG. 7B and FIG. 7C, the printing device 101 proceeds to step S503. In step S503, the printing device 101 further judges whether storage path information is included in the received capability acquisition response packet. If storage path information is not included in the attribute information as in the case of FIG. 7C, the printing device 101 proceeds to step S509. If storage path information is included in the attribute information of the capability acquisition response packet as in the case of FIG. 7B, the printing device 101 proceeds to step S504.

[0045] In the processing of steps S504 and S505, the processing of steps S205 and S206 described in Fig. 2 is performed. In step S504, based on the storage path information included in the attribute information of the capability acquisition response packet received in step S502, the printing device 101 connects to the icon data storage server 103 and requests uploading of image data (S504). After that, in step S505, the printing device 101 receives a response to the upload request from the icon data storage server 103 (S505). Fig. 8 shows an example of an HTTP packet transmitted between the printing device 101 and the icon data storage server 103 in steps S504 and S505. Fig. 8(A) shows an image data upload request packet transmitted from the printing device 101 to the icon data storage server 103, and requests updating of the icon using an HTTP PUT operation.

[0046] Protocol: HTTP PUT / Printer-icon.png HTTP / 1.1 Host:https: / / print.microsoft.com / static-resourse / Occ23168-d681-49b4-bc22-ef704a024aff Content-type:png Content-length:100 <Image data> (The actual image data is attached and sent.) As described above, the image data upload request packet includes icon name information, format information, image data entity, etc. The icon data storage server 103 responds to the printing device 101 with an image data upload response packet regarding the success or failure of the image data update request, which varies depending on the settings and status of the device. Figure 8(B) is an example of a response packet when the icon update is successful, and the saved information is returned together with the HTTP success response.

[0047] Protocol: HTTP HTTP / 1.1 201 Created Content-Location: / Printer-icon.png FIG. 8C shows an example of a response packet when the icon update has failed, and is returned together with the reason for the failure.

[0048] Protocol: HTTP HTTP / 1.1 413 Payload Too Large The above response shows an example of an error response with an error code that exceeds a limit defined by the server, but a failure to update the icon can also be indicated by a response with an error code indicating another failure, such as "400 Bad Request".

[0049] The printing device 101 analyzes the image data upload response packet received in step S505, and if the update fails as shown in Figure 8 (C), proceeds to step S509, or if the update is successful as shown in Figure 8 (B), proceeds to step S506.

[0050] Next, the printing device 101 notifies the CPS 102 of its own capability information held by the CPS 102 that the icon image has been saved in the icon data storage server. In the case where the icon data update to the icon data storage server 103 was successful in step S506, the printing device 101 includes image data storage path information in the attribute information to be notified and proceeds to step S507. On the other hand, in the case where the icon data update to the icon data storage server 103 was unsuccessful in step S509, the printing device 101 does not include image data storage path information in the attribute information to be notified and proceeds to step S507. In step S507, the printing device 101 updates the capability information by sending a capability notification request packet to the CPS 102 and proceeds to step S508. In step S508, the printing device 101 receives a capability notification request response packet from the CPS 102 and exits the icon registration process.

[0051] Fig. 9 shows an example of an IPP packet transmitted and received in steps S507 and S508. Fig. 9(A) shows a capability notification request packet in the case where the printing device 101 includes an image data storage path in the attribute information in step S506. This capability notification request packet includes image data path information in which icon image data is stored as the requested attribute information. Operation:Update-Output-Device-Attributes Request Requested-attributes: (Omitted) printer-icons=“https: / / print.microsoft.com / static-resourse / Occ23168-d681-49b4-bc22-ef704a024aff / Printer-icon.png” Fig. 9B shows a capability notification request packet in the case where the printing device 101 does not include an image data storage path in the attribute information in step S509. This capability notification request packet does not include the image data path information described in Fig. 9A. Therefore, new icon image data of the printing device 101 is not added, and image data is not updated.

[0052] FIG. 9C shows a capability notification request response packet that the printing device 101 receives from the CPS 102, which includes a successful status code in addition to the operation information "Operation: Update-Output-Device-Attributes Response."

[0053] By carrying out the above-described icon registration process, it is possible to configure printing device capability information that includes image data path information if the image data storage path specified by CPS 102 is successful, and does not include image data path information if the process is unsuccessful.

[0054] According to the configuration of this capability information, CPS 102 transmits the capability acquisition response packet described in step S210 of Fig. 2. That is, in response to the capability acquisition request packet from client terminal 104, CPS 102 responds with 10(B) of Fig. 10 including storage path information in a configuration including image data path information, and returns a capability acquisition response packet in Fig. 10(C) if storage path information is not included. Furthermore, when client terminal 104 receives the response of Fig. 10(B), it can access icon data storage server 103 and acquire icons in steps S211 and S212 of Fig. 2. Although HTTP and IPP have been given as examples of packet protocols described above, similar effects can be obtained by using other communication protocols such as FTP (File Transfer Protocol).

[0055] The above procedure makes it possible to include the storage path information of the attribute information of the printing device depending on whether the icon of the printing device in the cloud print service has been saved. A client terminal that uses the icon of the printing device can prevent unnecessary access to obtain the icon by referring to the attribute information.

[0056] <Second embodiment> In the first embodiment, a configuration was described in which the CPS 102 includes storage data path information for the icons of the printing device 101. In this embodiment, a case will be described in which the printing device 101 holds multiple icons. FIG. 13 is a diagram showing examples of icons held by the printing device 101. The printing device 101 holds icons with different resolutions and data capacities according to the needs of the user. Each icon has a different resolution, with the width and height both being 48 pixels in FIG. 13(A), 128 pixels in FIG. 13(B), and 512 pixels in FIG. 13(C), and at the same time, the data capacity of each icon increases as the image resolution increases.

[0057] FIG. 12 is a flow diagram showing the icon registration process from the printing device 101 to the CPS 102 in this embodiment, and a description of the same processes as those described in FIG. 5 of the first embodiment will be omitted.

[0058] When the icon registration process is started, the printing device checks with the CPS 102 whether resource storage path information is included (S1201, S1202, S1203), similar to steps S501, S502, and S503 in Fig. 5. If the process fails in step S1202, or if it is confirmed in S1203 that resource storage path information is not included, the process proceeds to step S1212.

[0059] When the printing device 101 confirms in step S1203 that the CPS 102 contains path information for storing resources, the process proceeds to step S1204, where it transmits an image data upload request packet to the CPS 102 to execute image data upload. The printing device 101 then receives an image data upload response packet from the CPS 102 (S1205), saves the response result (S1206), and proceeds to step S1207. In order to upload multiple icons held by the printing device 101 to the icon data storage server 103, the printing device 101 checks whether there is any other icon data that has not been uploaded (S1207). If the result of the check shows that there are more icons to upload, the process returns to step S1204, and if there are no icons to upload, the process proceeds to step S1208.

[0060] In step S1208, the result of the image data upload saved in step S1206 is referenced to check whether any of the multiple icon data has been successfully uploaded. If the check results in a successful upload of any of the icon data, the process proceeds to step S1209, and if no uploads have been successful, the process proceeds to step S1212. Step S1209 is the same as step S506 described in FIG. 5, and step S1212 is the same as step S509, so a description thereof will be omitted.

[0061] When the processes of steps S1209 and S1212 are completed, the process proceeds to step S1210 and then to step S1211, where the icon registration process is terminated. The processes of steps S1210 and S1211 are the same as the processes of steps S507 and S508 described with reference to FIG. 5, and therefore a description thereof will be omitted.

[0062] Figure 14 shows an example of an HTTP packet transmitted by the printing device 101 in step S1204. Figures 14(A), 14(B), and 14(C) are image data upload request packets for transmitting icons of different sizes stored by the printing device 101, and correspond to the icons of Figures 13(A), 13(B), and 13(C) described in Figure 13, respectively. For example, when transmitting the small-sized icon of Figure 13(A), the request packet of Figure 14(A) is transmitted using an HTTP PUT operation, including image data, and includes the icon name, storage path information, image format, file size, etc. Protocol: HTTP PUT / Printer-icon-small.png HTTP / 1.1 Host:https: / / print.microsoft.com / static-resource / Occ23168-d681-49b4-bc22-ef704a024aff Content-type:png Content-length:8192 <Image data> (omitted) Similarly, when sending the medium-sized icon in Fig. 13(B), send the image data upload request packet in Fig. 14(B), and when sending the large-sized icon in Fig. 13(C), send the image data upload request packet in Fig. 14(C). The packet configurations in Fig. 14(B) and Fig. 14(C) are the same as Fig. 14(A) except for the image data, file name, and file size, so their explanations will be omitted.

[0063] Figure 15 shows an example of an IPP packet that the printing device 101 generates in step S1209 and transmits in S1210. The printing device 101 attempts to upload multiple icons to the icon data storage server 103 by the processes of steps S1204 to S1207, and registers the successfully uploaded icons in the CPS 102. Figure 15(A) shows a capability notification packet when large, medium, and small size icons have all been uploaded, and the icon URL information "printer-icons" in the attribute information includes acquisition path information for the three icon information.

[0064] Similarly, Fig. 15(B) is a capability notification packet when two icons, a medium and a small size, are uploaded, and the icon URL information in the attribute information includes the acquisition path information for the two icons. Fig. 15(C) is a capability notification request packet when only a small icon is uploaded, and similarly, the icon URL information in the attribute information includes the acquisition path information for one icon.

[0065] Fig. 16 shows an example of an IPP packet that the CPS 102 responds to the client terminal 104 in step S210 in response to the capability acquisition request (S209) from the client terminal 104 described in Fig. 2. Fig. 16(A) is a capability acquisition response packet in the case where three icons, large, medium, and small, are registered in the CPS 102 according to Fig. 15(A) described in Fig. 15, and the icon URL information "printer-icons" in the attribute information includes acquisition path information for the three icons. Similarly, Fig. 16(B) and Fig. 16(C) are capability acquisition response packets in the case where icons of the patterns in Fig. 15(B) and Fig. 15(C), respectively, are registered in the CPS 102, and the icon URL information in the attribute information includes two or one icon acquisition path information stored in the icon data storage server 103. The client terminal 104 that receives these capability acquisition response packets can refer to the icon URL information in the attribute information and acquire appropriate icon data according to the intended use.

[0066] As described above, in a system configuration in which a printing device stores multiple icons in an icon data storage server, a client terminal can obtain only the icons stored in the icon data storage server via the CPS.

[0067] <Other embodiments> The present invention can also be realized by supplying a program that realizes one or more functions of each of the above-mentioned embodiments to a system or device via a network or a storage medium, and having one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC or FPGA) that realizes one or more functions. [Explanation of symbols]

[0068] 101 Printing device 102 Cloud Print Service 103 Icon data storage server 104 Client terminals

Claims

1. A printing device capable of communicating with a print service via the Internet, the print service registering the printing device in response to receiving a registration request for the printing device, and providing a print job to the printing device in response to receiving a print instruction for the registered printing device, a receiving means for receiving storage information for storing icon image data of the printing device from the print service; a storage means for storing icon image data of the printing device based on the storage information; a notification means for notifying the print service of the capability information of the printing device, the notification means including path information of the stored icon image data of the printing device; A printing device having the above configuration.

2. the receiving means receives the stored information by requesting the stored information from the printing device; The printing device according to claim 1, characterized in that, when the receiving means is unable to receive the storage information even after a request for the storage information is sent from the printing device, the notification means notifies capability information that does not include the path information.

3. The printing device according to claim 1 or 2, characterized in that the notification means notifies capability information that does not include the path information if the storage means fails to store the icon image data of the printing device even if the receiving means receives the storage information.

4. 4. The printing device according to claim 1, wherein the capability information of the printing device notified by the notifying means includes at least one piece of model information of the printing device.

5. 5. The printing apparatus according to claim 1, wherein the notification of the capability of the printing apparatus by the notification means and the reception of the print job utilize IPP (Internet Printing Protocol).

6. 6. The printing device according to claim 1, wherein after the printing device is registered, the printing device requests the stored information by transmitting a capability notification request packet of the printing device.

7. the storage means stores a plurality of icon image data of the printing device; 7. The printing device according to claim 1, wherein the notification unit notifies the capability information including acquisition paths for the plurality of stored icon image data.

8. A printing device as described in any one of claims 1 to 7, characterized in that the capability information of the printing device notified by the notification means is information provided to a printing application of a client terminal that sends a print instruction to the printing device, and the printing application displays a printing device selection screen based on the provided information.

9. A method for controlling a printing device capable of communicating with a print service via the Internet, the print service registering the printing device in response to receiving a registration request for the printing device, and providing a print job to the printing device in response to receiving a print instruction for the registered printing device, the method comprising: a receiving step of receiving storage information for storing icon image data of the printing device from the print service; a storing step of storing icon image data of the printing device based on the storage information; a notification step of notifying the print service of the capability information of the printing device, the notification step including path information of the stored icon image data of the printing device; A control method comprising:

10. A program for causing a printing device to execute the control method according to claim 9.

Citation Information

Patent Citations

  • Printing system, printing service device, service providing device, control method and program

    JP2012133489A