print functionality in opd