DB printing class.