I assume you are using the junit runner, so here's a simple example.
@RunWith(Cucumber.class)
@CucumberOptions(
features = "classpath:features/something.feature",
format = "com.blah.PrintingFormatter",
glue = "com.blah.steps")
public class CucumberTest {
}
Then your PrintingFormatter should implement the gherkin.formatter.Formatter interface, specifically the startOfScenarioLifeCycle method. Slap your println in there and you're good to go.