0
Create PDF: how to ignore warnings
New Here
,
/t5/indesign-discussions/create-pdf-how-to-ignore-warnings/td-p/1370240
May 20, 2008
May 20, 2008
Copy link to clipboard
Copied
Hi,
we've got the following problem when exporting a document to pdf using InDesign server:
while exporting there comes up a warning inside the server window. It says that I could click "OK" (which of course doesn't work with InDesign server), and so ID server decides to cancel the export.
But I would like to continue, but don't know how to do that.
I tried to use:
IPDFExportPrefs->SetPDFExErrorControl(kExportErrorControlWarnAndContinue)
and
IPDFExportPrefs->SetPDFExErrorControl(kExportErrorControlIgnore)
but both didn't change anything.
Could anyone give me a hint how to make ID server continue the export instead of cancelling it ?
Thanks in advance,
Detlef
we've got the following problem when exporting a document to pdf using InDesign server:
while exporting there comes up a warning inside the server window. It says that I could click "OK" (which of course doesn't work with InDesign server), and so ID server decides to cancel the export.
But I would like to continue, but don't know how to do that.
I tried to use:
IPDFExportPrefs->SetPDFExErrorControl(kExportErrorControlWarnAndContinue)
and
IPDFExportPrefs->SetPDFExErrorControl(kExportErrorControlIgnore)
but both didn't change anything.
Could anyone give me a hint how to make ID server continue the export instead of cancelling it ?
Thanks in advance,
Detlef
TOPICS
SDK
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
/t5/indesign-discussions/create-pdf-how-to-ignore-warnings/m-p/1370241#M163590
Jun 05, 2008
Jun 05, 2008
Copy link to clipboard
Copied
I think i have the same problem with Application.open().
06/05/08 14:50:55 WARN [server] "Untitled" may be damaged. Do you want to open it anyway?
Script request "open 'odoc' kOpenEventScriptElement[AppFramework + 88 (0x16158)]" returning generic error kFailure. Eng: Please replace with a more specific error code. QE: Please report this assert as a 2/2 bug with keyword 'Better Scripting Error.'
Did you find anything about how it should handle this kind of questions?
/Niklas
06/05/08 14:50:55 WARN [server] "Untitled" may be damaged. Do you want to open it anyway?
Script request "open 'odoc' kOpenEventScriptElement[AppFramework + 88 (0x16158)]" returning generic error kFailure. Eng: Please replace with a more specific error code. QE: Please report this assert as a 2/2 bug with keyword 'Better Scripting Error.'
Did you find anything about how it should handle this kind of questions?
/Niklas
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
_Detlef_Vorländer_
AUTHOR
New Here
,
/t5/indesign-discussions/create-pdf-how-to-ignore-warnings/m-p/1370242#M163591
Jun 08, 2008
Jun 08, 2008
Copy link to clipboard
Copied
Hi Niklas,
I'm sorry but I didn't find a solution for this problem.
Detlef
I'm sorry but I didn't find a solution for this problem.
Detlef
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Contributor
,
/t5/indesign-discussions/create-pdf-how-to-ignore-warnings/m-p/1370243#M163592
Jun 09, 2008
Jun 09, 2008
Copy link to clipboard
Copied
Setting the following for InDesign scripting will automatically OK any dialogs.
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAlerts;
set it back with
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
at the end of your script.
May work with server too so worth a try.
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAlerts;
set it back with
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
at the end of your script.
May work with server too so worth a try.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
/t5/indesign-discussions/create-pdf-how-to-ignore-warnings/m-p/1370244#M163593
Jun 13, 2008
Jun 13, 2008
Copy link to clipboard
Copied
Thanks for your reply,
The bad thing is that i cant find userInteractionLevel in ScripPreferences in the server reference.
The bad thing is that i cant find userInteractionLevel in ScripPreferences in the server reference.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Contributor
,
/t5/indesign-discussions/create-pdf-how-to-ignore-warnings/m-p/1370245#M163594
Jun 13, 2008
Jun 13, 2008
Copy link to clipboard
Copied
It's in the "InDesign CS3 Scripting Guide JS.pdf" document in the InDesign CS3 SDK.
It's worth trying in your Server script too.
If it's not provided in the server environmet, then you may need to open a support case with adobe to get it resolved.
Regards,
Mike.
It's worth trying in your Server script too.
If it's not provided in the server environmet, then you may need to open a support case with adobe to get it resolved.
Regards,
Mike.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
LATEST
/t5/indesign-discussions/create-pdf-how-to-ignore-warnings/m-p/1370246#M163595
Mar 22, 2019
Mar 22, 2019
Copy link to clipboard
Copied
Hello everybody,
It's an old question, but I have the same problem as Detlef_Vorländer: while exporting a document to PDF if any page issues a warning, it does stop the export.
I would like to catch that warning and keep going with the export, or at least export it anyways... If someone has any solution, I'd be happy to hear it.
Thank you.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

