printing from an applet

C

Clive Moore

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)
 
A

Andrew Thompson

| I am having problems printing from an applet.

What applet? URL?

Is the applet jar'd and signed?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top