Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi All,

I need a Code to get screenshot of Document Printing from Printer...help me

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 9-Oct-11 21:14pm
v3
Comments
OriginalGriff 10-Oct-11 3:14am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Mohibur Rashid 10-Oct-11 5:36am    
The question is not clear, can you elaborate more?
Kantesh Nagaradder 11-Oct-11 0:12am    
means, suppose if i give a ms-word document for print , our code should take screenshot of that MS-Document .please Help me
enhzflep 10-Oct-11 7:21am    
Do you mean a Print Preview?
Kantesh Nagaradder 11-Oct-11 1:07am    
ya exactly , but programmatically should take print preview ...

 
Share this answer
 
Comments
Kantesh Nagaradder 11-Oct-11 3:09am    
Okay ..thank u so much ..
Chandrasekharan P 11-Oct-11 3:15am    
Try it out. See if works for you.
First find the handle of the window and use PrintWindow function and this is same as This WM_ PRINT
 
Share this answer
 
Hi,
U Just press ctrl+printscreen....
then goto mspaint,
then press ctrl+V...
u get ur screenshot...
 
Share this answer
 
Comments
Kantesh Nagaradder 11-Oct-11 0:15am    
okay what u r telling is right but i want to do that Pro-grammatically so please help me in that way ......

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900