Hola experto,
Estoy intentando guardar el informe de mi diario en .pdf mediante secuencias de comandos JSL.
Mi problema ahora es que puedo guardar el informe para que se ajuste bien a la página horizontal manualmente usando la siguiente configuración;

Pero, cuando convertí la configuración al script JSL, permanece en vertical.
¿Por qué mi script no funciona? He configurado las preferencias en horizontal como predeterminadas pero todavía no funciona.
// add the header to the journal
j = Current Journal();
listOfReports = j << child;
nReports = N Items( listOfReports );
// add page breaks
For( i = N Items( listOfReports ), i >= 1, i--,
Insert Into( listOfReports, Page Break Box(), i ));
// make the PDF from the journal
j << set window title ("Daily Analysis Report "||format(today(), "d/m/y",10); );
j << set page setup( {margins( {0.75, 0.75, 0.75, 0.75} ), scale( 0.94 ), portrait(0), paper size( "Letter" )} );
// make the PDF from the journal
j << save PDF("$desktop/reportJSL.pdf");uususando JMP17.0