Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Embed XML in pdf (ZUGFeRD) |
Post Reply
|
| Author | |
skoschke
Team Player
Joined: 11 Jan 17 Status: Offline Points: 33 |
Post Options
Thanks(0)
Quote Reply
Topic: Embed XML in pdf (ZUGFeRD)Posted: 24 Aug 17 at 1:02PM |
|
Hi,
with this code i put a xml file into the pdf: PDF.EmbedRelatedFile('ZUGFeRD-invoice.xml', xml_filename,'text/xml', 'Alternative', 1); In a validation portal i get following messages: Embedded files - Desc key fehlt im file
specification directory (Das file
specification dictionary einer
eingebetteten Datei sollte den Desc key
enthalten.) and Color spaces - Device color space
CMYK used What is wrong? Ciao Stefan
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 Aug 17 at 10:52PM |
|
Hi Stefan,
the new function (since version 13.12) isn't in the online reference yet - so no further information about it. I've tried it with Google (why you don't do it by yourself?): file specification dictionary desc key missing ... and there are many results for you to read ;-) i think it has to do with the "text/xml". Try EmbedFile - it's easier ;-) |
|
|
Cheers,
Ingo |
|
![]() |
|
skoschke
Team Player
Joined: 11 Jan 17 Status: Offline Points: 33 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 Aug 17 at 5:56AM |
|
EmbedFile can not embed the xml-file for ZUGFeRD, this is a special format, see last parameter for EmbedRelatedFile = 1!
Ciao Stefan
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 Aug 17 at 10:16PM |
|
Hi,
like i've told: You've something to do with "text/xml". Something not having to do with QuickPDF. Try Google...;-) |
|
|
Cheers,
Ingo |
|
![]() |
|
skoschke
Team Player
Joined: 11 Jan 17 Status: Offline Points: 33 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 17 at 7:45AM |
|
EmbedRelatedFile is a function from Quick PDF library and this doesn't work correct!
Ciao Stefan |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 Aug 17 at 7:35PM |
|
if you think that's a prob inside QuickPDF then you should post it into the official Debenu-forum for things like this.
This here is only the user-user-forum ;-) |
|
|
Cheers,
Ingo |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store