Added initial support for printing

Initial support for printing files. While it can print word, excel and
other formats, for some reason it gives me access denied exception when
I try to print mdb file. I am looking into ways of fixing it. Also fixed
some imports again and functions.