PDFSign – .NET Signature component including C # Sample project for PDF, PDF/A and ZUGFeRD

PDFSign is used to sign PDF documents with an X.509 certificate. In addition to the single signature, larger quantities of documents can also be signed in the stack in a time-saving manner. Since the signing also guarantees that a document has not been changed afterwards, the signing must always be the last step of the document creation. A subsequent change would render the signature invalid.

   

PDFSign features:

  • PKI compatibility: PDFSign is completely PKI neutral and works with PKI components from any vendor, including CAs, certificates, CRLs, SmartCards, etc. The access and use of the certificates and associated private keys can be done via SmartCards, USB Token or PFX files. Also, a signature processing is supported via Hardware Security Module (HSM), provided that they have an MS-CAPI or PKCS # 11 interface.
  • PDF/A or ZUGFERD documents remain valid: PDFSign ensures that the PDF/A or ZUGFeRD compliance is maintained even when applying the (visible) signature.

  • Billing signatures: The PDF / A and ZUGFeRD PDFSign compatible signatures can be used to digitally sign both individual (interactive) and larger quantities (batch processing) of invoices. An EU Directive states that invoices sent electronically by all Member States are to be accepted if the authenticity (origin) and integrity (unalterability) can be ensured.
  • PAdES Standard: PDFSign is compatible with PAdES part 2 and PAdES-LTV (long-term validation) standard. The revocation information of the certificates is embedded (PAdES-LTV).
  • Long-term validation: With PDFSign, a long-term validation document can be signed and stamped with a time stamp. PDFSign supports advanced digital signatures that contain embedded RFC 3161 compliant secure time stamps. Such certificates may also be verified after expiry of the validity and after revocation of the certificate.
  • CAdES-T (time stamp) Support – CMS Advanced Electronic Signature (CAdES) – CAdES-T (Timestamp), inserts trustworthy time stamps to protect against repelability. Signing and verifying very large CAdES signed files (100 MB and more)A time stamp helps to determine whether a document has not been modified after the signature. Like signatures, timestamps are easier to verify if they are associated with a certificate of a trustworthy time stamp instance.

  • SHA256, SHA512 Algorithm and RSA2048: PDFSign also supports the SHA256 and the SHA512 hash algorithm (known as SHA2) as well as RSA2048 as well as longer keys.
  • Encryption of PDF documents

  • PDF Document confirmation: This electronic confirmation can be used to indicate that the content of the document has been checked and approved.
  • Signature display configurable: PDFSign offers all possibilities to configure the visual representation of the visibly displayed signature. In addition to a number of parameters, the position as well as the pages – first, last, all – can be defined.

PDFSign – X.509 Certificate Generator:

X.509 certificates form the basis of a public-key infrastructure (PKI). These are electronic legitimations, issued by a certification body (CA) and linked to a key pair consisting of a private and public key.

Digital certificates are typically issued by a trusted and certified institution (CA) that guarantees identity. These are delivered both on secure hardware such as SmartCard’s or USB token or as software certificatesWith PDFSign it is also possible to create self-signed certificates. These can be used exactly as official certificates, but they do not have any certification or assurance. Signed documents are technically equivalent could be rejected by third parties but not as trustworthy and reliable.

Functions – Certificate Generator:

  • Self-signed certificates, root or user certificates can be created and stored either in the Microsoft certificate store or as a PFX file.
  • SHA 256, SHA 512, RSA 2048, RSA 4096 Algorithms and key lengths can be used.
  • Key usage and extended key usage can be easily configured.
  • X.509 Certificates and their properties can be displayed.

PDFSign .NET component: The PDFSign .NET component can be used to develop Windows Server and desktop applications.

  • Visual Studio 2005 – 2012
  • Visual Studio 2013
  • Visual Studio 2015

programming languages

  • C#,
  • VB.NET,
  • ASP.NET,
  • Visual C++,
  • Windows PowerShell.

Supported Operating Systems:

Windows 7 or higher, including Windows Server 2012/2016 and Windows 10. PDFSign .NET component requires .NET Framework 3.5 or higher.

Downloadexecutable PDFSign 30 days test and demo application incl. C # project in SourceCode >>>

DownloadPDFSign – X.509 Certificate Generator – Standalone Version >>>

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.

PDFmdx-CL Version 1.0.25 – Commandline application available for PDFmdx

PDFmdx-CL is a command line application that allows to transfer PDF documents or whole folder structures to a PDFmdx service via the Web service interface and to store the results of the processing in a target folder.

PDFmdx-CL is a free add-on for the PDFmdx server, can be installed on any MS Windows workstations and requires no additional licensing.

PDFmdx-CL scope of application:

  • recognize PDF documents across fields and their contents by means of stored criteria
  • Split of document stacks into single documents by criteria
  • Read out field information from the documents and write it as a metadata (ASCII-TXT) file
  • PDF stationery underlay / overlay controlled via field contents
  • Sign PDF documents
  • Create PDF / A-1b or PDF / A-3b compliant documents
  • Fill PDF Infofelder with the read metadata
  • Copy text / watermark – fixed or via contents / variables from the document
  • 1D / 2D Barcodes – fixed or via contents / variables from the document

The PDFmdx server also offers the possibility to re-name the documents, save them on the server in a folder structure, send them by e-mail, or print them using the PDF2Printerprint server. These functions can only be used directly at the PDFmdx server, but not yet via the PDFmdx-CL application.

PDFmdx-CL features:

  • Command line application for PDFmdx.

 

  • Web service communication (SOAP) – local (host) or remote PDFmdx processing service.
  • Processing of individual PDF files as well as all PDFs of a folder / ZIP file or folder structures.
  • User interface for the configuration as well as to set default settings.

  • Create job templates (name / description) and select the processing template (s). Processing templates are created via the PDFmdx editor and are stored on the PDFmdx server.

  • New processing jobs can be created using an already created job template and filled with documents (individual or entire folders) – Required parameters are either specified or are defaulted by default.

  • The results documents (PDF’s + metadata) are downloaded to the specified destination folder
  • Job details can be displayed through the job list.

 

Download – PDFmdx-CL Commandline Add-on Client für PDFmdx >>>

FileConverterPro (FCpro) – Version 1.0.63 available

Innovations FCpro Version 1.0.63:

  • The conversion to PDF/A has been improved and completely re-implemented.
  • If a document can not be converted directly to PDF/A in the first step, there is also the possibility to render the document and create an image of the pages. The text is read from the source page and re-inserted into the target document without further OCR operation. This makes it possible to create a valid PDF/A document from documents which are normally not convertible to PDF/A. This corresponds to the original with regard to its visual appearance, but also contains the text for the search. Normally, such documents would have to be printed and re-scanned.

  • The software is now able to find out on which page an uncorrectable error occurs during PDF/A conversion. Thus, only those pages are “rendered” where a conversion error occurs and not the entire document.
  • If the PDF/A output is selected, the “rendering” is now activated by default with 200dpi.

Download – FileConverterPro (FCpro) ~150MB >>>

eDocPrintPro free / PDF/A-1b, 2b, 3b & ZUGFeRD Version 3.25.2 available

Innovations eDocPrintPro Version 3.25.2:

  • The current GhostScript AGPL version 9.21 is supported
  • The routines for the generation of PDF / A-1b, 2b, 3b and ZUGFeRD formats have been completely re-implemented.
  • In addition to ZUGFeRD XML, other files can also be embedded in the ZUGFeRD PDF. Only with ZUGFeRD option.
  • New version of the eDocPrintPro SDK 3.25 available to use the extensions from your own applications.

ZUGFeRD - neben dem XML lassen sich zusätzliche Anhänge einfügen

  • All plugins available for the eDocPrintPro can now also be used with the PDF/A & ZUGFeRD variant.

Depending on the plugin, it may be necessary to perform the action before the PDF/A or ZUGFERD processing. In order to apply a stamp or to deposit a stationery and only then to carry out the PDF/A and TRUE conversion as otherwise the conformity would be destroyed. On the other hand there are plugin actions, which can only be done after the PDF/A or ZUGFeRD conversion. Create a signature or send the created PDF file by e-mail. In order to control this, the INI file of the plugin provides the possibility to determine when (PRE, POST, LAST) the plugin action is to be executed.

Process=PREThe plugin is run before PostScript to PDF conversion. The plugin can be used to prepare folders or to insert commands into the Postscript code.

Process=POSTThe plugin is called after the conversion from PS to PDF and before an eDocPrintPro add-on postprocessing (SWF, PDF / A or ZUGFeRD) is executed. Required, eg. for the AddOverlay or PDFExport plugin

Process=LASTThe plugin is called after the eDocPrintPro add-on postprocessing (SWF, PDF/A or ZUGFeRD). Required, eg. for the EMail as well as signature plugin

If no add-on postprocessing (SWF, PDF / A or ACCESSORY) is executed, POST and LAST have the same meaning. If the “Process” parameter is not specified, the default value is Process = POST.

The INI files of the installed plugins can be found in C: \ Program Files \ Common Files \ MAYComputer \ eDocPrintPro \ Plugins.

Example INI – PDFExport & EMail Plugin:

Beispiel INI - PDFExport Settings  Beispiel INI - EMail Plugin

Download – eDocPrintPro free Version

Download – eDocPrintPro PDF/A & ZUGFeRD

GhostScript 9.21 Setup

pdfFM – PDF Folder Merge – Convert documents with the same name to a total PDF (/A)

With PDFmdx, document stacks can be easily split into single documents according to the most diverse criteria and named range contents can be named. Sometimes, however, it may also be necessary to automatically create documents with the same name from different sources in a certain sequence automatically into an overall document.

For a customer project, we have developed pdfFM – an application where 3 folders are specified. When processing, the folders are searched for documents with the same name, the same documents are added to a new total PDF in the order of the specified folders and stored in a destination folder. If a file is missing in one of the folders, these documents are moved to the error folder. A log file logs the processing. The processing can be executed either interactively or via command line call.

In addition to the merge to an overall PDF, the output file can also be converted to an ISO PDF / A-1b, 2b or 3b file.

pdfFM - Konfiguration  pdfFM - Commandline Parameter

iPaper Server Version 3.0.18 – now with PDF/A

The iPaper Server is a Windows service that can monitor multiple folders. PDF files to be processed are automatically recognized and processed via the configured actions.

The following iPaper actions are available:

  • stationery overlay/ underlay

11_iPaper Server - Briefpapier Aktion

  • EMailUsing SMTP server
  • Save asThe result PDF is stored in a folder
  • Call external command line processing with parameters
  • Insert Backside – Produces double-sided printed PDF documents
  • Attach / paste PDF document – before / after
  • Fill out PDF info fields
  • Apply security settings – Password / Encryption / PDF Restrict functions.

1_iPaper Server - Benutzeroberfläche  2_iPaper Server - Icon Tray Menü  3_iPaper Server - Optionen für den automatischen Start der Anwendung  4_iPaper Server - Vorlagenordner und Logging  5_iPaper Server - SMTP EMail Server Konfiguration für die Fehler-Benachrichtigung  6_iPaper Server - Versionsinformation und Produkt-Aktivierung  7_iPaper Server - Hinzufügen eines Verarbeitungs Ordners  11_iPaper Server - Briefpapier Aktion  12_iPaper Server - Weitere Aktionen hinzufügen und konfigurieren  12_iPaper Server - Verarbeitungs Optionen  13_iPaper Server - Email Konfiguration für Benachrichtigung von aufgetretenen Fehlern

 

Innovations Version 3.0.18:

  • PDF/A-1b and 3bThe defined stationery, as well as the results documents of the iPaper processing can be automatically converted to PDF/A-1b or 3b format. If the inserted stationery can not be automatically converted to PDF/A, please send us the PDF by mail and we will produce the necessary PDF/Aversions for you. PDF/A-3b is the basis for electronic accounting according to the ZUGFeRD standard. The PDF/A function is released as an additional option, but is available as a 30 day trial version after installation.

8_iPaper Server - PDFA Option aktivieren  9_iPaper Server - Briefpapier Ordner mit den PDFA Unterordnern  10_iPaper Server - PDFA - Manuelles Konvertieren der Briefpapier Vorlagen

  • New HTML editor with advanced features – Used to create templates and signatures for HTML messages used when sending emails.

17_iPaper Server - HTML Body & Signatur Editor

  • Embed images into the HTML message – This means that externally referenced and only locally available images of the HTML message are embedded and sent directly in the message when sending the e-mail.

16_iPaper Server - eMail Aktion - Bilder einbetten

  • AutoPrint Action has been re-implementedDocuments are printed faster and there are additional parameters for orientation and print mode. Here “AutoRotate” is an important function. There is an automatic page rotation. For example An A4 horizontal format is automatically rotated to A4 in order to make the best use of the page and not to reduce the page size.

13_iPaper Server - neue AutoPrint Aktion mit Druckoptionen  14_iPaper Server - AutoPrint Aktion - Ausrichtung  15_iPaper Server - AutoPrint Aktion - Druck Modus Optionen

Download – iPaper Server – Windows Dienst / Folder Monitoring >>>

PDFmdx – Video – Automatically send invoices via EMail

This PDFmdx application example shows how a PDF document reads out areas and the information is subsequently used for automated email sending of the finished invoice.

  • Fields and areas are defined to: – read the company, the invoice number, the invoice date and the e-mail address from the document.
  • The input file is named based on the information read out. A PDF stationery is deposited. In addition, the read-out invoice number is applied to the invoice as a 1D bar code and a 2D QR code with a web link.
  • As a last step, an email message is generated via an HTML EMail template. Variables which have been inserted in the subject and in the message text are replaced with the read-out information. The PDF invoice as well as additional files are inserted as attachments and then automatically sent via an SMTP EMail server.

 


PDFmdx Version 3.2.5 available

Innovations PDFmdx Version 3.2.5:

  • New option for sending HTML emails – So far it was only possible to use external links, which were also available for the recipient, for pictures in the message. Now the images are embedded directly into the HTML message – either “all images” or “only the local images”. This means that no external resources accessible to all receivers need to be used.

HTML Body - Referenzierte Bilder werden im EMail eingebettet verschickt

  • If the option to preserve the creation date / time is activated, then this information is now also transferred from the output file for files or subfiles that are moved to the error folder.
  • The% COUNTER% variable now supports values> 9999
  • If the “Delete Blank Pages” function is active and a document is processed with only one blank page, it now correctly lands in the error folder and not in the destination folder.

Download – PDFmdx Template Editor & Processor >>>

PDF2Printer – New Version 2.0.2

What’s New PDF2Printer Version 2.0.2:

  • New PDF printing engine delivers improved quality when printing 1D and 2D barcodes – Barcodes can be generated and displayed in PDF via barcode fonts, lines or graphics. Certain label printers, however, had problems with the printing engine used so far and the prints were out of focus or had “stapling effects” on the black edges. Especially with 1D / 2D barcodes, this can lead to the barcode recognition no longer working reliably. This problem has now been fixed with the new PDF printing engine – sharp edges are now always generated and printed.
  • New function – print mode / scaling: Now you have the possibility to control the scaling of the prints as with the Adobe Reader
    • Fit to page – optimizes the printout – preserves the page ratio – adjusts the print horizontally or vertically to the maximum of the page.
    • Current size = 1: 1 – The printing is done with 100% – there is no adjustment to the page size
    • Decrease to page – If a print is smaller than the page, the printout will be 100%, If the print is larger than the page, the print will be reduced to fit the page.
    • Scaling (%) – Standard = 100% – Here you can adjust the size of the print up or down over a% set.
  • New function – Alignment: Alignment can be either automatic or fixed.
    • Automatic – For example, An A4 horizontal format for printing automatically to A4 high. The sheet is thus optimally utilized. Scaling is also not necessary in this case.
    • Portrait / Landscape – The print always takes place in the configured page orientation – The printout is adjusted to the page. An A4 aspect ratio is reduced so that it can be printed on an A4 portrait page.

 

PDF2Printer - Neue Druckfunktionen - Ausrichtung & Druck Modus

Download – PDF2Printer –  Service to print PDF’s automatically >>>