I've been looking for a while for a solution to a problem I have. I want to be able to embed postscript code into pdf file. Is it possible to do this within acrobat or even some other solution?
By "embed PostScript code", do you mean add a .ps file as an attachment?
You can do this with the Doc.importDataObject() method.
Retrieving data ...