An all in one printer is input and output.
You put in something - papers to scan, which is part of the input process. The output part refers to the actually printing, which means that this printer has these two properties. It cannot be an operating system because you cannot touch an operating system, and it is not a data storage device because you don't store anything in the printer.