Hello -
I can't figure out how to print a blank line. I tried this:
grid.add(new EmptyPrint(), GridPrint.REMAINDER);
but it didn't work.
Any suggestions?
Thanks
Have you tried:
grid.add(new LineBreakPrint(fontData), GridPrint.REMAINDER);
It worked like a charm!
Plus, for some reason, I'm getting the other line of code to work too. The EmptyPrint() line above. They both seem to work.
Thanks Matthew - this is a TERRIFIC plugin for printing in SWT!
Log in to post a comment.
Hello -
I can't figure out how to print a blank line. I tried this:
grid.add(new EmptyPrint(), GridPrint.REMAINDER);
but it didn't work.
Any suggestions?
Thanks
Have you tried:
grid.add(new LineBreakPrint(fontData), GridPrint.REMAINDER);
It worked like a charm!
Plus, for some reason, I'm getting the other line of code to work too. The EmptyPrint() line above. They both seem to work.
Thanks Matthew - this is a TERRIFIC plugin for printing in SWT!