Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macintosh to Linux

Status
Not open for further replies.

Target25

Technical User
Nov 20, 2008
2
GB
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
 
Hi Dave,

Are the files on the Mac always in the correct format? If so, the problem is with the FTP process and/or the processing at the Linux end and may not be anything to do with postscript per se. If the files on the Mac are not always in the correct format, then that's where you'll have to do your work.

Cheers

[MS MVP - Word]
 
Cheers for that mate! I have sort of sorted the problem out now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top