cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

Discussions

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

add blank page with text on PDF output

Hi,

 

How can I add a blank page with some texts between plots. See the code below.

 

Thanks.

 

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Football.jmp" );

wf=new window("final");

wn = New Window("Bivariate", 
			Bivariate(Y(:Name("Height")), 
			X(:Name("Weight")), 
			Histogram Borders(1))); 
wf << append(wn);

//
// add a blank page here with some text?
//
wn = New Window("Bp", Bubble Plot(Y(:Name("Height")), X(:Name("Weight")))); wf << append(wn);
wf << set Print Headers( "", "", "" ); wf << Set page setup( margins( 1, 1, 1, 1 ), scale(1), portrait(0), paper size("Letter") ); wf << Save PDF("C:\JSL\final.pdf"); wf << Close Window; wn << Close Window; dt << Close Window;
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: add blank page with text on PDF output

Add a page break in the New Window using the Page Break message

wn << page break;

Check out the documentation in the Scripting Index.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: add blank page with text on PDF output

Add a page break in the New Window using the Page Break message

wn << page break;

Check out the documentation in the Scripting Index.

Jim

Recommended Articles