new Printing(this, printer).run();
StyledTextPrintOptions options = new StyledTextPrintOptions(null, null, null, ST.TEXT_FOREGROUND | ST.TEXT_BACKGROUND | ST.TEXT_FONT_STYLE | ST.LINE_BACKGROUND);  new Printing(this, printer, options).run();
public void print() {	checkWidget();	Printer printer = new Printer();	new Printing(this, printer).run();	printer.dispose();}