Data security for printing and scanning applications