Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to take a picture from the screen and print it?
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Ashi_Mashi2




PostPosted: Fri Feb 03, 2006 10:53 am   Post subject: How to take a picture from the screen and print it?

Hi,
Can anyone plz tell me how do I, first of all, take a picture from my GUI Component (I have a JPanel with drawings on them and I want to take a picture of it).
And...how to I send this picture to be printed?

thanks
Sponsor
Sponsor
Sponsor
sponsor
Andy




PostPosted: Fri Feb 03, 2006 12:38 pm   Post subject: (No subject)

press the Print Scrn SysRq key on ur keyboard, it should be above the insert key, and to the right of F12, then go into any drawing program and select edit paste
Ashi_Mashi2




PostPosted: Fri Feb 03, 2006 3:13 pm   Post subject: (No subject)

thanks...

lol..but, i meant through java...i found the printing part...I need to pass an image/graphincs to the print method for it to work..so, now I just need to know how can I get an image of my JPanel? (like using BufferedImage/Image) of some sort...

Thanks
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: