Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Exclamation Text formatting and alignment according to the printer

    Hii everyone,
    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 !!!!

  2. #2
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    please help me with the packages to use or interfaces to implement.
    any help would be appreciated.

  3. #3
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

Similar Threads

  1. How to print text file in java(dotmatrix printer)
    By yoganeethi in forum Advanced Java
    Replies: 4
    Last Post: 12-01-2010, 01:45 PM
  2. Sending text to printer
    By Java Tip in forum Java Tip
    Replies: 1
    Last Post: 05-25-2009, 06:14 AM
  3. Replies: 1
    Last Post: 03-16-2009, 06:05 PM
  4. printing simple text as text on printer
    By Nicholas Jordan in forum Advanced Java
    Replies: 0
    Last Post: 12-01-2008, 01:42 AM
  5. Help needed in Frames text alignment
    By ravjot28 in forum Java Applets
    Replies: 2
    Last Post: 06-27-2008, 04:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •