On 23.12.24 Johann Hoermann (supp...@hans-hoermann.de) wrote:

Hi all,

as already found out the issue /might/ already be reported (and
solved) in upstream:

https://bugs.ghostscript.com/show_bug.cgi?id=708066

Please try to avoid another duplicate.

Hilmar

> with ghostscript 10.0.0, installed at bookworm, it is possible to attach
> a xml-file to a pdf/a-3b file, e.g. by this command:
> 
> gs
> --permit-file-read=/usr/home/me/zugferd/
> -sDEVICE=pdfwrite
> -dPDFA=3
> -sColorConversionStrategy=RGB
> -sZUGFeRDXMLFile=/usr/home/me/zugferd/invoice.xml
> -sZUGFeRDProfile=/usr/home/me/zugferd/default_rgb.icc
> -sZUGFeRDVersion=2p1
> -sZUGFeRDConformanceLevel=BASIC
> -o /usr/home/me/zugferd/output.pdf
> /usr/home/me/zugferd/zugferd.ps
> /usr/home/me/zugferd/input.pdf
> 
> the example is from
> https://ghostscript.readthedocs.io/en/latest/ZUGFeRD.html
> 
> it converts input.pdf into a pdf/a-3b output.pdf and attaches the
> file invoice.xml to the pdf/a-3b.
> 
> you can inspect the attached xml-stream e.g.  with evince.
> 
> on trixie and ghostscript 10.04.0 the command-output is the same
> and exit code is 0, but evince shows no attached xml-stream any
> more.
> 

Attachment: signature.asc
Description: PGP signature

Reply via email to