Hi
I am currently working on a front-end database application running on ORACLE on a Red Hat Linux server. I work for a travel company and we use postscript as the format for our client documentation. The PS files are created on macintosh and then FTP'ed to a Unix server they are then downloaded onto the Linux server. When a request sent to the DB APP for documents relating to a client booking. The front end app locates the related PS file opens it, scans through the file for 2 specific string and replaces it with the passengers name and the date from ORACLE. It then calls the ps2pdf command in Linuw to convert the file to PDF for emailing.
My problem is that if the text in the PS file is not in ASCII the DB APP cannot find the stings and this corrupts the output PDF file.
My question is how do I ensure the PS file reach the Linux box in ASCII format?
I have played with all possible binary/ascii settings in Indesign, Quark and various ftp clients in MAC OS and Linux
I am stumped can someone please help as the files convert fine if i convert them using ps2pdf without editing the PS file prior to doing so?
Is the DB APP corrupting the files by editing them?
Thanks
Dave
I am currently working on a front-end database application running on ORACLE on a Red Hat Linux server. I work for a travel company and we use postscript as the format for our client documentation. The PS files are created on macintosh and then FTP'ed to a Unix server they are then downloaded onto the Linux server. When a request sent to the DB APP for documents relating to a client booking. The front end app locates the related PS file opens it, scans through the file for 2 specific string and replaces it with the passengers name and the date from ORACLE. It then calls the ps2pdf command in Linuw to convert the file to PDF for emailing.
My problem is that if the text in the PS file is not in ASCII the DB APP cannot find the stings and this corrupts the output PDF file.
My question is how do I ensure the PS file reach the Linux box in ASCII format?
I have played with all possible binary/ascii settings in Indesign, Quark and various ftp clients in MAC OS and Linux
I am stumped can someone please help as the files convert fine if i convert them using ps2pdf without editing the PS file prior to doing so?
Is the DB APP corrupting the files by editing them?
Thanks
Dave