Summary: | ZUGFeRD: XML is not included in the PDF with GS 10.04.0 | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | rhaase |
Component: | PDF Writer | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 10.04.0 | ||
Hardware: | PC | ||
OS: | Windows 10 | ||
Customer: | Word Size: | --- | |
Attachments: | ZUGFeRD-PDF without XML includet |
For anyone who reads this in future; this is an example of 'please don't guess at the problem'. The output file in fact contains the XML (both the XML invoice *and* the ZuGFERD specific XML metadata) and with no other information I would simply have closed this bug report, pointing this out. Fortunately the bug report this is marked as a duplicate of came in nearly simultaneously. That report doesn't state that the XML is missing (which it isn't) but sensibly points out that Acrobat can't find it. *** This bug has been marked as a duplicate of bug 708066 *** |
Created attachment 26088 [details] ZUGFeRD-PDF without XML includet It seems to be due to GS 10.04.0 that the ZUGFeRD-XML is no longer included in the PDF. 1) example line: "C:\Program Files (x86)\gs\gs10.04.0\bin\gswin32c.exe" --permit-file-read="C:\Program Files (x86)\gs\gs10.04.0\*";"d:\TEST\GS\*" -sDEVICE=pdfwrite -dPDFA=3 -sColorConversionStrategy=RGB -sZUGFeRDXMLFile=d:\TEST\GS\Beleg_V22_27628_20240923.xml -sZUGFeRDProfile="C:\Program Files (x86)\gs\gs10.04.0\iccprofiles\default_rgb.icc" -sZUGFeRDVersion=2p1 -sZUGFeRDConformanceLevel=EXTENDED -o d:\TEST\GS\Zugferd_Beleg_V22_27628_20240923.pdf "c:\Program Files (x86)\gs\gs10.04.0\lib\zugferd.ps" d:\TEST\GS\Beleg_V22_27628_20240923.pdf" 2) The same cmd call works with gs version 10.3.1 (To check this, I copied the gswin32c.exe in version 10.3.1 into the path “C:\Program Files (x86)\gs\gs10.04.0\bin\gswin32c.exe” to be absolutely sure that there is no error in the call).