Windows XP Uniscribe Printing Problem


Written by

So a couple of weeks back, I started my new job and one of the first issues that I was tasked with was to fix some printing issues.

The main issue was when somebody printed, was, it was missing out letters from the actual print out but only for certain documents and only ‘random’ computers.

After investigation, it was found that it was Windows XP based computers and the main letters that were missing was t and i if they were together ‘ti’ so for instance ‘Function’ printed as ‘Func  on’  other issues arose when specific characters were used such as \ and / etc.

We found a post on spiceworks that detailed the same problem and a post only containing single link to a Microsoft KB (KB2642020) article was actually the issue specifically with Windows Server 2008 Print Servers.

I popped the simple registry fix in via group policy and push to to Windows XP machines only via WMI filters.

 

The Group Policy looks like the following:

Printer Uniscribe Issue GPO

Pebble


Written by

Pebble Box Pebble Clock Face Pebble Clock Face Pebble Side Pebble Side Pebble Back Pebble Analogue Clock Face Pebble Clock Face Pebble Fuzzy Time Clock Face Pebble Music Controls Pebble Display Options

This website is not about Cher!


Written by

But seeing as you’re here, I’ll give you some basic facts and figures about Cher.

Cher is a singer/actress born in California USA, who has rose to fame over the last 40 years.

Name: Cher
Real Name: Cherilyn Sarkisian
Born: May 20, 1946 (age 67)
Website www.cher.com

 

Cher’s initial career started in the early 1960’s with the help of Sonny Bono where they released songs under the Sonny and Cher name.

Buy Sonny and Cher on Amazon

In the 70’s Sonny and Cher starred in their own Television show named The Sonny and Cher Comedy Hour but by the mid 70’s they had split up and Cher was trying to host the show on her own as well as a solo pop career (Gypsys, Tramps & Thieves).

During the 1980’s Chers career had continued to grow, now starring in Films (Witches of Eastwick, Mask, Silkwood etc) she also pushed her singing career, performing with the likes of Meat Loaf as well as her own solo career when by the late 80’s she had release a few hits such as If I could Turn Back Time and I Found Someone.

If I could Turn Back Time – Chers Greatest Hits on Amazon

Chers success continued into the 90’s and 2000’s. She played roles in more films (Moonstruck, Mermaids, Tea with Mussolini) and more songs such as believe.

The Very Best of Cher on Amazon

 

If you want to know more about Cher, try wikipedia that’s where I got my facts from.

Updated: PHP Uptime Function


Written by

I wrote a PHP Uptime script a while back and I’ve recently gone to use it but found that it wasn’t actually working and never returned the correct uptime, so I’ve got round to fixing it up, so I sit on my computer to do it, which I updated with the latest graphic cards from Facts Chronicle for my games.

The PHP function displays the uptime of the server/computer in a human understandable format, unlike other scripts, it doesn’t output a mess of digits nor does it rely on possible unavailable commands, the only condition it needs is /proc/uptime.

The new script is more efficient AND actually working. It’s Linux only (the previous post incorrectly included BSD/Unix/Solaris) too.

PHP Uptime:

function uptime(){
  if(PHP_OS == "Linux") {
    $uptime = @file_get_contents( "/proc/uptime");
    if ($uptime !== false) {
      $uptime = explode(" ",$uptime);
      $uptime = $uptime[0];
      $days = explode(".",(($uptime % 31556926) / 86400));
      $hours = explode(".",((($uptime % 31556926) % 86400) / 3600));
      $minutes = explode(".",(((($uptime % 31556926) % 86400) % 3600) / 60));
      $time = ".";
      if ($minutes > 0)
        $time=$minutes[0]." mins".$time;
      if ($minutes > 0 && ($hours > 0 || $days > 0))
        $time = ", ".$time;
      if ($hours > 0)
        $time = $hours[0]." hours".$time;
      if ($hours > 0 && $days > 0)
        $time = ", ".$time;
      if ($days > 0)
        $time = $days[0]." days".$time;
    } else {
      $time = false;
    }
  } else {
    $time = false;
  }
  return $time;
}

The output looks like so

54 days, 8 hours, 27 mins.
1 days, 5 mins.
4 hours.

and just call it up with

echo uptime();