Printing the Display

hello folks
I am printing my display with this code

  class VisadPlotPrint implements Runnable
    {

  public void run()
   {
      PrinterJob printJob = PrinterJob.getPrinterJob();
      PageFormat pf = printJob.defaultPage();

      pf = printJob.pageDialog(pf);
      printJob.setPrintable(display.getPrintable(),pf);

      if (printJob.printDialog())
      {
       try {
    printJob.print();
           }
       catch (Exception exc)
    {
    exc.printStackTrace();
    }
       }
  }
    }


but my printing is not complete. Only half of the display is on the
printing.
What can i do ?
Something with the PageFormat ?

thanks
larsson