PDFAttex – .NET / COM extract component to ZUGFeRD XML and other attachments from a PDF

PDF, PDF / A-3 as well as the ZUGFeRD format make it possible to use PDF documents as containers to embed any files into the PDF. The recipient needs a way to extract the embedded files. This can be done interactively, eg. through the Adobe Reader. However, if you want to automate this process, you need an appropriate software component, which can be integrated into an application to read and save the attachments.

For the ZUGFeRD format, there is a free CommandLineTool – ExtractZUGFeRD-XML as well as a .NET / COM component with PDFAttex. This is now included as an extension in the eDocPrintPro SDK.

PDFAttex features:

  • .NET / COM component
  • C# Sample / test application with source code
  • Read how many attachments are included in the PDF
  • Read and save individual or all attachments (name, extension) from a PDF, PDF / A-3 or ZUGFeRD file
  • Read out with which PDF / A level the file was created – PDF / A-1b, 2b, 3b

PDFAttex as a 32bit COM component:

VisualBasic6 (VB6) requires, for example, a 32bit component.By default, VB can not deal with .NET components created for a mixed-32 / 64bit environment. Therefore, we provide a 32bit variant of the DLL. To be able to be addressed, this DLL must first be registered with the 32bit RegAsm.exe from .NET 2.0. For this, the following command should be executed as an administrator via a CMD file: “C:\Users\Admin\Desktop\VB Sample\RegAsm.exe” “C:\Users\Admin\Desktop\VB Sample\PDFAttex.dll” /codebase. Then, in VisualBasic, the component is available in the list of existing references and can be used.

PDFAttex is part of the eDocPrintPro SDK and requires .NET Runtime version 2.0.

eDocPrintPro – Version 3.24.1 – PDF, PDF/A, ZUGFeRD, SDK

Innovations Version 3.24.1:

With version 3.24.1. some extensions and improvements have been made that are not directly on the user interface visible and affect all versions of the printer driver.

ESFX new file format for the profiles: All printer driver settings can be saved as a profile and retrieved when needed. So far, the ending ESF was used. The profile data generated via the user interface, as well as those that could be created through the SDK were not compatible due to historical reasons. That is why we have implemented a new unified XML data format with the extension ESFX. This is now compatible between User Interface and SDK function.

Similarly, the profile function was to User Interface and SDK been enhanced that now all settings eDocPrintPro add-ons PDF / A-1,2,3 ZUGFeRD, FLASH / SVG, and configuration of the plugin chains stored in the profiles and reloaded.

SDK Extensions: Saving and loading the add-on settings as XML. Function to save all settings of the driver as XML (ESFX) and load again. Speed optimization in the communication of SDK with the Printer Driver. Possibility for PDF / A-3 enable / disable the option to query the attachments via SDK. Function to determine the version number of the installed printer driver eDocPrintPro.

Neues Datenformat ESFX für die Profile  PDFA-3 Einstellungen können jetzt über Profile gespeichert und wieder geladen werden #1  PDFA-3 Einstellungen können jetzt über Profile gespeichert und wieder geladen werden #2  edoc SDK mit PDFA3 - AttEnabled   eDocPrintPro SDK Neuerungen Version 3_24_0 #1  eDocPrintPro SDK Neuerungen Version 3_24_0 #2  eDocPrintPro SDK Neuerungen Version 3_24_1

Download – eDocPrintPro, PDF/A, ZUGFeRD

Download – eDocPrintPro 32 und 64bit (ca. 63 MB) >>>
Download – eDocPrintPro PDF/A 32 and 64bit (ca. 63 MB) >>>
Download – eDocPrintPro ZUGFeRD – PDF/A-3 Druckertreiber >>>

GhostScript 9.18.1 Setup

Download – GhostScript 9.18.1 MSI Setup – 32bit (ca. 16MB) >>>
Download – GhostScript 9.18.1 MSI Setup – 64bit (ca.16MB) >>>

eDocPrintPro & SDK Version 3.23.0 available

New Version 3.23.0:

  • Implementation of events for scheduling

In tests with high load, if a large amount of print jobs in quick succession respectively arriving parallel from several programs at or users in the print spooler of eDocPrintPro, we realized that it can sometimes happen that events are lost.

Thus, for example, at 1000 Press Jobs some documents lost”. In and of itself the problem was not noticed previously because normally must be made a sequence control via the eDocPrintPro SDK. Here, a print job should be started only when an event for the completion of PDFs sent by the previous job.

However, there are also area of application where it is not possible to integrate a sequence control over programming in the application, and therefore the application generates many individual jobs respectively pages in quick succession. The following application should, however, realize all single jobs and process them without the printed application can be controlled, as no program-controlled intervention in the printing application is possible to synchronize the pressure with the further processing of PDFs.

With version 3.23.0 which now works reliably even in the parallel multithreaded processing of print jobs 100%. Even at high load and at a large number of PrintJobs that are processed through the print queue no events and no documents are lost. For reasons of the memory usage, the number of parallel threads should not be too high. In our SDK example, we have this number is limited to 50. The SDK Version 3.23.0 also includes a C # sample project Multithreaded Batch Printing demoincl. Source code to show how this can be applied in your own applications, and enables this feature to test.

 eDoc SDK Multithread Batch Print Test application

  • Czech and Slovak available as new languages for the user interface eDocPrintPro. Languages are automatically set on the language of the operating system, but can also be selected manually.

eDocPrintPro - Auswahl der verfügbaren Sprachen

Download – eDocPrintPro 32 and 64bit (ca. 63 MB) >>>

eDocPrintPro SDK – extended with the PDF/A and ZUGFeRD functions

The eDocPrintPro SDK makes it possible to request and set all settings and configuration-options of the PDF printer-driver from an own application. Beside the plugin-interface, the functions of the driver can also be extended via “Add-On” modules.

The PDF/A as well as the ZUGFeRD format was implemented as such Add-Ons’s. Each Add-On has a range of properties which also can be requested and set. Which properties are available for an Add-On can be seen in the SDK-documentation.

With the current version of the eDocPrintPro SDK it’s now also possible to read and set the properties for the PDF/A and the ZUGFeRD Add-On. Also a sample was added which shows how especially the ZUGFeRD parameters can be read and set.

eDocPrintPro SDK - PDFA Add-On properties  eDocPrintPro SDK - ZUGFeRD Add-On properties   eDocPrintPro SDK - Beispiel zeigt wie Add on Parameter ausgelesen und gesetzt werden können  eDocPrintPro SDK - Eigenes ZUGFeRD Beispiel um Parameter auszulesen und zu setzen

eDocPrintPro 3.19.0 – New SDK version available

With the version 3.19.0 there also is a new SDK available now.


  • The PDF/A level 1 to level 3 functions can be used through the SDK now.
  • VBA support for MS-Office 32 and 64bit was added, VBA sample macros are available.
  • The, in the source code or as VS-projects, delivered applications got extended with the new functions.
  • The CHM (Compiled HTML Help) documentation got updated and supplemented.

The SDK offers samples for the following environments as source code or VS-projects:

  • 32bit application under 32bit OS – C# / VB.NET / VB6
  • 32bit application under 64bit OS – C# /  VB.NET / VB6
  • 64bit application under 64bit OS – C# / VB.NET

eDocPrintPro SDK documentation  eDoCPrintPro SDK Demo

To use the functions of the SDK under the different operating systems and with varying printer versions there is a SDK demo. With it the printer settings can be read or set. The events from the printer for start and end of the printing process = creation of the PDF file gets evaluated and shown on the user interface.

Testprogramm um die Events des Treibers anzeigen zu können  eDocPrintPro SDK Demo Anwendung

Download – eDocPrintPro SDK Demo 32 und 64bit >>>