Multi-function scanner