We have used ghostscript (ps2pdf) and a2ps on both AIX and RH platforms for sometime and the resulting output works as expected on all desktop OS and clients, Windows, MAC and with various email clients, however, the same emails with PDF attachments cannot be viewed on mobile devices, iPad, iPhone, Android regardless of the email client. This is true even if the attachment is saved to the device and other office type, Adobe mobile applications are used to open it.
Generally, the error is The document cannot be opened because it is not a valid PDF document. Sometimes the document opens but no text is rendered. In the process of trouble shooting we have discovered that the very same email attachments will open when forwarded from a desktop email client (i.e. Outlook) to an account and then accessed with mobile device. This leads me to believe that the issue is with the original email attachment rather than the the actual file.
The file and transmission process is
1) Create a ASCII text report file on UNIX/LINUX server
2) Convert the file to PS with a2ps, text file with the a2ps options attached.
3) Convert the PS output to PDF (ghostscript ps2pdf)
4) uuencode the PDF file
5) Create the email with mail