printing from an applet

Discussion in 'Java' started by Clive Moore, Jan 25, 2004.

  1. Clive Moore

    Clive Moore Guest

    I am having problems printing from an applet.

    On my machine the applet prints to the printer ok. But on my customers
    machine he gets an error printed to a console window (this is listed
    below) and a large file is generated.

    Exception occurred during event dispatching:

    java.lang.NullPointerException

    at

    com.pixtran.image.PageRenderableImageFactory$PageRenderableImage$PageRendere
    dImage.getDataP(PageRenderableImageFactory.java:1096)

    at

    com.pixtran.image.PageRenderableImageFactory$PageRenderableImage$PageRendere
    dImage.getData(PageRenderableImageFactory.java:1073)

    at com.pixtran.image.Page.rectPaintOverForPrint(Page.java:983)

    at com.pixtran.image.PagePrintable.doPrint(PagePrintable.java:259)

    at com.pixtran.image.PagePrintable.print(PagePrintable.java:204)

    at sun.java2d.RasterPrinterJob.printPage(Unknown Source)

    at sun.java2d.RasterPrinterJob.print(Unknown Source)

    at
    com.pixtran.viewer.SimpleViewer.printImage(SimpleViewer.java:4083)


    --
    Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
     
    Clive Moore, Jan 25, 2004
    #1
    1. Advertising

  2. Andrew Thompson, Jan 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Love

    applet vs. canvas in applet

    Rob Love, Jul 7, 2003, in forum: Java
    Replies:
    1
    Views:
    640
    Liu, Chunyen
    Jul 7, 2003
  2. webster
    Replies:
    0
    Views:
    876
    webster
    Jul 20, 2003
  3. Andrew Thompson
    Replies:
    0
    Views:
    429
    Andrew Thompson
    Aug 5, 2003
  4. Blah Blah
    Replies:
    0
    Views:
    1,445
    Blah Blah
    Aug 13, 2003
  5. Jade
    Replies:
    3
    Views:
    943
    Roedy Green
    Aug 14, 2003
Loading...

Share This Page