Go Back   Computer Forums > General Computing > Software and Operating Systems
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 09-23-2013, 11:36 AM   #1
Beta Member
Join Date: Sep 2013
Location: United Kingdom
Posts: 2
Default Components of an Operating system and how they work

Hi guys,

I don't know where else to go and i know a lot of you are very educated on this subject.

Basically i'm trying to do an assignment and have been asked to describe the process from clicking print on a document to it being printed out, describing the process of each element of the operating system and what it does to make this happen. i do not need to include how the printer works but i have listed below the key elements i need to describe and what they do when i click print. I'm really stuck on this and any help would be GREATLY appreciated!

These are the layers i need to use in the explanation

Memory Manager
File Manager
I/O manager


madmurphy123 is offline   Reply With Quote
Old 09-25-2013, 10:01 AM   #2
Site Team
iPwn's Avatar
Join Date: May 2010
Location: USA
Posts: 3,671
Default Re: Components of an Operating system and how they work

Hi Aaron. I'm Aaron as well

Anywho, that's quite the question and depending on exactly how deep you want to get, this could turn into a novel of an answer. Unfortunately, I'm in school myself and have my own homework so I'm not going to write a novel, but I'll try to cover some of the basics.

Man where to start...

So the application that you're printing from is going to determine at least the first few steps of this.

The application is running in Memory. As far as a Memory Manager, I didn't know Windows had one (bazinga!)... j/k. The memory manager is responsible for controlling which information exists in your RAM at any given point. You have only so much RAM available, so the goal of the Memory Manager is to keep process information in memory that is being actively used and purge information that is no longer needed. The joke above is because Windows freakin sucks at managing the memory allocation.

Keeping memory in RAM allows for much quicker processing as the physical communication path between the CPU and RAM is much faster than the physical communication path between the CPU and the HD (Hence the implementation of RAM and the need for more and more of it).

The application is going to call a predefined Print function within Windows.

So you click "Print." The Windows environment is going to assemble a file within memory (and as a file located in C:\Windows\System32\spool\PRINTERS (which is where the File Manager comes in, although kind of useless)) based on the driver information you installed with the printer. The printer drivers direct Windows to construct the print job according the specifications that were imprinted in the firmware of the Printer itself. Firmware is the programming the directs workflow of the hardware itself. Drivers are more or less 'translators' from your Windows environment and/or software packages to the physical handling of the packets by the device.

Within the Kernel of Windows (the core of the operating environment and code), you have already configured a 'default printer.' The default printer configuration is going to contain the device that is used to 'Print' along with the physical path along your hardware (routed by your [Hardware] I/O manager (most likely your motherboards "South Bridge")) which is also logically defined in the [Software] I/O manager.

Once the file is assembled, a Windows process direct the CPU to physically send the packet to the printer, which is then interpreted by the Printer's firmware which directs the printhead where to spit ink onto the paper. This is all based off the construction of the 'packet' that was sent to the printer.

This is kind of garbled I know, but it gets so much deeper than what I just wrote.

Does that make sense?

Humans are the only creatures that won't live up to the their potential. Give everything your all. When you die, die on E.

So I ask you, what do you intend to do now?
iPwn is offline   Reply With Quote
Old 09-25-2013, 10:46 AM   #3
Beta Member
Join Date: Sep 2013
Location: United Kingdom
Posts: 2
Default Re: Components of an Operating system and how they work

Thanks you ever so much, ive been searching for days for something well explained like that, and i did like your jokes. But this has really helped me, hopefully i can explain this in my own words and i will let you know how i get on.
Thanks again
madmurphy123 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 06:57 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0