Pdf to pdfa converter
Author: c | 2025-04-24
PDF to PDFA converter. Best way to convert PDF to PDFA files online at the highest quality. This tool is free, secure, and works on all devices.
PDF to PDFA, Convert PDF to PDFA, PDFA Converter
On error.getNumPagesReturnsthe number of pages in the specified PDF/TIFF document.Syntax Res = NVDC.getNumPages(fileName)Parameters filename - path to file; getBaseNameReturnsthe file name (less any file extension) from a path.Syntax Res =NVDC.getBaseName(path)Parameters path - file path; getExtensionNameReturnsthe file extension from file name.Syntax Res =NVDC.getExtensionName( filename )fileExistsChecksif a specified file exists.Syntax Res = NVDC.fileExists(fileToCheck)Parameters fileToCheck - path to the file to check;isFileInUseChecksif a specified file is in use (locked).Syntax Res = NVDC.isFileInUse(fileToCheck)Parameters fileToCheck - path to the file to check;fileCopyCopiesa file from source to destination.Syntax Res = NVDC.fileCopy(srcFile,destFile)Parameters srcFile - path to source file; destFile - path to destination file;fileDeleteDeletesa specified file.Syntax Res = NVDC.fileDelete(filename)Parameters filename - path to the file to delete;createFolderCreatesa folder.Syntax Res = NVDC.createFolder(fldrName)Parameters fldrName - folder name; copyFolderCopiesa folder from source to destination.Syntax Res =NVDC.copyFolder(srcFolder, destFolder)Parameters srcFolder - source path; destFolder - destination path; deleteFolderDeletesa specified folder and its contents.Syntax Res = NVDC.deleteFolder(foldername) Parameters foldername - path to the folder to delete; converterPathReturnsthe path to the Document Converter.Syntax Res = NVDC.converterPath Data Type: String isConverterActiveChecksif Document Converter is in the memory.Syntax Res = NVDC.isConverterActive DataType: BooleanGUIDReturnsan unique identifier. Syntax Res = NVDC.GUID Data Type: StringConversionparameters - GENERALDocumentOutputFormatSetsthe output format.Possible values: "PDF", "PDFA", "PDFA2", "PDFA2u", "PDFA3", "PDFA3u", "PS", "EPS", "PNG", "JPG", "TIFF", "FAX", "PCX", "PSD", "PRINTER", "PCL-XL", "SEND VIA FAX".Syntax NVDC.setParameter("DocumentOutputFormat", value)Data type: StringNote: Can only be set before calling the submitFile method.Note: “PDFA” = PDF/A-1b, “PDFA2” = PDF/A-2b and “PDFA3” = PDF/A-3bDocumentOutputFolderSpecifiesthe folder where the converted document will go.SyntaxNVDC.setParameter("DocumentOutputFolder",value)Data type: StringNote: Can only be set before calling the submitFile PDF to PDFA converter. Best way to convert PDF to PDFA files online at the highest quality. This tool is free, secure, and works on all devices. PdfMachine SDK - API for ZUGFeRD / Factur-x invoice generation ZUGFeRD 1.0 ZUGFeRD 2.1.1 / Factur-x 1.0 SOAP Web Service ZUGFeRD 1.0 The pdfMachine SDK can be used to attach xml files to PDFA/3b PDF files to form valid ZUGFeRD 1.0 invoices. The input xml and PDF files must conform to the ZUGFeRD 1.0 documentation. When the fileName parameter of the attachFile method is "zugferd-invoice.xml" then the ZUGFeRD 1.0 metadata will also be inserted into the PDF. The wsdl file for the SOAP Web service installs with the SDK. Method : attachFile Attach an xml to a PDF to form a ZUGFeRD 1.0 compliant PDF. Parameters : inPDF Array of base64 Binary encoded bytes.The PDFA/3b PDF component of the invoice. fileData Array of base64 Binary encoded bytes.he xml representation of the invoice. fileName stringThe name that will be used for the embedded xml. Must be "zugferd-invoice.xml" fileDescription stringThe PDFA/3b PDF component of the invoice. ZUGFeRDtype stringThe corresponding ZUGFeRD 1.0 conformance level consistent with the xml file passed in.BASIC, COMFORT or EXTENDED Parameters : Result Object consisting of outPDF Array of base64 Binary encoded bytes.The resulting PDF. errorMessage stringError Message. ZUGFeRD 1.0 Example C# Parameters : Input PDF path and filename, Input xml attachment path and filename, output PDF path and filename. Optional : url for EndPoint address. using System;using System.Text;using System.IO;using System.ServiceModel;namespace CSharpSoapClientTest{ class Program { static void Main(string[] args) { try { string inPDF = args[0]; string inXML = args[1]; string fileName = "ZUGFeRD-invoice.xml"; string fileDescription = """; string ZUGFeRDtype = "BASIC"; string outputPDF = args[2]; string url = ""; if (args.Length > 3) url = args[3]; ServiceReference1.pdfServMachinePortTypeClient pdfM; pdfM = new CSharpSoapClientTest.ServiceReference1.pdfServMachinePortTypeClient(); if (url.Length > 0) pdfM.Endpoint.Address = new EndpointAddress(url); byte[] pdf = File.ReadAllBytes(inPDF); byte[] xml = File.ReadAllBytes(inXML); string errorMessage; byte[] outPDF = pdfM.attachFile(pdf, xml, fileName, fileDescription, ZUGFeRDtype, out errorMessage); if (errorMessage.Length > 0) System.Console.WriteLine("Error testing attachFile : " + errorMessage); System.IO.File.WriteAllBytes(outputPDF, outPDF); } catch (System.Exception ex) { System.Console.WriteLine(ex); } } }} ZUGFeRD 2.1.1 / Factur-x 1.0 The pdfMachine SDK can be used to attach xml files to PDFA/3b PDF files to form valid ZUGFeRD 2.1.1 / Factur-x 1.0 invoices. The input xml and PDF files must conform to the rules for the ZUGFeRD 2.1.1 / Factur-x 1.0 documentation. Attachments and Explanatory Documents for Invoices can also be attached consistent. The wsdl file for the SOAP Web service installs with the SDK. The API consists of : Exceptions should be caught to trap errors. Method : attachZugferdInvoice Attach an xml to a PDF to form a ZUGFeRD 2.1.1 / Factur-x 1.0 compliant PDF. Parameters : inPDF Array of base64 Binary encoded bytes.The PDFA/3b PDF component of the invoice. inXML Array of base64 Binary encoded bytes.The xml representation ofComments
On error.getNumPagesReturnsthe number of pages in the specified PDF/TIFF document.Syntax Res = NVDC.getNumPages(fileName)Parameters filename - path to file; getBaseNameReturnsthe file name (less any file extension) from a path.Syntax Res =NVDC.getBaseName(path)Parameters path - file path; getExtensionNameReturnsthe file extension from file name.Syntax Res =NVDC.getExtensionName( filename )fileExistsChecksif a specified file exists.Syntax Res = NVDC.fileExists(fileToCheck)Parameters fileToCheck - path to the file to check;isFileInUseChecksif a specified file is in use (locked).Syntax Res = NVDC.isFileInUse(fileToCheck)Parameters fileToCheck - path to the file to check;fileCopyCopiesa file from source to destination.Syntax Res = NVDC.fileCopy(srcFile,destFile)Parameters srcFile - path to source file; destFile - path to destination file;fileDeleteDeletesa specified file.Syntax Res = NVDC.fileDelete(filename)Parameters filename - path to the file to delete;createFolderCreatesa folder.Syntax Res = NVDC.createFolder(fldrName)Parameters fldrName - folder name; copyFolderCopiesa folder from source to destination.Syntax Res =NVDC.copyFolder(srcFolder, destFolder)Parameters srcFolder - source path; destFolder - destination path; deleteFolderDeletesa specified folder and its contents.Syntax Res = NVDC.deleteFolder(foldername) Parameters foldername - path to the folder to delete; converterPathReturnsthe path to the Document Converter.Syntax Res = NVDC.converterPath Data Type: String isConverterActiveChecksif Document Converter is in the memory.Syntax Res = NVDC.isConverterActive DataType: BooleanGUIDReturnsan unique identifier. Syntax Res = NVDC.GUID Data Type: StringConversionparameters - GENERALDocumentOutputFormatSetsthe output format.Possible values: "PDF", "PDFA", "PDFA2", "PDFA2u", "PDFA3", "PDFA3u", "PS", "EPS", "PNG", "JPG", "TIFF", "FAX", "PCX", "PSD", "PRINTER", "PCL-XL", "SEND VIA FAX".Syntax NVDC.setParameter("DocumentOutputFormat", value)Data type: StringNote: Can only be set before calling the submitFile method.Note: “PDFA” = PDF/A-1b, “PDFA2” = PDF/A-2b and “PDFA3” = PDF/A-3bDocumentOutputFolderSpecifiesthe folder where the converted document will go.SyntaxNVDC.setParameter("DocumentOutputFolder",value)Data type: StringNote: Can only be set before calling the submitFile
2025-04-12PdfMachine SDK - API for ZUGFeRD / Factur-x invoice generation ZUGFeRD 1.0 ZUGFeRD 2.1.1 / Factur-x 1.0 SOAP Web Service ZUGFeRD 1.0 The pdfMachine SDK can be used to attach xml files to PDFA/3b PDF files to form valid ZUGFeRD 1.0 invoices. The input xml and PDF files must conform to the ZUGFeRD 1.0 documentation. When the fileName parameter of the attachFile method is "zugferd-invoice.xml" then the ZUGFeRD 1.0 metadata will also be inserted into the PDF. The wsdl file for the SOAP Web service installs with the SDK. Method : attachFile Attach an xml to a PDF to form a ZUGFeRD 1.0 compliant PDF. Parameters : inPDF Array of base64 Binary encoded bytes.The PDFA/3b PDF component of the invoice. fileData Array of base64 Binary encoded bytes.he xml representation of the invoice. fileName stringThe name that will be used for the embedded xml. Must be "zugferd-invoice.xml" fileDescription stringThe PDFA/3b PDF component of the invoice. ZUGFeRDtype stringThe corresponding ZUGFeRD 1.0 conformance level consistent with the xml file passed in.BASIC, COMFORT or EXTENDED Parameters : Result Object consisting of outPDF Array of base64 Binary encoded bytes.The resulting PDF. errorMessage stringError Message. ZUGFeRD 1.0 Example C# Parameters : Input PDF path and filename, Input xml attachment path and filename, output PDF path and filename. Optional : url for EndPoint address. using System;using System.Text;using System.IO;using System.ServiceModel;namespace CSharpSoapClientTest{ class Program { static void Main(string[] args) { try { string inPDF = args[0]; string inXML = args[1]; string fileName = "ZUGFeRD-invoice.xml"; string fileDescription = """; string ZUGFeRDtype = "BASIC"; string outputPDF = args[2]; string url = ""; if (args.Length > 3) url = args[3]; ServiceReference1.pdfServMachinePortTypeClient pdfM; pdfM = new CSharpSoapClientTest.ServiceReference1.pdfServMachinePortTypeClient(); if (url.Length > 0) pdfM.Endpoint.Address = new EndpointAddress(url); byte[] pdf = File.ReadAllBytes(inPDF); byte[] xml = File.ReadAllBytes(inXML); string errorMessage; byte[] outPDF = pdfM.attachFile(pdf, xml, fileName, fileDescription, ZUGFeRDtype, out errorMessage); if (errorMessage.Length > 0) System.Console.WriteLine("Error testing attachFile : " + errorMessage); System.IO.File.WriteAllBytes(outputPDF, outPDF); } catch (System.Exception ex) { System.Console.WriteLine(ex); } } }} ZUGFeRD 2.1.1 / Factur-x 1.0 The pdfMachine SDK can be used to attach xml files to PDFA/3b PDF files to form valid ZUGFeRD 2.1.1 / Factur-x 1.0 invoices. The input xml and PDF files must conform to the rules for the ZUGFeRD 2.1.1 / Factur-x 1.0 documentation. Attachments and Explanatory Documents for Invoices can also be attached consistent. The wsdl file for the SOAP Web service installs with the SDK. The API consists of : Exceptions should be caught to trap errors. Method : attachZugferdInvoice Attach an xml to a PDF to form a ZUGFeRD 2.1.1 / Factur-x 1.0 compliant PDF. Parameters : inPDF Array of base64 Binary encoded bytes.The PDFA/3b PDF component of the invoice. inXML Array of base64 Binary encoded bytes.The xml representation of
2025-04-14RTF to PDF, PS (Postscript), TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, WMF, EMF, PCX, TGA, JP2, PNM Word DOC to PDF, PS (Postscript), TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, WMF, EMF, PCX, TGA, JP2, PNM HTML to PDF, PS (Postscript), TXT, TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, EMF, WMF, PCX, TGA, JP2, PNM RTF to PDF Converter has been included into powerful HTML to PDF Converter product, /htmltools/index.htmlDownload HTML to PDF Converter Command Line product,DownloadPurchase HTML to PDF Converter Command Line product,PurchaseYou can run following command lines to convert your DOC files to PDF files,htmltools.exe C:\in.rtf C:\out.pdfhtmltools.exe -pdfa C:\in.rtf C:\out.pdfhtmltools.exe -pdfx C:\in.rtf C:\out.pdfhtmltools.exe C:\*.rtf C:\*.pdfhtmltools.exe -margin 100x100x100x100 C:\in.rtf C:\out.pdfhtmltools.exe -append 2 -width 612 -height 792 C:\*.rtf C:\out.pdfhtmltools.exe -append 2 C:\*.rtf C:\out.pdfhtmltools.exe C:\filelist.txt C:\out.pdfhtmltools.exe -width 612 -height 792 C:\in.rtf C:\out.pdfhtmltools.exe -append 1 C:\in.rtf C:\out.pdfhtmltools.exe -append 2 C:\in.rtf C:\out.pdfhtmltools.exe -subject "subject" C:\in.rtf C:\out.pdfhtmltools.exe -ownerpwd 123 -keylen 2 -encryption 3900 C:\in.rtf C:\out.pdfhtmltools.exe -bookmark 3 C:\in.rtf C:\out.pdfhtmltools.exe -mergepdf "C:\1.pdf|C:\2.pdf|C:\3.pdf" C:\out.pdfhtmltools.exe -mergepdf "C:\*.pdf" C:\out.pdfhtmltools.exe -mergepdf "C:\filelist.txt" C:\out.pdfhtmltools.exe -mergepdf "C:\test-extraction.pdf*10-15 C:\out10-15.pdfhtmltools.exe -mergepdf "C:\test-extraction.pdf*500-501 C:\out500-501.pdfhtmltools.exe -bwidth 100 -bheight 100 C:\in.rtf C:\out.pdfhtmltools.exe C:\in.rtf C:\out.gifAdd watermarks into PDF files:htmltools.exe -wtext "VeryPDF" "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wc "0000FF" "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wx 100 -wy 100 "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wtype 1 "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wtype 2 "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wtype 0 -wa 45 "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wf "Arial" "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wf "Arial" -wh 20 "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wf "Arial" -wh 20 -wb -wi -wu -ws "C:\in.rtf" C:\out.pdfhtmltools.exe -wtext "VeryPDF" -wf "Arial" -walign 3 -wh 20 -wbox "0,770,612,792" "C:\in.rtf" C:\out.pdfSee Also: Metafile/RTF/Image To PDF Command Line: Convert Windows Metafile (EMF, WMF), RTF and Image formats to Vector and Raster PDF files directly, it doesn't depend on Printer Drivers.Document Converter Professional (docPrint Pro):docPrint Document Converter Professional is a software product that dynamically
2025-04-11