Factur-X with -createInvoice: PDF metadata lost and file size

Home › Forums › PDF24 Toolbox › Factur-X with -createInvoice: PDF metadata lost and file size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #64312
    bp60
    Participant

    Hello,

    I'm using a PDF24 printer called liw_pdf24 with the liw_pdf24 profile to generate FC_2026030003_MPL.pdf in PDF/A-3 format.

    I create the FC_2026030003_MPL.xml file myself in CII format.

    Then I use the following command to create the invoice for France, FC_2026030003_MPL_X.pdf:

    pdf24-Toolbox.exe -createInvoice FC_2026030003_MPL.xml FC_2026030003_MPL_X.pdf -outputType zugferd:en16931 -passthrough -pdfaFile FC_2026030003_MPL.pdf

    I notice that the metadata (Title, Author, Subject) of the PDF The original invoices are not included in the PDF invoice.

    Another point: how can I reduce the size of the PDFs? I checked "optimize for web" but it didn't change anything.

    Sincerely,

    #64375
    bp60
    Participant

    No response ?

    #64790
    PDF24 Support
    Moderator

    Hello,

    sorry for the late reply.

    Metadata: You are right. When the XML is embedded into the PDF given with -pdfaFile, PDF24 replaces the document information of that PDF and does not keep Title, Author and Subject. This is a bug, we have passed it on to development. There is no option to keep them at the moment.

    File size: "Optimize for web" only rearranges the file so that it can be displayed page by page while it is still loading. It does not make the file smaller. The size of the invoice PDF is mainly determined when it is created with your printer profile liw_pdf24, because -createInvoice embeds the XML into this file without compressing it again. In the profile you can lower the settings for images (resolution and quality under the image compression settings), which usually has the biggest effect. For PDF/A the fonts have to be embedded; "Subset fonts" keeps them small by embedding only the characters that are used.

    If the files are still too large, please send us an example (the PDF from the printer and the final Factur-X file) to forum@pdf24.org and tell us the size, then we can look at what takes up the space.

    #65386
    bp60
    Participant

    ok merci

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.