cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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