Hi, Try setting "minHeightToStartNewPage" property in Scriptlet, Important: minHeight < (Page height) - (Header + Footer + external groups) height don't set "Start on a new page" property for the group Good luck! Code:public void beforeGroupInit(String groupName) throws JRScriptletException{ if (groupName.equals("myGroup")) { JasperReport jr = (JasperReport) getParameterValue("JASPER_REPORT"); JRGroup grp = getGroup(jr, "myGroup"); Boolean isNewPage = {define_your_condition}; if (isNewPage) { grp.setMinHeightToStartNewPage(450); } else { grp.setMinHeightToStartNewPage(0); } }}public static JRGroup getGroup(JasperReport jr, String groupName) { JRGroup group = null; if (jr != null) { JRGroup[] groups = jr.getGroups(); if (groups != null) { for (int i = 0; i < groups.length; ++i) { if (groups[i].getName().equals(groupName)) { group = groups[i]; break; } } } } return group;}