Results 1 to 2 of 2
  1. #1
    UJJAL DHAR is offline Senior Member
    Join Date
    Apr 2010
    Location
    Dhaka,Bangladesh
    Posts
    180
    Rep Power
    0

    Default Printing Text using printer

    I wanna print a paragraph which is in a JTextArea now. How to print the paragraph using a printer???
    Please anyone help me......

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,043
    Blog Entries
    7
    Rep Power
    23

    Default

    Quote Originally Posted by UJJAL DHAR View Post
    I wanna print a paragraph which is in a JTextArea now. How to print the paragraph using a printer???
    Please anyone help me......
    A JTextArea extends the JTextComponent class; read the API documentation and see what that class has to offer w.r.t. printing.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. printing to printer
    By ak88 in forum Advanced Java
    Replies: 3
    Last Post: 01-13-2013, 04:32 PM
  2. Text formatting and alignment according to the printer
    By java_fledgeling in forum Advanced Java
    Replies: 2
    Last Post: 06-08-2010, 10:34 AM
  3. Replies: 4
    Last Post: 09-10-2009, 01:40 PM
  4. Sending text to printer
    By Java Tip in forum Java Tip
    Replies: 1
    Last Post: 05-25-2009, 06:14 AM
  5. printing simple text as text on printer
    By Nicholas Jordan in forum Advanced Java
    Replies: 0
    Last Post: 12-01-2008, 02:42 AM

Posting Permissions

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