PrinterJob.print() doesn't seem to calculate whitespaces correctly. A string beginning with multiple whitespaces is displayed properly in Swing component. However, when printing, the start position of the line changes, according to the number of whitespaces.
|