A non-transitory storage medium storing a scan program executable by a computer of an image processing device including a communication portion communicable with a scanning device and a storage portion storing a certain program, the scan program, when executed by the computer, causing the image processing device to execute: determining processing in which it is determined whether a pseudo image file is read by the certain program; scan-command transmission processing in which, when the image processing device determines that the pseudo image file is read by the certain program, a scan command is transmitted to the scanning device via the communication portion; scanned-data receiving processing in which the image processing device receives scanned data from the scanning device via the communication portion as a reply to the scan command; and scanned-data writing processing in which the received scanned data is written to the pseudo image file.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A computer-readable non-transitory storage medium storing a scan program executable by a computer of an image processing device including a communication portion configured to be communicable with a scanning device and a storage portion configured to store a certain program, the scan program, when executed by the computer, causing the image processing device to execute: determining processing in which the image processing device determines whether a pseudo image file is read by the certain program; scan-command transmission processing in which, when the image processing device determines that the pseudo image file is read by the certain program in the determining processing, the image processing device transmits a scan command to the scanning device via the communication portion; scanned-data receiving processing in which the image processing device receives scanned data from the scanning device via the communication portion as a reply to the scan command; scanned-data writing processing in which the image processing device writes the scanned data received from the scanning device to the pseudo image file; and second storage control processing in which, when reception of the scanned data in the scanned-data receiving processing is completed, the image processing device stores the reception-completed scanned data in the storage portion, wherein, in the second storage control processing, when the reception of the scanned data in the scanned-data receiving processing is completed, the image processing device stores the reception-completed scanned data in association with a unique file name.
2. The computer-readable non-transitory storage medium according to claim 1 , wherein, when executed by the computer, the scan program causes the image processing device to execute pseudo-image-file creating processing in which the image processing device creates the pseudo image file.
3. The computer-readable non-transitory storage medium according to claim 2 , wherein, in the pseudo-image-file creating processing, the image processing device creates the pseudo image file having a file name that contains time-related information that relates to time at a time point of creation of the pseudo image file, and wherein, when executed by the computer, the scan program causes the image processing device to execute first pseudo-image-file deleting processing in which the image processing device deletes the pseudo image file when a specific time has elapsed after the time point of creation of the pseudo image file in the pseudo-image-file creating processing.
4. The computer-readable non-transitory storage medium according to claim 2 , wherein, in the pseudo-image-file creating processing, the image processing device creates the pseudo image file having a file name that contains time-related information that relates to time at a time point of creation of the pseudo image file, and wherein, when executed by the computer, the scan program causes the image processing device to execute first pseudo-image-file deleting processing in which the image processing device deletes the pseudo image file when time indicated by the time-related information does not match a current time.
5. The computer-readable non-transitory storage medium according to claim 4 , wherein, in the pseudo-image-file creating processing, the image processing device creates another pseudo image file in place of the pseudo image file that has been deleted in the first pseudo-image-file deleting processing, said another pseudo image file having a file name that contains time-related information different from the time-related information contained in the file name of the deleted pseudo image file.
6. A computer-readable non-transitory storage medium storing a scan program executable by a computer of an image processing device including a communication portion configured to be communicable with a scanning device and a storage portion configured to store a certain program, the scan program, when executed by the computer, causing the image processing device to execute: determining processing in which the image processing device determines whether a pseudo image file is read by the certain program; scan-command transmission processing in which, when the image processing device determines that the pseudo image file is read by the certain program in the determining processing, the image processing device transmits a scan command to the scanning device via the communication portion; scanned-data receiving processing in which the image processing device receives scanned data from the scanning device via the communication portion as a reply to the scan command; and pseudo-image-file creating processing in which the image processing device creates the pseudo image file, wherein, in the pseudo-image-file creating processing, the image processing device creates the pseudo image file with respect to which only reading-in of data in the pseudo image file is allowed for a program other than the scan program.
7. The computer-readable non-transitory storage medium according to claim 6 , wherein the image processing device further includes a display portion and an input portion, and wherein, when executed by the computer, the scan program causes the image processing device to execute: screen displaying processing in which, when the image processing device determines that the pseudo image file is read by the certain program in the determining processing, the image processing device causes the display portion to display a setting screen for receiving any of a plurality of setting values for a scan operation by the scan device; and setting-input receiving processing in which the image processing device receives, from the input portion, input designating one of the plurality of setting values, and wherein, in the scan-command transmission processing, the image processing device transmits, to the scanning device via the communication portion, the scan command including said any of the plurality of setting values received in the setting-input receiving processing.
8. The computer-readable non-transitory storage medium according to claim 2 , wherein, when executed by the computer, the scan program causes the image processing device to execute: second pseudo-image-file deleting processing in which the image processing device deletes the pseudo image file when reading-in of data in the pseudo image file by the certain program is completed; and first storage control processing in which the image processing device stores, in the storage portion, the scanned data received in the scanned-data receiving processing in association with a file name of the pseudo image file deleted in the second pseudo-image-file deleting processing, and wherein, in the pseudo-image-file creating processing, the image processing device creates another pseudo image file having a file name different from the file name of the pseudo image file deleted in the second pseudo-image-file deleting processing.
9. The computer-readable non-transitory storage medium according to claim 1 , wherein, in the second storage control processing, the image processing device stores the reception-completed scanned data together with the file name containing at least time-related information that relates to a time at a time point of storage of the reception-completed scanned data.
10. A computer-readable non-transitory storage medium storing a scan program executable by a computer of an image processing device including a communication portion configured to be communicable with a scanning device and a storage portion configured to store a certain program, the scan program, when executed by the computer, causing the image processing device to execute: determining processing in which the image processing device determines whether a pseudo image file is read by the certain program; scan-command transmission processing in which, when the image processing device determines that the pseudo image file is read by the certain program in the determining processing, the image processing device transmits a scan command to the scanning device via the communication portion; scanned-data receiving processing in which the image processing device receives scanned data from the scanning device via the communication portion as a reply to the scan command; and scanned-data writing processing in which the image processing device writes the scanned data received from the scanning device to the pseudo image file, wherein the pseudo image file is configured such that, when writing of data to the pseudo image file is performed, next writing thereto is delayed until the written data is read out therefrom, and wherein, when the writing to the pseudo image file is allowed, the image processing device determines that the reading has been performed with respect to the pseudo image file.
11. The computer-readable non-transitory storage medium according to claim 10 , wherein the pseudo image file is a named pipe.
12. An image processing device comprising: a communication portion configured to be communicable with a scanning device; and a controller, wherein the controller is configured to: determine whether a pseudo image file is read by a certain program; transmit a scan command to the scanning device via the communication portion when determining that the pseudo image file is read by the certain program; receive scanned data from the scanning device via the communication portion as a reply to the scan command; write the scanned data received from the scanning device to the pseudo image file; and when reception of the scanned data from the scanning device is completed, store the reception-completed scanned data in the storage portion, wherein when the reception of the scanned data is completed, the controller is configured to store the reception-completed scanned data in association with a unique file name.
13. The computer-readable non-transitory storage medium according to claim 10 , wherein, when executed by the computer, the scan program causes the image processing device to execute: pseudo-image-file creating processing in which the image processing device creates the pseudo image file, wherein, in the pseudo-image-file creating processing, the image processing device creates the pseudo image file in association with any of a plurality of setting values set for a scan operation by the scanning device, and wherein, in the scan-command transmission processing, the image processing device transmits, to the scanning device via the communication portion, the scan command including said any of the plurality of setting values associated with the pseudo image file for which the image processing device determines that the pseudo image file is read by the certain program.
14. The computer-readable non-transitory storage medium according to claim 10 , wherein, when executed by the computer, the scan program causes the image processing device to execute: pseudo-image-file closing processing in which, when reception of the scanned data in the scanned-data receiving processing has not been executed properly, the image processing device closes the pseudo image file.
15. The computer-readable non-transitory storage medium according to claim 10 , wherein, when executed by the computer, the scan program causes the image processing device to execute: error-data writing processing in which, when reception of the scanned data in the scanned-data receiving processing has not been executed properly, the image processing device writes data for indicating an error.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
December 29, 2014
February 23, 2016
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.