I currently am using postscript along with ps2pdf on a client website to generate customized pdfs. Initially, I am using Acrobat to export ps files and opening those and inserting placeholders. These files are then used as templates for generating pdfs on the fly. I am using php on the website to open the ps template and substitute the placeholders with variable information. For instance: a business card template (ps template) is accessed and the user information is pulled from the database and then merged with the ps file using php to substitute the vars. ps2pdf generates the pdf at that point to create a final print file. My question is regarding the postscript language. This is obviously older tech. It's using postscript level 1 to 2 at most. The newer adobe products - of course - use the newer versions of the ps language and as such are no longer conducive to creating the ps templates as I need them. In other words, since it is no longer level 2, ps2pdf does not like them OR the won't distill using Distiller. (i hope all that makes sense). So here is the question. Does any of you know of a better way to do something like this? Can it be done using the newer postscript languages (higher than v2)? If not - can someone kindly direct me to where I might learn more about how to accomplish what i need? I understand that this will mean learning new languages and that's fine. I am just not sure where to even start. Any advice is greatly appreciated.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.