PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Sep 15, 2019 3:39 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Printscreen mechanism
PostPosted: Tue Jul 28, 2009 3:42 am 
Offline
Forum Contributor

Joined: Tue Mar 10, 2009 8:40 am
Posts: 122
Hello,

I wondering to know how the mechanism of printscreen works. Is screen readed from a buffer of a graphic card or another memory?
Can I discover this way, if the graphic card is OK? Or is another way? ( I can't see a screen )

Thanks!


Top
 Profile  
 
PostPosted: Tue Jul 28, 2009 5:59 am 
Offline
DevNet Resident
User avatar

Joined: Sun Feb 15, 2009 8:22 pm
Posts: 2119
Location: Ipswich, UK
I had a google, but I just found a bunch of idiots asking "Why doesn't print screen print the screen from my printer?"...fools.

But I don't know. I'd imagine it copies the screen buffer from ram or something. Although I could be completely wrong :dubious: so don't take my word for it....


Top
 Profile  
 
PostPosted: Tue Jul 28, 2009 5:44 pm 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine
I guess it's copied from offscreen buffer. See this source for example: https://www.atmos.washington.edu/svn/iv ... dow_Dump.c


Top
 Profile  
 
PostPosted: Wed Jul 29, 2009 5:30 am 
Offline
Forum Contributor

Joined: Tue Mar 10, 2009 8:40 am
Posts: 122
So it's look like that a printing screen is independent on functionality of a graphic card. Because printscreen reads buffer (object) in primary memroy (if I understand to malloc() well).

Is there any command, which I can use to explore if the graphic card on remote machine works correctly?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group