cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
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