Domain: pdflib.com
Stories and comments across the archive that link to pdflib.com.
Comments · 19
-
One word: PDFLib
PDFLib GmbH (german LLC) build exactly one product: PDFLib. And they've been doing that since 1997. AFAIK the company was run by one guy - the initial developer - alone for most of the time. Now it's probably a shop of 5 or so.
So it's not FOSS - yeah, that's a real shame. But the devs get to eat, you can demand service and response if you run into a bug and you can expect a good product and with PDFLib you're probably going to get it too.
I haven't come across a single project doing non-trivial PDF stuff that doesn't use PDFLib. I've used it myself a little, and the cookbook that comes with the product was very good, so it comes recommended.
My 2 cents.
-
Re:ISO?Don't forget:
PDFLib - The standard (and powerful) PDF Library for PHP5
PDFLib Lite - The OpenSource version of the above
FPDI - Imports existing PDF documents into FPDF
PDFLib Lite is a great tool for dynamically creating PDF documents on the FLY with PHP. Or, FPDF & FPDI if you don't mind a slight performance hit.
-
Re:ISO?Don't forget:
PDFLib - The standard (and powerful) PDF Library for PHP5
PDFLib Lite - The OpenSource version of the above
FPDI - Imports existing PDF documents into FPDF
PDFLib Lite is a great tool for dynamically creating PDF documents on the FLY with PHP. Or, FPDF & FPDI if you don't mind a slight performance hit.
-
Re:Not a Unique Phenomenon
It's very simple: it's not the full version, and my software makes use of the PDFlib+PDI features.
Look here to see the difference:
http://www.pdflib.com/products/pdflib-family/featu re-comparison/ -
Re:Not a Unique Phenomenon
Excuse my ignorance here - but neither wishing to defend pdflib, or you what is wrong with the source code that pdflib apparently provides PDFlib Lite source code package http://www.pdflib.com/download/pdflib-family/pdfl
i b-lite/Love to know.
-
Some thoughtsSlashdot Rants
First, let's get the slashdot mentality out of the way.- You're evil because all source code should be free, no matter how much blood, sweat, and tears were put into it.
- Your design is fracked and you should go out of business because you suck.
- It's technically impossible to keep code secure, so again, youre fracked.
There. That's a little better.
Two Distinctly Different Problems
Your question has an unstated assumption that might be steering you in the wrong direction. You assumed that you have to release your source code. You might not have to do that...
Application Layers
In the theoretical world, a web application has the following components:- Back-end storage system, typically some SQL server variant
- Business rules of some sort, most likely the location of the true IP of the company
- A presentataion layer such as PHP or JSP that presents/manipulates the business data
- A web server to execute the presentation layer
Given these layers, what are you willing to open up? The web server is probably already open source or an off-the-shelf purchased product. Same with the back-end storage system. This leaves the presentation layer and the business rules layer. What are your top-tier customers going to do to your application? Change the way it looks, change the way it behaves, or add missing functionality? You need to know the answers to these questions before you move on...
Licensing Models
You can license the whole mess as one big slab of source code, or maybe a bunch of loadable modules and just open source the "glue". If you open source the glue, the customers can make major changes to your application without having the source code... Look at the PDFLib libraries. They are very powerful, cross platform, and completely closed source. Can't you do the same thing? Maybe build all of your business rules into a collection of libraries and make them binary only? Then wrap them with a license key or even a hardware dongle if desired. There are several software vendors that do this for a living. Talk to them.
SAAS
If your core codebase is really "all that", why don't you look at a three-tier model? Your customers can host their own web server and database, and pay for a leased line back to your office for the business rules. There are many variations on this theme.
Other Options
You could open-source your code and copyright it so that only you could release software under the current name. Depending on whether your revenue model makes more money out of service or sales, this might actually be a viable option.
You could offer a turn-key "vendor supplied" package consisting of a pre-loaded server and hard-lock your software to that server. Sort of a Google Appliance for your app model. This way you can retain control of the platform and the customer can have your platform on their site. -
Re:Why it can kill pdf
On the server side
...- PDF::API2 for LAMP.
- Apache Formatting Objects Processor for J2EE
- I used PDFLib for ASP.NET but it now appears to no longer be open source. Curious as I didn't think that was possible. Goggling around found PDFSharp.
- PyX is for Python developers.
-
Re:Why it can kill pdf
PDF is free as in speech and beer. The specs are published and free and nobody has to pay Adobe to use it.
Fonts aren't free (few are freely given).
You might want to ask these companies how much they pay Adobe to create PDF tools ($0).
http://pdflib.com/
http://activepdf.com/
http://www.fastio.com/
http://www.openoffice.org/
If Adobe folds up tomorrow, PDF will survive. -
Re:Pardon me while I poke your eyes with a fork
Uh huh. I'm looking at the features list right now. I don't see populating form fields anywhere. Now I'm looking at the API docs. Still nothing. I certainly don't see any APIs for direct PDF "Object" access for you to build your own, either. So where is it?
And if you are able to populate the fields, why are you bothering with FDF? Especially since you can run into conflicting field names when you merge the documents into one. In those cases you need to rename the fields or you will cause Acrobat to malfunction. (I've even seen Acrobat crash just because the same field name is used across merged documents.)
So you're not making any sense here. You say on one hand that PDFLib lets you populate fields. Yet on the other, you say you use FDF. Which is it? It's certainly not both unless you REALLY don't understand what we're talking about.
P.S. From this page we find:
Merged result is integral part of PDF page description?
Form Fields: NO
Graphics and text properties can be overridden upon filling?
Form Fields: NO -
Re:It seems to me...
After all, why would they want to increase the possibility of someone reverse-engineering the PDF format and writing free/open source Acrobat production applications, when they're currently selling about seven of them, and all for a hefty chunk of change?
Except, of course, that there is no need at all to reverse-engineer the PDF format, since the full PDF specifications are available for download from Adobe, free of charge. And since there are oodles of open-source software that will write PDF.
Regards, Felix!
-
Re:PHP + FPDF
I have used about every PDF library for PHP under the sun, so here's my $0.02.
pdflib - SUCKS, the API is a pain in the ass. I liken it to doing your own dental work -- in the dark. You can circumvent this a little using the pc4p wrapper, but it's fickle.
fpdf - It's pretty good, although it doesn't natively support any sane ways of dealing with text in tables - I was trying to use it to generate PDF invoices and quotations. It would barf and break columns when my text should wrap to the next line. The only way around this would be writing custom extensions to the class.
r&os - This is what I really recommend using. Like fpdf, it doesn't require any additional libraries to be installed - everything runs within PHP itself. The documentation is pretty good and I've really enjoyed using it. -
Sure
PDFLib lite
This is the open-source version. It requires you to use and OSI-approved license on your app. PHP uses a version of PDFLib. We use the commercial version of PDFlib to produce reports like this sample report.
Panda
Panda is GPLed. I haven't tried it.
These libraries should give you total control over your output. I'm not sure if you want that degree of power, considering you have to do a lot of work yourself. Note also the total lack of support for importing vector images in both (this is available in commercial versions of PDFlib by importing sections of external PDF documents). -
Re:Depends on how you use itgrab one of your "real" programming languages and write an object that generates dynamic PDF's.
It's exactly what I am doing using Java implementation of XML-FOP. Check Apache FOP. By the way it is free
:)The other free PDF libraries are available for Common Lisp, Python, C
Conclusion: I know what I am talking about. But I am not that "expert" as you may think about me. Here is an example of what real experts are saying:
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
Will you argue with Dijkstra? I won't. Although he is talking about myself as well - I am poisoned with PHP experience as you do. I just aware of that fact and you don't.
-
use PDF for rendering reportsPDFlib is great. It's a somewhat-free library for rendering PDF on the fly. Plus Ghostscript can render PDF to PNG or a printer. PDF already has all the printer specific handling built in, such as page breaks, etc.
Granted, you'll have to write a renderer. However, HTML does not have enough expressiveness to deal with page break situations, and other complications of paged printing anyhow.
-
Re:PDF does what you wantPDFLib is free in all cases (that I can tell) *UNTIL* you go to use it as a COM/ActiveX object within something like IIS/Coldfusion. Then its $500 for a license.
Go figure, no one wants to develop for winblows, so they have to charge for it.
-
Use PDFLib
Having faced a similar situation myself, I ended up using PDFlib. It's a nice high level API for generating PDFs on the fly. Now my clients can get printer quality reports generated for them dynamically off the web. I used it in conjunction with Perl. But it supports bindings to other languages (including Java) as well. It's not free, but it's quite affordable compared to most other PDF generation software out there.
-
PDFlib
What I would like to see is a method of being able to alter in a WYSIWYG format the contents of a PDF document or simply create one from scratch in an open source manner. I wonder if such a project exists.
You're in luck - PDFlib can help. Sadly, your hands are tied if you actually want to release anything you write - Aladdin only allow you free-as-in-beer distribution of your stuff. -
pdflib ...
... will allow you to generate PDFs from
ActiveX/COM for use with Visual Basic, Active Server Pages, Delphi etc.
ANSI C
Class wrapper for ANSI C++
Java (via Java Native Interface, JNI), including servlets
Perl
Python
Tcl
There is also a pdflib extension to PHP.
You can find it here
I hope this helps.
.iMMersE -
Re:PDF, Ugh.