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

How to pre-fill a PDF online?

I start with dynamic data, and an empty PDF file to be filled. How could I fill up the pdf using the dynamic data ? EDIT : I found a way to fill up the pdf with FPDF.org and a plugin. First, add form fields to your PDF using softwares such as…
Yako
  • 3,405
  • 9
  • 41
  • 71
0
votes
2 answers

PHP: PDFlib, OOP & Comments

Since PHP 4.0.5 there are functions to dynamically generate PDFs (PDFlib). I have 3 questions to the PDFlib: Is there an OOP class? If not, is it planned in a future version of PHP? Is there a function to add comments to a pdf AND override the old…
user2148921
0
votes
2 answers

Send PDF file by mail using PHP

I have PHP code as below:
Maly.itc Cute
  • 77
  • 1
  • 4
  • 11
0
votes
0 answers

PdfLib generated PDF file corrupt/incomplete once uploaded to Amazon S3

I'm generating a PDF file using the PdfLib PHP extension. I start a new file, load an image into it, and call end_document to finish the file. All is working fine, the file is generated correctly, but I'm trying to upload the file to the Amazon S3…
Asciiom
  • 9,867
  • 7
  • 38
  • 57
0
votes
1 answer

Quickest API for writing a PDF converter?

There are so many APIs or SDKs out there that let developers write a PDF converter. PDFLib, TCPDF, DOMPDF, etc. There are off-the-shelf PDF converters as well, but they don't have all the options I want. So I think maybe it's best to just write my…
user961627
  • 12,379
  • 42
  • 136
  • 210
0
votes
2 answers

Password protect PDF using PLOP (PDFLib)

I'm trying to give my users the option of password protecting the PDFs they create via PDFLib. I've read the documentation regarding PLOP, and came across the following paragraph in appendix A of the the manual (located here): Memory-Based…
Matt
  • 6,993
  • 4
  • 29
  • 50
0
votes
1 answer

How to use bookmark for jumping to another file with PDFLib?

I want to create a link or a bookmark in pdf that take me to the another pdf with PDFLib. For that I have used following code: String optlist = "filename=paper_planes_catalog.pdf " +"destination={page 2 type fixed left 50 top 200 zoom 2}"; Now I…
Smit
  • 1,559
  • 17
  • 38
0
votes
1 answer

How to apply Proxy for the target page with PDFLib?

I want to give reference of the pdf as a Proxy for the generated pdf. But it is not carrying the reference to the external target. My code is as follow: proxy = p.begin_template_ext(0, 0,"reference={target.pdf pagenumber=1 strongref=true}"); if…
Smit
  • 1,559
  • 17
  • 38
0
votes
1 answer

pdflib @ aws ec2

Is it possible to install an .so extension for PHP 64 Bit in the "Amazon Cloud"? I cannot do so in the instance itself since we are using several instances which are randomly booted and shut down by Amazon. I cannot find anything concerning this in…
0
votes
2 answers

How to verify if caching is disabled (IE7)?

I'm developing an application that utilizes PDFLib to serve my users dynamic PDF files summarizing their accounts and need to ensure that these pages are not being cached (some sensitive data is passed, and I can't have that stored in cache for…
Matt
  • 6,993
  • 4
  • 29
  • 50
0
votes
2 answers

These PDF library is commercial use?

I read this thread : https://stackoverflow.com/questions/4665957/pdf-parsing-library-for-android . Vikas Patidar mentions that there are some open source library on Android like Android PDF Viewer APDFViewer droidreader android-pdf Some of them…
King Wu
  • 387
  • 1
  • 8
  • 22
-1
votes
0 answers

pdf not printing image from google spreadsheet?

I am using this script to print and email a pdf that is made from a google sheet. It was working and printing the image which is a company logo, but now it stopped and I can't figure out why. The only thing I can think I changed was the "function…
-1
votes
1 answer

How to center a text using coordinates and text length

I'm generating a certificate with a user name for a course platform. I want to center a text but it is not centered at all, It starts in the middle but the text is moved i. I'm using PHP 8.0 and the library MPDF. My code is the following: $mpdf =…
-1
votes
1 answer

Argument of type 'HTMLElement' is not assignable to parameter of type 'HTMLDivElement'

i'm trying to make pdf viewer on brower with angular,but i got this error? Error:
saad sarhani
  • 39
  • 1
  • 6
-1
votes
1 answer

How to use pdflib TET in Perl command-line tool in ubuntu

i just downloaded pdflib TET for ubuntu and can't figure out how to use the command line tool. but when I go to command line tet command is not found. Any thoughts? Thanks! Selva Kumar
1 2 3
17
18