drmqzb5063 2014-08-12 11:45
浏览 31
已采纳

PDFTK想要转移到另一个域

I am working on a project which was developed by another developer Now client wants me to move it from current linux based server to new windows based server

it is developed in cakephp and PDFTK is used to fill pdf files dynamically.

I am trying to configure it first on my PC locally, to learn configuration of PDFTK

I have downloaded PDFTK Free version and installed

it generates pdfile with zero bytes size and it is not opeining

I also tried to try in in CMD

pdftk D:\wamp\www\my-project\app\webroot/files/138.pdf fill_form D:\wamp\www\my-project\app\webroot/files/results/1401.fdf output generated_pdfs/test_24.pdf

it returns the following error

 Error: Failed to open output file:
   generated_pdfs/test_24.pdf
   No output created.
 Error: unable to open file for output: generated_pdfs/test_24.pdf

while the target folder has permission to write on it

  • 写回答

1条回答 默认 最新

  • douqinlin5094 2014-08-12 12:56
    关注
    pdftk TEMPLATE_FILE fill_form DATA_FILE output OUTPUT_FILE
    

    try using OUTPUT_FILE with fullpath as below

    OUTPUT_FILE = D:/folder/.../generated_pdfs/test_24.pdf
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog