Linux does that.
Connect the scanner to a Linux box. The set of software is called SANE which you can now wrap some basic scripts around to create your reports and logs.
Is there any way to make people enter password before using the scanner? And is there any way to keep a log such that we can see who scanned what document every time? My scanner is a very old scanner that uses the printer port.