cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • See how to use the JMP Marketplace – Free tools to expand JMP capabilities. Register. July 10, 2 pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
mylifemyrule
Level I

How to Export Journal to PDF using Script

hi All,

 

I have combine all the graph in a journal using below method.

But I'm not sure how can I export that Journal to PDF report.  

 

platform << report << Journal();
vc << report << Journal();
dist << report << Journal();

I try this but it doesn't work:-

w = CurrentJournal();
w << Set page setup(
margins( 1, 1, 1, 1 ),
scale( 1 ),
portrait( 1 ),
paper size( "Letter" )
);
w << save pdf( "$DOCUMENTS\test.pdf" );

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to Export Journal to PDF using Script

What issues are you facing? This does create pdf correctly (using JMP17.0 and Windows 10)

Names Default To Here(1);
//This message applies to all display box objects
dt = Open("$SAMPLE_DATA/Big Class.jmp");
biv = dt << Bivariate(y(:weight), x(:height));
rbiv = biv << journal;
w = Current Journal();
w << Save PDF("$TEMP/jmp_example.pdf");

Open("$TEMP/jmp_example.pdf");
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: How to Export Journal to PDF using Script

What issues are you facing? This does create pdf correctly (using JMP17.0 and Windows 10)

Names Default To Here(1);
//This message applies to all display box objects
dt = Open("$SAMPLE_DATA/Big Class.jmp");
biv = dt << Bivariate(y(:weight), x(:height));
rbiv = biv << journal;
w = Current Journal();
w << Save PDF("$TEMP/jmp_example.pdf");

Open("$TEMP/jmp_example.pdf");
-Jarmo

Recommended Articles