Questions tagged [pdflib]

PDFlib is a library for generating and manipulating files in Adobe’s well known Portable Document Format (PDF).

PDFlib is a library for generating and manipulating files in Portable Document Format (PDF). The library is a commercial product from PDFlib GmbH, a German company that builds and maintains the library.

PDFlib - A library for generating PDF on the Fly

PDFlib is the leading developer toolbox for generating and manipulating files in the Portable Document Format (PDF). PDFlib’s main targets are dynamic PDF creation on a Web server, or any other server system, and to implement "Save as PDF" in existing applications. You can use PDFlib to dynamically create PDF documents from database contents, similar to dynamic Web pages. PDFlib has proven itself in a wide range of other use cases as well. Application programmers need only decent graphics or print output experience to be able to use PDFlib quickly. Since PDFlib frees you from the technicalities of the PDF file format, you can focus on acquiring the data and arranging text, graphics, and images on the page.

Lots of information and coding samples can be found in the free PDFlib Cookbook which contains sample code for PHP and Java.

257 questions
11
votes
6 answers

How to create PDF file using iText or some other library on android?

How to create PDF file using iText or some other library on android? Is there any tutorial on iText for android? Thanks
Khushwant
  • 305
  • 2
  • 6
  • 17
9
votes
4 answers

PDF Parsing with Text and Coordinates

I am currently using PDF Box to parse a pdf and I am trying to figure out how to retrieve data about the text such as the font (bold, size, etc) and the location of the font. Any suggestions?
A. Canyon
  • 592
  • 1
  • 7
  • 18
6
votes
1 answer

pdflib - sh: phpize: command not found

I need my website to generate a pdf file. I was planning on using PDFlib. When I try install it through the PEAR graphic interface, I get the error message "sh: phpize: command not found". Does anyone have any suggestions?
Andrew
  • 467
  • 3
  • 7
  • 22
6
votes
3 answers

How to find x,y location of a text in pdf

Is there any tool to find the X-Y location on a text content in a pdf file ?
raki
  • 2,253
  • 8
  • 33
  • 42
5
votes
1 answer

How can I get the number of pages in a PDF file in Perl?

Is there any Perl script to read multiple PDF files and get the number of pages in it? By using PDFlib or pdftet.
Anil
  • 3,912
  • 5
  • 35
  • 46
5
votes
3 answers

PHP wrapper that is API-compatible with PDFlib

Are there any wrappers to any of the other PDF generating packages for PHP that provide API compatibility with PDFlib? Our company has been generating PDFs from PHP using PDFlib for many years, but have not upgraded since version 5. Now that we are…
David Alan Hjelle
  • 942
  • 1
  • 10
  • 23
4
votes
2 answers

PDFLib in PHP hogging resources and not flushing to file

I just inherited a PHP project that generates large PDF files and usually chokes after a few thousand pages and several gigs of server memory. The project was using PDFLib to generate these files 'in memory'. I was tasked with fixing this, so the…
Jonathan Hawkes
  • 953
  • 2
  • 12
  • 24
4
votes
1 answer

Is PDFLibNet.dll or It has any licence for commercial products?

I am using PDFLibNet.dll (got here: http://www.codeproject.com/KB/applications/PDFViewerControl.aspx?msg=3154388 ) am not sure whether I can use it for commercial purpose (Licence) ? Any help is much appreciated.
Dark Knight
  • 3,507
  • 8
  • 35
  • 44
4
votes
2 answers

Generate accents and ç in PDF with PDFlib + PHP

I made the following code to pass a string and it generates my lines in pdf: function text_block($p,$text,$xcrd,$ycrd) { $font_size=24; //font size, used to space lines on y axis $tmplines = explode("\n",$text); …
Marcius Leandro
  • 775
  • 1
  • 11
  • 34
4
votes
1 answer

PDF Lib install fail on linux server. Using pecl install pdflib

I'm attempting to install pdflib on my server and receiving the error: configure: error: pdflib.h not found! Check the path passed to --with-pdflib=. PATH should be the install prefix directory. ERROR: /root/tmp/pear/pdflib/configure…
chuckieDub
  • 1,767
  • 9
  • 27
  • 46
4
votes
1 answer

Editing an existing pdf file's metadata

I have some PDF files, on pdf version 1.6. i have been trying the following libraries to edit the metadata of these pdf files: Zend_Pdf class: which worked nicely for pdf version 1.5 or less. but had an error on parsing pdf of version 1.6 pdflib:…
user2146944
  • 51
  • 1
  • 4
3
votes
2 answers

PDFLib.NET dll for .NET Framework4.0?

I have developed a searchable PDF viewer in .NET2.0. We are now upgrading our application to 4.0 so that PDFLibNet.dll is compatible with this version. The message is: Could not load file or assembly 'PDFLibNet, Version=1.0.6.8, Culture=neutral,…
Sankar M
  • 4,549
  • 12
  • 37
  • 55
3
votes
0 answers

PDFlib works only if the library is in /usr/lib not in a custom path

we are using PDFlib for personalizing PDFs. The pdflib.jar library and the libpdf_java.so file are both in the folder: /home/user/my/custom/library/path/ I start the server with this argument: java…
Joergi
  • 1,527
  • 3
  • 39
  • 82
3
votes
6 answers

How do I gather output from an external command in a Perl script?

I have a a tool named TET.EXE, product of the PDFlib family, it is used to extract the co-ordinates of a particular text. Using those coordinates in the Perl script we can extract the required text. This is a manual process to run the .EXE and then …
Anil
  • 3,912
  • 5
  • 35
  • 46
3
votes
1 answer

Feeding PDF generated from pdfkit as input to pdf-lib for merging

I am trying to send a pdfkit generated pdf file as input to pdflib for merging. I am using async function. My project is being developed using sails Js version:"^1.2.3", "node": "^12.16", my pdf-kit version is: "^0.11.0", "pdf-lib": "^1.9.0", This…
Surendar
  • 153
  • 3
  • 11
1
2 3
17 18