How to customize PDF record to be printed