to print credential