title: "PrinterException: Paper's imageable width is too small" I can see what's wrong, but how can I fix it?
body: <p>I'm getting this error when I try to print something for a specific label printer in my current college project:</p>
  
  <pre><code>java.awt.print.PrinterException: Paper's imageable width is too small.
      at sun.print.RasterPrinterJob.printPage(Unknown Source)
      at sun.print.RasterPrinterJob.print(Unknown Source)
      at sun.print.RasterPrinterJob.print(Unknown Source)
      at Printer.print(Printer.java:91)
      at Printer.&lt;init&gt;(Printer.java:43)
      at VisitorDBTest.main(VisitorDBTest.java:10)
  </code></pre>
  
  <p>But I cannot see the reason why. I have the exact label code for this particular printer, the label width and height are correct. I set the imageable size to the exact label size (in 1/72nd's of an inch), then I tried setting it smaller with no luck. 
  This code works fine when I print to my normal inkjet on an A4 page. I only get the error when I try to print to the DYMO 450 label printer (using different Paper and PageFormat objects). 
  Looking at the google results it appears I'm practically the only person in history to get this error. </p>
  
  <p>EDIT: after printing the imageable width to screen I get these results:</p>
  
  <pre><code>Paper imageable width is 196.0
  PageFormat imageable width is 151.0
  PrinterJob imageable width is -65.0267716535433
  </code></pre>
  
  <p>It's my understanding that both the PageFormat takes it's imageable width from the Paper and the PrinterJob takes it's imageable width from the PageFormat. 
  I'm obviously missing something here. </p>