Creating a PDF "Adobe" in PDMS?

 
Parents
  • I wrote this awhile ago and forgot that I had it, what it will do is batch convert all .plt files in a directory into .pdf files.

    Anyway there are 2 file attached, plt2pdf.pmlfnc converts a .plt file into postscript file and then from there converts it into a .pdf file. batchPlt2Pdf.pmlfnc is a batch function that I wrote to process a directory of .plt files.

    What you will need to do is download a piece of software from the net called GhostScript which is free from here http://www.cs.wisc.edu/~ghost/gsview/get47.htm. Then install GhostScript. Change the !ghostscript variable in the batchPlt2Pdf.pmlfnc to reflect the install directory for GhostScript. Then in PDMS command line enter:


    !!batchPlt2Pdf(
Reply
  • I wrote this awhile ago and forgot that I had it, what it will do is batch convert all .plt files in a directory into .pdf files.

    Anyway there are 2 file attached, plt2pdf.pmlfnc converts a .plt file into postscript file and then from there converts it into a .pdf file. batchPlt2Pdf.pmlfnc is a batch function that I wrote to process a directory of .plt files.

    What you will need to do is download a piece of software from the net called GhostScript which is free from here http://www.cs.wisc.edu/~ghost/gsview/get47.htm. Then install GhostScript. Change the !ghostscript variable in the batchPlt2Pdf.pmlfnc to reflect the install directory for GhostScript. Then in PDMS command line enter:


    !!batchPlt2Pdf(
Children
No Data