主权项 |
1. A scanner, comprising:
a communication device communicable with an information processing device; and a controller configured to cause the scanner to execute:
a determination processing in which the scanner determines whether a reading request which is a request for reading a pseudo image file is received from the information processing device;a scan executing processing in which the scanner executes a scan processing when the scanner determines that the reading request for reading the pseudo image file is received in the determination processing; anda scan-data writing processing in which the scanner writes scan data created in the scan executing processing, into the pseudo image file, wherein the controller is configured to cause the scanner to execute a pseudo-image-file creating processing in which the scanner creates the pseudo image file, wherein in the pseudo-image-file creating processing, the scanner creates the pseudo image file in association with one of a plurality of setting values set for the scan executing processing, wherein in the scan executing processing, the scanner executes the scan processing using a setting value associated with the pseudo image file for which the scanner determines that the reading request is received in the determination processing, and wherein the controller is configured to cause the scanner to further execute:
a state detecting processing in which the scanner detects a state of the scanner; anda pseudo-image-file deleting processing in which the scanner deletes the pseudo image file created in the pseudo-image-file creating processing and created in association with a particular setting value, in a case where the scanner is not allowed to execute the scan processing using the particular setting value in the state detected in the state acquiring processing. |