I'm using SimpleIDML with InDesign Server 2020 on MacOS, and when attempting to export my IDML file to PDF export.jsx InDesign Server rejects the job. Removing properties one by one I tracked it down to a few different properties that cause issues.
colorBitmapQuality and grayscaleBitmapQuality cause Error: The property is not applicable in the current state. for my use case
pageMarksOffset causes Error: Invalid value for set property 'pageMarksOffset'. Expected Unit (0 - 72 points), but received 144.0.
pdfDestinationProfile causes Error: The property's value is locked and cannot be changed.
I have a PR incoming that wraps each of these properties in a try, such as were already found for ignoreSpreadOverrides on line 144 and simulateOverprint on line 211 of export.jsx. I also added an alert to the catch; for my instance of InDesign Server this causes the exception message to be logged, so that users will know which properties failed to be set.
I'm using SimpleIDML with InDesign Server 2020 on MacOS, and when attempting to export my IDML file to PDF
export.jsx
InDesign Server rejects the job. Removing properties one by one I tracked it down to a few different properties that cause issues.colorBitmapQuality
andgrayscaleBitmapQuality
causeError: The property is not applicable in the current state.
for my use casepageMarksOffset
causesError: Invalid value for set property 'pageMarksOffset'. Expected Unit (0 - 72 points), but received 144.0.
pdfDestinationProfile
causesError: The property's value is locked and cannot be changed.
I have a PR incoming that wraps each of these properties in a try, such as were already found for
ignoreSpreadOverrides
on line 144 andsimulateOverprint
on line 211 ofexport.jsx
. I also added analert
to thecatch
; for my instance of InDesign Server this causes the exception message to be logged, so that users will know which properties failed to be set.