508 questions
-1
votes
1
answer
72
views
How can I avoid "Unexpected Exception in open_reader()" of pdftk? [closed]
pdftk throws an "Unexpected Exception in open_reader()" when I want it to open any file on my 2nd hard drive. The same files work perfectly after copying them to the main filesystem. Is ...
0
votes
1
answer
114
views
Merge file pdf in subfolder & folder that same 8 last letters name, using pdftk or merge-Pdf
# Define the path to the general folder
$generalFolderPath ='F:\9.POWERSHELL' # - use for my laptop
$outputCsvPath = "F:\9.enter image description herePOWERSHELL" # - use for my laptop
# ...
0
votes
0
answers
93
views
Command works in CMD but not in C#
I am facing a trouble in executing a command in c# process with arguments. The command runs well in CMD but it returns no result with System.NotSupported Exception.
string pdfkPath = @"C:\Dummy ...
0
votes
0
answers
34
views
Is there a way to differentiate a user added "Off" and Adobe auto-added "Off" for radio buttons in the fields of a PDF doc from pdftk dump_data_fields
I am using the php-pdftk getDataFields() method to get the fields from a PDF form that is submitted to my PHP page. This maps directly to the dump_data_fields option of pdftk, and the same issue can ...
0
votes
1
answer
130
views
pdftk unicode works in preview but not adobe acrobat
I generate a PDF file and the unicode text appears in macos preview but not acrobat.
I have the following fdf file
%FDF-1.2
1 0 obj
<<
/FDF
<<
/Fields [
<<
/T (name)
/V <FEFF0793&...
0
votes
1
answer
540
views
pdftk generated pdf does not render correct utf-8
Version is 2.02
I have a simple pdf with a name field. I created an fdf using pdftk
pdftk form4.pdf generate_fdf output data4.fdf
Removing the unnecessary fields, here is what it has: (full view on ...
0
votes
1
answer
33
views
Include input file name in output option [closed]
I'm trying to burst multiple files in one go and would like to include the input filename and page number as the output. Something like:
pdftk *.pdf burst output source_filename.%2d.pdf
Any ideas.
If ...
1
vote
1
answer
64
views
Can I skip PDF form fields from being filled in an FDF?
I use pdftk to fill_form in many pdf's in a loop. The problem im having is that i use pdftk to fill 3 of the 5 fields. The other fields have standar values.
Is there a way to skip certain fields when ...
1
vote
1
answer
107
views
Fill in PDF server backend special characters
I thought my problem would be easy: I wanted to create a PDF document from a template. There are 12 values that I want to fill in. I want to be able to change the template later on (design), so I ...
2
votes
2
answers
368
views
letter-size pages scanned to PDF as legal size. How can I "trim" off the top?
We have 22 pages of legal documents that were originally on letter size paper. The originals were lost in a fire. The lawyer's office has a PDF with scans of the originals but the scan was done with ...
1
vote
0
answers
105
views
How to call a PDFtk command within Laravel in AWS lambda
my laravel app is running on aws lambda, so I don't have access to console to perform some tasks, for example interact with pdfs, I was trying to use aws lambda layers, I have this package: https://...
0
votes
1
answer
244
views
PDFTK on plesk (centos)
I'm trying to use PDFTK on a php page hosted on a PLESK server (Centos) but I have an error...
PDFTK was successfully installed with composer
If I use :
$pdf = new Pdf('form.pdf');
$result = $pdf->...
0
votes
1
answer
235
views
PDF Merging with Elixir and pdftk with Implementation?
I am working on an Elixir project that involves merging PDF files using the pdftk command-line tool. I have written a function in my Elixir module, PdfMerger.MergePdfs, to merge PDFs using the pdftk ...
1
vote
2
answers
373
views
Pdftk fails to update_info the data that was produced by dump_data_annots
I am looking to save all annotations in a pdf to a file then import them back to a pdf.
pdftk input.pdf dump_data_annots output annots.txt
Outputs all the annotations in the following format:
...
1
vote
1
answer
898
views
Create multiple PDF files from one large PDF file based on page
I have a large PDF file containing employee information. One page per employee, 500+ pages. I need to create a single PDF file per employee by splitting out this large file into smaller ones. I ...