Printing not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Thefire
    New Member
    • Feb 2007
    • 2

    Printing not working

    Hello all, i am having problem to print the data on my printer machine,
    can any body tell me how to print a simple text from textarea on my printer???
    simple code example..please and thanks in advance
  • myusernotyours
    New Member
    • Nov 2007
    • 188

    #2
    Originally posted by Thefire
    Hello all, i am having problem to print the data on my printer machine,
    can any body tell me how to print a simple text from textarea on my printer???
    simple code example..please and thanks in advance

    Google, google, google. That may help.
    Try to ask for sample code from google. No one is going to give you sample code here. Or are you serious you want SIMPLE code? Google will have that too. If there is something you have tried, let's see it...

    Regards,

    Alex.

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by Thefire
      Hello all, i am having problem to print the data on my printer machine,
      can any body tell me how to print a simple text from textarea on my printer???
      simple code example..please and thanks in advance
      You don't have to do anything because every JTextComponent has a print()
      method that does the job for you, including a printer setup menu if you want.

      kind regards,

      Jos

      Comment

      Working...