1 Reply Latest reply on Apr 14, 2007 5:55 PM by (Nick_Suvalko)

    Print existing PDF in central

      Hi,

      We are currently using Adobe Central Server and we need to somehow print an existing PDF and incorporate this to the Central server.
      Is there a program that is shipped with central that I can use?
      Thanks in advance.
        • 1. Re: Print existing PDF in central
          You can do it with the following script after downloading a freeware program called "pdfp" which can print PDF's silently in background.
          However I can not get it to execute via Custom Agent by executing a TASK. The log says it executes the task but the no output is generated.
          However when I click the BAT or EXE file I create it's fine????

          Can someone help... here are contents of ini files etc.
          Thank you in advance.


          OUTPUT FROM JFSERVER LOG FILE

          2007/04/15 11:48:08 C:\Program Files\Adobe\Central\Bin\jfserver.exe: [306]Processing file 'Account_Confirmation_Letter_14935.dat', '^job tnewcust.fx'.
          2007/04/15 11:48:08 C:\Program Files\Adobe\Central\Bin\jfserver.exe: [307]Launching task '"C:\Program Files\Adobe\Central\Bin\jfmerge" "C:\CENTRALPRO_FORMS\testmdf\NCTESTP.mdf" "C:\Program Files\Adobe\Central\Server\Data\Account_Confirmation_Letter_14935.dat" -l -apr"" -all"C:\Program Files\Adobe\Central\Server\jfserver.log" -asl1 -amq0 -ams"C:\Program Files\Adobe\Central\Server\Mst\AKL27.mst" -m1T -argon -z"\\192.168.2.10\akl27" -aii"C:\Program Files\Adobe\Central\Server\jfmerge.ini"'.
          2007/04/15 11:48:08 C:\Program Files\Adobe\Central\Bin\jfmerge: [125]* Processing data file: 'C:\Program Files\Adobe\Central\Server\Data\Account_Confirmation_Letter_14935.dat'.
          2007/04/15 11:48:08 C:\Program Files\Adobe\Central\Bin\jfmerge: [289]MDF file `C:\CENTRALPRO_FORMS\testmdf\NCTESTP.mdf' opened.
          2007/04/15 11:48:08 C:\Program Files\Adobe\Central\Bin\jfmerge: [209]One surface was printed.
          2007/04/15 11:48:08 C:\Program Files\Adobe\Central\Bin\jfserver.exe: [307]Launching task '"C:\Program Files\Adobe\Central\Bin\ncustprt" '.
          2007/04/15 11:48:09 C:\Program Files\Adobe\Central\Bin\jfserver.exe: [308]Sleeping for 5 seconds.
          2007/04/15 11:48:14 C:\Program Files\Adobe\Central\Bin\jfserver.exe: [305]Scanning for data files, directory 'C:\Program Files\Adobe\Central\Server\Control\'.
          2007/04/15 11:48:14 C:\Program Files\Adobe\Central\Bin\jfserver.exe: [305]Scanning for data files, directory 'C:\Program Files\Adobe\Central\Server\Data\'.
          2007/04/15 11:48:14 C:\Program Files\Adobe\Central\Bin\jfserver.exe: [306]Processing file 'Account_Confirmation_Letter_24936.dat', '^job tnewcust.pdf'.

          THESE ARE THE OTHER DETAILS FROM THE INI FILES

          jfserver.ini


          [Processes]
          JFSERVER=Central Process
          JFEMSEND=Messaging Agent
          JFMERGE=Print Agent
          JFPVAGENT=Preview Agent
          JFTRANS=Transformation Agent
          XMLIMPORT=XML Import Agent
          NCUSTPRT=New Customer PDF Output

          [JFEMSEND]
          ExePath=C:\Program Files\Adobe\Central\Bin
          IniFileName=C:\Program Files\Adobe\Central\Server\jfemsend.ini
          EditCfgRtn=notepad C:\Program Files\Adobe\Central\Server\jfemsend.ini
          [JFMERGE]
          ExePath=C:\Program Files\Adobe\Central\Bin
          IniFileName=C:\Program Files\Adobe\Central\Server\jfmerge.ini
          [JFPVAGENT]
          ExePath=C:\Program Files\Adobe\Central\Bin
          IniFileName=C:\Program Files\Adobe\Central\Server\jfpvagent.ini
          EditCfgRtn=Notepad C:\Program Files\Adobe\Central\Server\jfpvagent.ini
          [JFTRANS]
          ExePath=C:\Program Files\Adobe\Central\Bin
          IniFileName=C:\Program Files\Adobe\Central\Server\jftrans.ini
          EditCfgRtn=notepad C:\Program Files\Adobe\Central\Server\jftrans.ini
          [XMLIMPORT]
          ExePath=C:\Program Files\Adobe\Central\Bin
          EditCfgRtn=Notepad C:\Program Files\Adobe\Central\Server\xmlimport.xci
          IniFileName=C:\Program Files\Adobe\Central\Server\xmlimport.xci
          [NCUSTPRT]
          ExePath=C:\Program Files\Adobe\Central\Bin
          IniFileName=C:\Program Files\Adobe\Central\Server\ncustprt.ini
          EditCfgRtn=Notepad C:\Program Files\Adobe\Central\Server\ncustprt.ini

          JMD ENTRIES
          ============

          !f newcust.fx FXLASER C:\CENTRALPRO_FORMS\mdf\NEWCUSTP.mdf * 1 T NCXMERGE * * C "Print New Customer Form on Fuji Xerox"
          !f newcust.fx * * * 1 T NCUSTPRT * * C "Print static PDFs for New Customers - CUSTOM Agent"


          !x NCUSTPRT * ncustprt * "Print PDF Documents for new customers"

          SCRIPT TO RUN PDF PRINT IN COMMAND MODE.
          ========================================

          REM ======================================================================================
          REM - Print PDF files to DEFAULT "akl27" printer
          REM
          REM CUSTOM AGENT Created by: Nick Suvalko
          REM Date: 26/02/2007
          REM ======================================================================================
          cd c:\pdfprint
          pdfp.exe -o 1 -d 1 -c 1 "C:\STATIC_PDF\Claims_Process.pdf"
          pdfp.exe -o 1 -d 1 -c 1 "C:\STATIC_PDF\Conditions_of_Carriage.pdf"
          pdfp.exe -o 1 -d 1 -c 1 "C:\STATIC_PDF\Terms_of_Credit.pdf"
          pdfp.exe -o 1 -d 1 -c 1 "C:\STATIC_PDF\Authority_to_Email_Invoice-Statements.pdf"
          pdfp.exe -o 1 -d 1 -c 1 "C:\STATIC_PDF\PBT_Freight_Calculation_Guideline.pdf"