PDFlib PHP Examples
Please see PDFlib 8 Tutorial, chapter 2.9 for further details about using PDFlib with PHP.
businesscard:
Block processing example
chartab:
Character table
hello
Hello example
image:
Image example
invoice:
Invoice generation demo
pdfclock:
A little PDFlib application to draw an analog clock.
quickreference:
Mini imposition demo
starter_3d:
Load a 3D model and create a 3D annotation from it.
starter_basic:
Create some simple text, vector graphics and image output.
starter_block:
Import a PDF page containing blocks and fill text and image blocks with some data.
starter_color:
Demonstrate the basic use of supported color spaces
starter_fallback:
Starter sample for fallback fonts
starter_geospatial:
Starter for georeferenced PDF
starter_graphics:
Create some basic examples of vector graphics
starter_image:
Load and place an image using various options for scaling and positioning
starter_layer:
Define several layers, output images and text to them and define particular layers to be visible when opening the document
starter_opentype:
Demonstrate various typographic OpenType features after checking whether a particular feature is supported in a font
starter_path:
Create some basic examples of pathobject construction and use
starter_pcos:
Dump information from an existing PDF document
starter_pdfa1b:
Create PDF/A-1b conforming output
starter_pdfmerge:
Merge pages from multiple PDF documents
starter_pdfx3:
Create PDF/X-3 conforming output
starter_pdfx4:
Create PDF/X-4 conforming output with layer variants and transparency
starter_pdfx5g:
Create PDF/X-5g conforming output with a reference to an external page
starter_portfolio:
Package multiple PDF and other documents into a PDF portfolio
starter_pvf:
Create a PVF file which holds an image or PDF, and import the data from the PVF file
starter_shaping:
Starter sample for text shaping features
starter_table:
Create table which may span multiple pages
starter_tagged:
Create document with structure information for reflow and accessibility
starter_textflow:
Create multi-column text output which may span multiple pages
starter_textline:
Demonstrate various options for placing a text line
starter_type3font:
Create a simple Type 3 font from vector data
starter_webform:
Create a linearized PDF (for fast delivery over the Web, also known as "fast Web view")