SmalltyPDF for Cincom Smalltalk extends the Cincom Smalltalk printing framework with PDF document creation. SmalltyPDF works analogously to the existing HostPrinter and PostScriptPrinter printers and covers the common functionality of both printer classes.
Applications that use HostPrinter or PostScriptPrinter for printing can create PDF documents with SmalltyPDF without any code changes. SmalltyPDF is set manually via the Cincom Smalltalk Setting tool or programmatically via a simple method call (Printer usePDF).
The PDFPrinter is based on the free library "Haru Free PDF Library". This library is provided under the ZLIB/LIBPNG license and can therefore be shipped with commercial applications.
Unlike printing with "Print To PDF", SmalltyPDF:
- Assign name of the PDF file programmatically
- Use PDF internal fonts
- Scaling without loss of quality:
-
with SmalltyPDF
-
with HostPrinting
- different page sizes in one PDF document
- Mark PDF document and add comments
- PDF/A documents
- Attachments
- encrypted documents
- color profile included