Well, I would like to know how can i print invoices in java.
the page that my printer is using is like a type of template which has already written the fields(like name, address, id and so on).

So, what i want to do is to print the data in the specific location of the page. But i cant find a correct way to do this.

I've been looking on the internet but i can't find a correct way, if you can explain me how to do this, or at least tell me some resourses i can use in this. i would appreciate it.