You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamic Web TWAIN does not support the generation of PDF/A files.
17
+
Dynamic Web TWAIN supports exporting documents as **PDF/A** starting from version **19.3**.
18
+
PDF/A is an archival format designed for long-term preservation. The following variants are supported:
19
+
20
+
### Supported PDF/A Versions
21
+
22
+
| PDF/A Variant | Underlying PDF Version |
23
+
|:-------------:|-----------------------------|
24
+
|`pdf/a-1b`|**1.4** (default) |
25
+
|`pdf/a-2b`|**1.5** (default), 1.6, 1.7 |
26
+
27
+
### What’s the difference between PDF/A-1b and PDF/A-2b?
28
+
Although both variants ensure that documents can be reliably displayed in the future, they differ in terms of supported PDF features and compression options.
29
+
- PDF/A-1b
30
+
- Uses the older PDF 1.4 specification.
31
+
-**Does not support JPEG2000** or JBIG2 image compression.
32
+
- Does not allow transparency.
33
+
- May result in larger file sizes and more conversion restrictions.
34
+
35
+
- PDF/A-2b
36
+
- Based on newer PDF versions (1.5–1.7).
37
+
- Supports **JPEG2000**, JBIG2, transparency, and other modern PDF features.
38
+
- Typically requires **fewer changes** to the source document.
39
+
- Usually produces **smaller output** files.
40
+
41
+
**Recommendation:**
42
+
For most use cases, we recommend using **`pdf/a-2b`**.
43
+
It offers better compression support, fewer limitations, and higher compatibility with modern PDFs while still meeting archival requirements.
44
+
45
+
### Behavior and Defaults
46
+
47
+
- If you do not set `pdfaVersion`, the export uses standard PDF format (non-PDF/A).
48
+
49
+
- If you set `pdfaVersion` but forget to set `version`, or set a mismatched or incorrect PDF version, Dynamic Web TWAIN automatically falls back to a default PDF version:
50
+
-`pdf/a-1b` → defaults to PDF `1.4`
51
+
-`pdf/a-2b` → defaults to PDF `1.5`
52
+
53
+
### How to Export as PDF/A
54
+
55
+
Configure PDF output using [`Write.Setup()`](/_articles/info/api/Addon_PDF.html#writesetup) before calling any save function.
56
+
57
+
```javascript
58
+
DWTObject.Addon.PDF.Write.Setup({
59
+
version:"1.5", // [optional] 1.4 for "pdf/a-1b"; 1.5/1.6/1.7 for "pdf/a-2b"
60
+
pdfaVersion:"pdf/a-2b"// "pdf/a-1b" or "pdf/a-2b"
61
+
});
62
+
```
63
+
64
+
After configuring `pdfaVersion`, all APIs that output PDF files will automatically generate PDF/A-compliant PDFs. This includes, but is not limited to:
0 commit comments