You down with NTP… Yeah you know me!

 
NTP stands for Network Time Protocol, and it is an Internet protocol used to synchronize the clocks of computers to some time reference.

Type the following command to install NTP.

# yum install ntp

Setup the time sync.

# echo 0.centos.pool.ntp.org > /etc/ntp/step-tickers

Set the run levels required for the ntpd service.

# chkconfig --level 345 ntpd on

Start the NTP service.

# service ntpd start

Once the clock is synchronized for the first time, run the following command to set the Hardware Clock to the current System Time.

# hwclock -w

Use either of the following commands verify if the NTP process is running:

# ps aux | grep ntpd
# pgrep -l ntpd

Description of the above commands:
ps – displays information about a selection of the active processes.
pgrep – looks through the currently running processes and lists the process IDs which matches the selection criteria to stdout.

How to Enable AirPrint Service on Windows 7/Vista/XP (32-bit/64-bit)?

Requirements:

– iTunes 10.1 (or the latest version)
– iOS 4.X
– Make sure the printer is setup as a shared printer on your local PC
– Printer and iOS device should share the same Wifi connection
– Make sure you have full administrator privileges to enable/disable services on your PC

Steps to Enable AirPrint on Windows 7/Vista/XP:

1. Create an AirPrint folder.

For 64-bit Windows OS:

  • Go to C:Program Files (x86) and create a new folder called AirPrint.

For 32-bit Windows OS:

  • Go to C:Program Files and create a new folder called AirPrint.

2. Download AirPrint.zip and unzip it in the AirPrint folder you created in the above steps.

3. Go to Start -> run and type “cmd” to open the Windows Command Prompt.

4. Now use the following set of commands respective to your OS version:

For 64-bit Windows OS:

  • sc.exe create AirPrint binPath= “C:Program Files (x86)AirPrintairprint.exe -s” depend= “Bonjour Service” start= auto
  • sc.exe start AirPrint

For 32-bit Windows OS:

  • sc.exe create AirPrint binPath= “C:Program FilesAirPrintairprint.exe -s” depend= “Bonjour Service” start= auto
  • sc.exe start AirPrint

5. As soon as you start the AirPrint service, Windows Firewall will prompt you to allow or deny AirPrint features to be shared over networks. Click on the Allow access button.

Finished. Now you can utilize the AirPrint feature on your iOS device to print any document, photo, email or webpage wirelessly over your Wifi connection.

Update: 1/6/2012
Follow the instructions at the following link to enable AirPrint for Windows and your iOS 5 device.
How To: Enable AirPrint on Windows (32/64Bit) with iOS 5.x Support