Manufacturer: Quartam Software

Quartam PDF Library for Revolution lets developers produce PDF documents from code - PDF documents that can be opened with Adobe Acrobat, Apple MacOSX Preview and other PDF viewer applications. They are a popular means to exchange information that displays properly even when crossing computer platforms.
Key Benefit
The Basics
Quartam PDF Library works with the paradigm of documents and a set of commands to create items in these documents - this approach lets you create multiple PDF documents at the same time, which can save a lot of time if you're creating multiple reports based on the same set of data.
You create a document; add pages; draw graphics, images and text; finally output the PDF data to a file; and then free up the memory. With automatic page breaks and callbacks to let you draw page headers and footers, you have all the power at your fingertips to create PDF files from your Revolution-based applications.
Best of all, it is written in 100% Revolution, no externals needed!
And it works for your version and platform: Revolution 2.6, 2.7 and 2.8 on Mac OS X, Windows and Linux.
Features
Quartam PDF Library brings you pin-point precision with flexible units, you can use points, millimeters or inches and convert from one unit to another with built-in functions.
It offers a full range of page sizes including A0 - A10, B0 - B10, C0 - C10, RA0 - RA4, SRA0 - SRA4, Executive, Folio, Legal, Letter.
If none of these is what you want, you can easily set a paper size of your own.
There is extensive graphics support for lines, rectangles, rounded rectangles, ovals, arbitrary polygons, regular polygons and bezier curves. You can specify precision graphic settings: line widths, caps, joins, dashes and phases.
You can embed images. Quartam PDF Library currently supports most PNG and JPEG images. Other formats will be added in the near future.
Solid text support. You can pick from several commands to write text in a box, area or table, automatically create new pages as you write blocks of text and even use the text alignment you need for that perfect output: left, right, center and justify are all supported.
Other features include the ability to set metadata information including author, creator, keywords, subject and title, control the way the PDF file is displayed by setting zoom and layout modes, add bookmarks and both internal and external links for navigation and optional callback messages to draw page headers and footers.
How to use Quartam PDF Library
Quartam PDF Library enables Revolution developers to create PDF documents by script - you create a document; add pages; draw graphics, images and text; finally output the PDF data to a file; and then free up the memory. Below is a simple 'Hello, world!' example to illustrate the basic workflow :
on mouseUp
ask file "Save as:" with "demo1.pdf"
if it is empty then exit mouseUp
put it into tFilePath
-- create a new PDF document with default
-- > units = millimeters
-- > page size = A4
-- > orientation = portrait
-- save the document reference for later library calls,
-- then open the document and add an empty page
put qrtPDF_CreateDocument() into tDocRef
qrtPDF_OpenDocument tDocRef
qrtPDF_CreatePage tDocRef
-- set the current text style with
-- > textfont = Arial
-- > textstyle = bold
-- > textheight = 18
qrtPDF_SetFont tDocRef, "Arial", "bold", 18
-- write the text in an invisibe box
-- > starting at 40mm from the left edge of the paper, and 10mm from the top
qrtPDF_WriteTextBox tDocRef, 40, 10, "Hello, world!"
-- close the document, save it to a file and remove its data from memory
qrtPDF_CloseDocument tDocRef
qrtPDF_SaveDocument tDocRef, tFilePath
qrtPDF_DeleteDocument tDocRef
end mouseUp
With automatic page breaks and callbacks to let you draw page headers and footers, you have all the power at your fingertips to create PDF documents from your Revolution-based applications.
Download the demo version to explore the example scripts.