Text formatting and alignment according to the printer
I'm developing an application for a hospital. The hospital demands that whenever a new patient is registered, the printer should print out a sticker of 3 inch by 1 inch.
Also, the application should print out a receipt for the payment the patient has made. The receipt page is 5 inch by 7 inch. I really don't know how to format the text content according to the page. How do I provide the spacing and positioning of the text in the java code. :confused::confused::confused::confused:
Please help me out here !!!!