posted 12 years ago
I'm using java.awt.print library . part of code is given below
Code inside the Bill class is like this
This prints the table well with the normal all in one desktop printer, but when i use the POS printer, letters are too closely printed making it difficult to read. I tried new JTextArea("Hello World").print(); but still got the same results.