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 Vue3 大型图片数据拖动排序
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大