smart printing of staff details