On my web application, I wanna use TextPrinter (http://www.java4less.com/textprinter/index.html) for printing.
Anybody know, How do I print one string object with multiple line inside, let's say the string name is out like this:
AID : XXXXXX
A/C Number : XXXXXXXXX
A/C Name & Address : REKENING ANTARA SHB DGN TOP UP
Is it possible for using some function to put it once? Without I must set it manually:
printer.printString ("AID : 000922"); printer.newLine(); printer.printString ("A/C Number : XXXXXXXXX"); printer.newLine();
just put it like this maybe, printer.printString(out);
but it doesn't work, just first line of report could be printed. any idea?
Really thanks for the response.