Components for Developers
© 2000-2009, Two Pilots

PDF Library   Virtual Printer   Converters   Squirrel   HTML_QuickForm   Design Service

Two Pilots blog

Payday loans

PDF Creator Pilot: Significant improvements in emf2pdf converter

September 9th, 2012

Many companies in a creation of documents use your logos as images in the headers or footers. Usually these logos are placed on each page of the document. When we need to convert a document to PDF, then we have a problem of PDF file size reduction. The solution is using reference to the image instead of embedding the identical images on each page. Fortunately, PDF format allows us to do this. A similar problem arises in cases when on the page (s) we use several identical images. In this case, too, в can insert only one copy of image in a document, and in other places we can use just a link to this image. And the size of the output file will be significantly reduced.

Like that we were able to optimize emf2pdf converter in our PDF library. As a consequence, the size of the generated PDF file was decreased in proportion to a quantity of images contained in emf files. The below you can see comparative data, which we have obtained during testing on real emf files from our users. The size of each picture was 160 KB. Before optimize, the resulting PDF document had a size 2.9 MB, after optimization the size is 0.9 MB. So, after deletion of the same image, file size was reduced by more than 3 times. We also recommend to use compression of PDF documents for reducing the file size by using the property Compression. In some cases, this can reduce the file size in 2 or more times.

The latest version of the library is available here.
Always actual documentation is available online here.
Tutorials and examples can be found here.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

2012 News from Two Pilots

April 25th, 2012

We have released several new products and software updates.

A new .NET version of our PDF2Text Pilot converter has been released. The PDF2Text Pilot program extracts text from PDF documents using the PDF Mosaic library. PDF2Text Pilot is free software that converts PDF documents into text files. In addition to having a convenient and intuitive interface, converter has a command line.
Currently we are testing and preparing to release a new program, Merge&Split PDF, a product for splitting and merging PDF documents. This product also is based on our PDF SDK.

Not long ago we released a new Active-X library for converting HTML files to PDF documents, HTML2PDF-X. HTML2PDF-X uses the WebKitrendering engine to convert HTML to PDF. This product is very useful when you want to save an HTML site (for example, an online version of a newspaper, news feed, etc.) as a PDF document.

In early March, we released the next version of our library for creating and editing PDF files, PDF Creator Pilot. The latest version fixes a few bugs and makes several improvements. See the changelog for details. This PDF library can create, open, merge, or otherwise manipulate PDF files. You can use the PDF library’s commands as well as WinApi functions. PDF security, font embedding, different font charsets, and document compression also are supported.

Also in early March, we released a new version of our virtual printer. Virtual Printer SDK generates output in the form of standard raster or vector formats from your program (or from any other software application meant to produce printed forms). Your application receives the files, and can then perform any final actions (moving files, transferring files, etc.). You should delete files from the output directory when you are finished.

Our company is continuously working to create new products and to improve existing ones. Subscribe to our news to be kept up to date on developments.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

Compare PDF Creator Pilot Library and PDF Mosaic SDK

December 2nd, 2011

PDF Creator Pilot SDK

PDF Creator Pilot is a library for creating PDF files from Visual Basic / Visual Basic .NET, Delphi, Visual C++, VBScript, ASP / ASP.NET, C#, PHP and Python. PDF Creator Pilot uses ActiveX (also known as COM) technology. You can use the library from any programming language
that can use ActiveX components. PDF Creator Pilot allows you to generate PDF files on the fly. It is ideal SDK for creating web- and desktop applications with dynamic PDF document generation and manipulation. PDF Creator Pilot includes detailed online documentation with the step-by-step tutorials for creating pdf files.

This PDF library can create, open, merge or otherwise manipulate PDF files. You can use the PDF library’s commands as well as WinApi functions (virtual device context (PDF’s HDC)). PDF security, font embedding, different font charsets, document compression are also supported.

 

PDF Mosaic Library .NET

PDF Mosaic allows you to create, merge and modify PDF documents. Simple yet powerful API will help you to process PDF documents with ease. PDF Mosaic does not require any third-party applications or libraries to generate or modify PDF documents. PDF Mosaic is a C# library, it is created for .NET Framework 2.0 and later. PDF Mosaic SDK for developers who program in C#, J#, Vb.Net, JScript.Net, and who need to process PDF files (create, open, paste, split, modify, and more).The library has more than 500 supported functions for working with PDF documents. Library opens and reads pdf files using scoped parsing of document’s content.

PDF Mosaic Library has the step-by-step tutorials for creating pdf documents using .NET.

 

You can use the following feature comparison as a guide to determining whether you require PDF Creator Pilot Library or PDF Mosaic .NET Library.

PDF Creator Pilot PDF Mosiac .NET SDK
Create and read existing PDF documents Yes Yes
Merge and split PDF documents Yes Yes
Adding and deleting PDF document’s pages Yes Yes
Unicode support Yes Yes
Create watermarks for each page Yes Yes
Add thumbnails to a PDF document Yes Yes
Standard (base 14), TrueType, Type1, OpenType fonts reading and embedding Yes Yes
Support for Eastern European, Turkish, Baltic, Russian, Greek, and CJK character sets Yes Yes
Create interactive PDF documents using JavaScript and hyper links Yes Yes
Interactive AcroForm elements: text fields, buttons, radio buttons, combo- and check boxes Yes Yes
Encryption (40, 128 bit) and password protection Yes Yes
Create and manipulate tree-like outlines Yes Yes
Virtual device context (HDC) for drawing with WinAPI functions Yes
Use images in various formats (JPEG, TIFF, PNG, BMP, GIF) Yes Yes
Create and use annotations Text, FileAttachment, Sound, Movie, and more Yes Yes
Generate a PDF document on disk or in memory (for web applications) Yes Yes
Simple graphics: ellipses, rectangles, circles, pies Yes Yes
Complex graphics: free form paths, clipping, polygons, text Yes Yes
Change opacity level and blend mode for text and graphics Yes Yes
RGB, CMYK and Grayscale colors, ICC Yes Yes
Extracting text from PDF documents Yes Yes
Hyperlinks, destinations, events Yes Yes
Actions (GoTo, Launch, URI, SubmitForm, ResetForm, JavaScript) Yes Yes
Graphics templates Yes
Create, read and modify Document Info Yes Yes
Support of Layers (Optional Content Groups) Yes Yes
Set and get ViewerPreferences, PageLayout, PageMode Yes Yes
Creation and manipulation of PDF tables Yes Yes
Text formatting, output of multi-column text Yes Yes
No differentiation between client and server application Yes Yes
Creation of PDF/A and PDF/X files Yes
3D Annotations Yes
EMF Conversion Yes
Digital Signatures
Ability for displaying and printing PDF documents (view and render PDF) Yes
Uncompress and Re-Compress PDF documents Yes Yes
Fill PDF forms Yes Yes
Translate, rotate and scale multiple pages to a single page Yes Yes
100% PDF Acrobat compatible Yes Yes
Transparent masks Yes Yes
Windows XP/2003/Vista/7, x64 (64-bit architecture) support Yes Yes

 

See also Virtual Printer SDK for Win 7, C++, C#, Delphi, VB.NET, VB (royalty free)

Virtual Printers is EMF virtual printer for software developers with custom name and features.

Some use cases:

  • Customer uses the driver to print an invoice, extract text, generate a unique ID based on that text content, and put this ID on the PDF version of an invoice;
  • Customer converts a document to a PDF and, after collecting user input in a custom application, uploads the PDF with collected data to a web service;
  • Customer creates reports in TIFF and TXT formats and uploads them to an FTP server;
  • Customer uses preprocessing to extract textual commands from a print job and then a custom client application uses these commands for business logic;
  • Customer uses preprocessing to configure the watermark settings and business logic of a custom client application;
  • Customer uses virtual driver with POS printers.

Look a virtual printer examples for C++, C#, Delphi, VB.NET, VB.

The PDF Creator Pilot library is used in the Virtual Printer to generate PDF documents.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

New Version of PDF Creator Pilot Has Been Released.

July 31st, 2011

Our company released the next version of PDF Library – PDF Creator Pilot 4.3.3256. In the new version of PDF Library we improved a quality of converting EMF files to PDF documents. We’ve added new method DrawPageOnPage for grouping multiple pages on single page in the pdf documents. We improved the process of extracting text from pdf documents (see methods GetPageText, GetDocumentText). We fixing some bugs in interactive forms, in opening PDF files, in rasterizator, and more (you may see the history here).

Free version of PDF Library for C++, C#, Delphi, ASP, ASP.NET, VB, VB.NET, VBScript, PHP, Python you mau download here.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

The new PDF library from Two Pilots company

April 12th, 2011

Our company has released a new PDF library, which is a full featured library for creating and editing PDF files by easy and flexible way. The new name of the library is PDF Mosaic. We invite you to visit the site of library –  http://www.pdfmosaic.com/.
PDF Mosaic may modify, merge, and split existing PDF files, or move pages from existing PDF files into new PDF documents. The most important goal of the library – it’s easy to use.
Main features of the library:
Drawing: points, lines, boxes, circles, Bezier curves, polygons, stars, free form paths.
Text: Unicode support, insert hyperlinks.
Supports the insertion of the following image types: BMP, PNG, JPEG, TIFF.
You may download the latest version of the library from the site http://www.pdfmosaic.com/ or direct from this link – http://www.pdfmosaic.com/download/.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

Feature for grouping multiple pages on single page in the pdf document

March 17th, 2011

The library of PDF Creator Pilot has feature for combining 2, 3, 4, etc. pages in a single page in the pdf document. For this purpose, we added a function DrawPageOnPage, which has the following options:

srcPageIndex – Index of the source page;
destPageIndex – Index of the destination page;
left – The x-coordinate, in pixels, of the upper-left corner of the destination rectangle;
top – The y-coordinate, in pixels, of the upper-left corner of the destination rectangle;
width – The width, in pixels, of the destination rectangle;
height – The height, in pixels, of the destination rectangle.

An example of using this function. Assume that we have a pdf file with 4 pages and wish to draw  (group, fit) them on single page.

// PDF object is supposed to be created
// PDF file contains 4 pages A4
PDF->Open(”4pagesA4.pdf”, “”);

// Add a new page for drawing at end of document
PDF->NewPage();
PDF->PageSize = pfA4; // set any page size here

PDF->CurrentPage = 4; // index of new page
long height = PDF->PageHeight;
long width = PDF->PageWidth;

// Draw page on the page.
PDF->DrawPageOnPage(0, 4, 0.0, 0.0, width/2, height/2);
PDF->DrawPageOnPage(1, 4, width/2, 0.0, width/2, height/2);
PDF->DrawPageOnPage(2, 4, 0.0, height/2, width/2, height/2);
PDF->DrawPageOnPage(3, 4, width/2, height/2, width/2, height/2);

PDF->SaveToFile(”result.pdf”, true);

You may see the result of groupinf pages here: result.pdf

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

Exif Pilot supports two interfaces

February 9th, 2011

The company  “Two Pilots”  has released a new version of Exif Pilot. Exif Pilot 4.3 – the advanced version of the Free EXIF-Editor, which allows one to review, edit and create EXIF and IPTC data not only in an application window, but also in Windows Explorer.

Exif Pilot is a Free EXIF-Editor which supports a paid Plug-in for Batch Editing of graphic files.

The new version of the program has a number of improvements:
- a unique program which unites in itself two interfaces which work with EXIF, IPTC and XMP data;
- integration with the operating system, and extended capabilities to work with image metadata;
- a new type of export to MS Excel File (at the level of Tag-Names in the table)

ExportMSExcel

- convenience, simplicity and speed of use;

If you need to see, create, or edit EXIF, EXIF GPS or IPTC information, we recommend to you our new version of Exif Pilot.

Ira Cheredova,
Two Pilots
http://www.colorpilot.com

PDF Creator Pilot and VBA

January 26th, 2011

PDF Creator Pilot is a COM library and as all that libraries it may be used in a VBA (Visual Basic for Applications).

To use it in your macros you need to do the folowing:

  • Open the Macros dialog and select existing or create a new one
    m1
  • In the macros editor window add a reference to the PDF Creator Pilot library
    m2
  • In the References window find and check “PDF Creator Pilot Type Library” string
    m3
  • Now declare the variable and you are ready to use the PDF Creator Pilot
    m4

Max Filimonov,
Two Pilots Developers Team.

EMF to PDF Converter

January 20th, 2011

PDF Creator Pilot’s EMF converter is one of the best in the world. We are working on improving our EMF converter always. EMF to PDF feature can convert EMF (Enhanced MetaFile) to PDF document file for reading with Adobe Reader and other PDF Readers. For converting EMF files you need just call method PlayMetaFile. See example “How to Convert a Metafile to a PDF Using C++“. With EMF to PDF conversion, users can encrypt PDF documents, add password, compressing, text and images, etc.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

News from the PDF Library Laboratory

December 31st, 2010

We are working to improve the quality of pdf-files created by PDF Creator Pilot library.  Significant improvements have been made in that part of the library, which converts the emf-files in pdfs. Including:

1. Fixed bugs with incorrect positioning for right text align in EMF.
2. Added support for “brush with hatch” style in EMF.
3. Improved working with the AlphaBlend function in EMF.

The latest version of the library PDF Creator Pilot 4.3.2000 is available for download:

PDF Creator Pilot 4.3.3200
PDF Creator Pilot 4.3.3200, x64 edition

Artem Golubnichenko.


PDF Library   Virtual Printer   Converters   Squirrel   HTML_QuickForm   Design Service

 

Support | Blog | Forum | Contacts | About | Site map

© 2000-2009, Two Pilots