Hi Experts,
I have developed a custom program for my client to convert the payslip into pdf and send it as an attachment to respective employee.
The form is developed in PE51 t-code.
While in development system it is working fine and pdf file is generated perfectly. below is the screen shot of pdf attachment that employee has received.

But when same is moved to Quality system, the pdf attachment is not proper as in development system.

Kindly help me asap in resolving this issue.
I have attached both the screens of pdf file from development and quality systems.
Thank you in advance.