PDF/a erzeugen und speichern

Hallo, ein Dokument als PDF zu speichern funktioniert in Visual Basic so einwandfrei:

LL.Core.LlSetOptionString(LlOptionString.Exports_Allowed, “PDF”)
Dim sc As New ExportConfiguration(LlExportTarget.Pdf, kompletter_Dateipfad, My.Application.Info.DirectoryPath + “” + “Rechnung.lst”)
sc.ShowResult = False
LL.Export(sc)

Was muss ich tun um im PDF/A Format abzulegen?

Viele Grüße

Hallo,

um zu definieren welchen PDF-Standard man mit List & Label erzeugen möchte, gibt es die Export-Option PDF.Conformance (siehe auch https://docu.combit.net/progref/de/#!Documents/programmierschnittstelle7.htm)

In .NET müsste man das dann so angeben denke ich:

LL.Core.LlSetOptionString(LlOptionString.Exports_Allowed, “PDF”)
Dim sc As New ExportConfiguration(LlExportTarget.Pdf, kompletter_Dateipfad, My.Application.Info.DirectoryPath + “” + “Rechnung.lst”)

sc.ExportOptions.Add(LlExportOption.PdfConformance, "pdfa1b")

sc.ShowResult = False
LL.Export(sc)

Klappt das so?

1 Like

Funktioniert, vielen Dank

1 Like