tags:

views:

26

answers:

0

hi,

i'm working on a web based project and my requirement is to print an document using an applet running on client side on clients Epson Dot-Matrix printer..

i've used java4less TextPrinter apis im my applet class.

the applet works fine in one project and gives desired printing job for the same project..

but the same thing is needed in other smiler project and there it throws an runtime exception with the Exception stack trace as given below

0 ClassName : com.java4less.textprinter.TextPrinter 0 MethodName : charMapping 0 LineNumber : 1322 1 ClassName : com.java4less.textprinter.TextPrinter 1 MethodName : writeCharToBuffer 1 LineNumber : 569 2 ClassName : com.java4less.textprinter.TextPrinter 2 MethodName : finishPage 2 LineNumber : 657 3 ClassName : com.java4less.textprinter.TextPrinter 3 MethodName : newLine 3 LineNumber : 427 4 ClassName : UtilTestPrintApplet_temp1 4 MethodName : start 4 LineNumber : 193 5 ClassName : sun.applet.AppletPanel 5 MethodName : run 5 LineNumber : -1 6 ClassName : java.lang.Thread 6 MethodName : run 6 LineNumber : -1

any help regarding this will be highly appreciated. thanks.