CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority under 35 U.S.C. § 119 from Japanese Patent Application No. 2020-062687 filed on Mar. 31, 2020. The entire subject matter of the application is incorporated herein by reference.

BACKGROUND

Technical Field

The present disclosures relate to an image scanning apparatus and a method for controlling an apparatus having a scanning device.

Related Art

There have been known image scanning apparatuses such as scanners and multifunction peripherals (MFPs) configured to scan images recorded on media, generate image data, and transmit the image data, via various communication paths such as local area networks (LAN) and universal serial bus (USB) cables, to any one of multiple terminal devices. In such a case, when an image scanner is equipped with a touch-panel type display, for example, the user can easily select a desired terminal device from the multiple terminal devices as a destination of the image data each time.

SUMMARY

However, in an image scanning apparatus that is not equipped with a display or other means enabling a user to select a terminal device, it is general that a web page provided by an embedded web server (EWS) in the image scanning apparatus is displayed on an external device, and the user can log in to the external device using an administrator ID and password to select the destination for the image data. As described above, it is not very convenient for users because of the complicated procedure of setting up the destination by using the embedded web server, such as entering ID and password. On the other hand, if a user can unconditionally change the destination of the image data, another user different from the user, who made the change, may not know about the change of the destination and may transmit the image data to a wrong destination.

According to aspects of the present disclosure, there is provided an image scanning apparatus, comprising a scanning device configured to scan an image on a medium and generate image data, a storage, a communication device, and a controller. The storage is configured to store candidate information regarding multiple destination candidates to which image data generated by the scanning device can be transmitted and assignment information used to assign a destination of the image data, the assignment information either designating one of the multiple destination candidates or designating none of the multiple destination candidates. The controller is configured to perform an assignment request receiving process of receiving, from a terminal device via the communication device, an assignment request requesting to assign one of the multiple destination candidates as a destination to which the image data is to be transmitted, and when the assignment request is received and the assignment information designates none of the multiple destination candidates, a first assignment information changing process of changing a state of the assignment information such that one of the multiple destination candidates is designated as the destination of the image data.

According to aspects of the present disclosure, there is provided a method for controlling an apparatus having a scanning device configured to scan an image on a medium and generate image data, a storage and a communication device. The storage is configured to store candidate information regarding multiple destination candidates to which image data generated by the scanning device can be transmitted and assignment information used to assign a destination of the image data, the assignment information either designating one of the multiple destination candidates or designating none of the multiple destination candidates. The method comprising an assignment request receiving process of receiving, from a terminal device via the communication device, an assignment request requesting to assign one of the multiple destination candidates as a destination to which the image data is to be transmitted, and when the assignment request is received and the assignment information designates none of the multiple destination candidates, a first assignment information changing process of changing a state of the assignment information such that one of the multiple destination candidates is designated as the destination of the image data.

