Enguerrand:
Your code above is slightly different from an ESRI sample that seems to have been created for v10.1.
The ESRI sample is shown below:
{
name: "Letter ANSI A Portrait",
label: "Portrait (Image)",
format: "jpg",
options: {
legendLayers: [],
scaleBarUnit: "Miles",
titleText: printTitle + ", Portrait JPG"
}
Has the syntax for options changed between 10.1 and 10.2 where layoutOptions are now specified just as options? It seems to me that both options and layoutOptions are referring to the same objects.