I'm designing a java application to a pharmacy and I wanted to print a bill for their customers. I tried using jasper
reports but I was unable to design it properly.
I have created 2 jTables
to display items in stock and another to display the bill. Bellow the bill table 2 jLables
and 1 jTextField
used to show the total, balance and received amounts. I wanted to print the details in the bill table and values in 2 jLabels
and jTextField
when I click the "Pay" button. I want to design it like this POS bill
How to design and print a bill like this in java? How to change the page size?
I'm using netbeans
to develop.
Can any one please help me?