Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: how to set printer paper size to same as jframe?

  1. #1
    Junior Member
    Join Date
    May 2014
    Thanked 0 Times in 0 Posts

    Default how to set printer paper size to same as jframe?

    hello every body! I am beginner to java.I have been working on a small project. I am having trouble while printing out form. So far I have succeeded to print it out.But my question is that I want jpanel to print out in Landscape rather then portrait. How do i do this?
    Any suggestion would be more appreciated.

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: how to set printer paper size to same as jframe?

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

Similar Threads

  1. Need Help for set default size (width and length) of table using 'XWPFTable'
    By nareshdev in forum What's Wrong With My Code?
    Replies: 4
    Last Post: June 14th, 2013, 02:55 AM
  2. [SOLVED] I Forgot how to set a size to a JTextArea
    By Java Programmer in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 19th, 2012, 10:08 PM
  3. Replies: 0
    Last Post: April 8th, 2011, 09:17 PM
  4. Replies: 2
    Last Post: February 17th, 2011, 06:37 AM
  5. How to set the Listbox size.
    By jacinto in forum AWT / Java Swing
    Replies: 4
    Last Post: June 22nd, 2009, 07:39 AM

Tags for this Thread