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
0
votes
1 answer

pdflib9.0.2 is not installing in my MAMP for php5.5.10

I am trying to install pdflib9.0.2 extension for my MAMP php5.5.10. I did the following steps. Downloaded pdflib9.0.2 from http://www.pdflib.com/download/pdflib-family/pdflib-9/copied created a folder "pdflib" in htdocs found the extension_dir…
user2617611
  • 339
  • 1
  • 4
  • 16
0
votes
2 answers

Evenly dividing text into 2 linked boxes without having one box text smaller than the other

I have an issue where I have 2 linked blocks. Once there is a max of characters(before they shrink to fit) it moves to my next linked block. The problem is that if there is a lot of text pushed to the next block it becomes very tiny. Is there a way…
Jcdevelopment
  • 51
  • 2
  • 8
0
votes
1 answer

pdf_fit_image, relation to DPI pdflib

PDF LIB i want to know if pdf_fit_image internally does some resizing based on DPI of the image // image dimenstions of the 150_dpi and 300_dpi is same 900px , 558 px $imgFile = "image/150_dpi.jpg"; $imgFile2 ="image/300_dpi.jpg"; $imgFile3…
Naveen Kumar
  • 4,543
  • 1
  • 18
  • 36
0
votes
1 answer

PDFlib first line indent

I using PDFLib as pdf renderer and IDML format from InDesign as input format and my question: is parameter LeftIndent only possible way how to create in bullet list indent? I have found in CookBookPdfLib, that PDFLib supports LeftIndent but no…
0
votes
1 answer

PDF generation as per PDF/X-1a:2001 standards using pdflib

I need guidance how I can generate a PDF complying to PDF/X-1a standards using PDFLib in java?
Dev G
  • 1,387
  • 4
  • 26
  • 43
0
votes
2 answers

PDFLib TET PHP: Can`t extract images

I was able to install TET (php_tet.dll) on Windows 8.1 + Xampp and I have no problems with PDF to Text, but I had no luck with image extraction. I'm using the example "image resources.php" ( and "image_extractor.php" ) which is supposed to "print"…
Sams
  • 684
  • 1
  • 8
  • 14
0
votes
2 answers

Draw a rect with PDFLib

I'm looking for a solution to draw a rectangle in an existing pdf file. i try to do this with the function rect(x,y,widht,height) but it doesn't work. I have an error message saying "Function must not be called in 'object' scope'" but i don't…
X4V18
  • 97
  • 1
  • 13
0
votes
1 answer

Load pdflib in php on demand

I use pdfLib for creating PDF in PHP, The problem here is until now i used pdflib version 8 Currently i need to use vector images in pdf, which is not supported in pdflib version 8 , So i want to use PDFlib version 9 which supports vector image, I…
Naveen Kumar
  • 4,543
  • 1
  • 18
  • 36
0
votes
1 answer

Understanding PDF_info_matchbox

Can anyone please explain the usage of PDF_info_matchbox. I have read the PHP Manual at http://php.net/manual/en/function.pdf-info-matchbox.php but it is not very clear. float PDF_info_matchbox ( resource $pdfdoc , string $boxname , int $num ,…
Sumit
  • 39
  • 1
  • 5
0
votes
0 answers

pdfbox does not show even if I select check box in code

I am using PDFbox java api to fill out the values in PDF. I can fill the textbox values. When I use check() method for checkboxes as shown How to check a check box in PDF-form using Java PDFBOX api it set value to true in background but that does…
user583726
  • 647
  • 2
  • 9
  • 20
0
votes
0 answers

How to append text in pdf files using reportlab

I need to append some text data in existing pdf file using reportlab. Is it possible to do that? if yes,please provide me a solution.
Purushotham
  • 23
  • 1
  • 5
0
votes
1 answer

(pdflib) Table of contents with dynamic page numbers

I'm on pdflib 7 under php5 and I'm drawing a statistical report with several sub topics over several pages. Now, I want to include a table of contents on the first page where every sub topic is listed with it's actual page number. Needles to say…
KB22
  • 6,899
  • 9
  • 43
  • 52
0
votes
0 answers

Dompdf make a blank page inside the generated pdf Document

i have tried creating pdf files with dynamic content (generated with db data) DomPdf was perfectly working with it. but when i add some addtional section it breaks the content in the middle of div blocks. So i added page-break-inside: avoid; then…
Cody
  • 905
  • 1
  • 8
  • 14
0
votes
1 answer

php 128 barcode font to use with PDFlib

Iv been looking for a font for 128 format barcodes to place inside of a PDF using PDFlib. Iv looked everywhere and cant seem to find one that will work with my scanner. Doesn't seem to recognize the barcode when trying to scan it. Iv used…
Yeak
  • 2,470
  • 9
  • 45
  • 71
0
votes
4 answers

Locating a < symbol in HTML that isn't part of a tag

I'm trying to find a way to reliably locate and replace < and > symbols within an HTML/XML formatted string that do not belong to tags. Basically I start with an HTML string and convert it into something usable by PDFLib, which uses a form of XML to…
fullybaked
  • 4,117
  • 1
  • 24
  • 37