printing in transaction