Installing HP Printer on Windows Server 2003

Connecting a printer to a server compared to a desktop system is not as straight forward as it may be perceived. Whether the manufacturers software simply refuses to install on Windows 2003 or insists on adding a load of bloatware on your system, here is how to get around it:

Step 1: Start by downloading the basic version of the drivers from the HP website, choose Windows XP drivers if there are none for Windows 2003

Step 2: Open the executable file, allow it to extract and display the first setup screen. Here, depending on the printer chosen it may let you continue with the setup, or stop the installation there telling you the operating system is not supported.

Photosmart-1

Whatever the installation screen displays, DO NOT CLOSE THE WINDOW, while its open all the files you need are made available. Next navigate to your temp folder. TIP: Go to Start Menu à Run, and type  %temp%. This will bring up your temp files.

Photosmart-2

In the temp folder, look for a folder containing the setup files that were extracted as part of the installation, it will usually have .inf files that contain the printer model as part of the filename, below is an example of the drivers to install a HP C4700:

Photosmart-3
Look for references in the file names that match your printer’s

Step 3: At this point its best to copy (not move) the contents of the folder to a more convenient location. When a copy is made, you can close the installation utility as you have all the files in a new location.

Now navigate to Start > Settings > Printers and Faxes, and then start the Add new printer wizard.

After the intro splash, choose “Local printer attached to this computer” and un-check the box for “Automatically detect and install my Plug and Play printer”

Note: Step 4 is for installing a printer over a network, if you are connecting via USB, skip to step 5.

Step 4: Click next, on the next screen you will want to select “Create a new port” and choose “Standard TCP/IP port” from the drop-down menu, as below:

Photosmart-4

This brings up a new wizard, after the intro splash onto the add port screen, type the IP address of the printer:

Photosmart-5

NOTE: To save reconfiguration in the future, remember to set the printer to have a static IP address as you are not installing the program that find the printer on a dynamic IP address.

The next screen, leave the settings as a “Standard device type” and “Generic network card”. Clicking next brings you to printer software screen.

Step 5: Click the “Have Disk” button and navigate to the copy of the installation files.

Photosmart-6
Choose the most generic file name.

Only .inf files show, and you want to choose the most generic file name that is similar to your device, in this case above hpC4700.inf seems the most obvious.

If the right file has been chosen, you see your printer display as below.

Photosmart-7

If you get a warning message about a digital signature, choose “Continue Anyways”, but make sure you downloaded the drivers from a reputable site, such as the official HP website.

The installation wizards copies the files, then choose to print a test page to make sure all is well, and your HP printer appears in your printers folder.

Photosmart-8

Increasing Maximum Upload File Size in WordPress

When installing WordPress on a fresh new server, you may notice that all uploading is limited to 2MB. A search online reveals that this gripe is well discussed. However most solutions are tailored for users who rent dedicated WordPress hosting from companies.

For those of you who are using your own server, navigate to the file php.ini located where the core php installation is, normally in the Program Files/PHP folder in Windows.

php

From there, edit php.ini using Notepad or similar, changing the following values:

“Upload_max_filesize” from “2M” to 64M (or as desired)
post_max_size” from 8M to your favoured size

Check back on your WordPress site to see if the change has applied:

upload

Got my slice of Pi

Last night after months of waiting if finally got my hands on my own Raspberry Pi.

pi

After the initial jumping on the bandwagon I needed to turn my attention to figuring out what I will do with it. Initial thoughts (After playing and seeing what it can do, of course) was to use it as a media player for my TV, since my thirst for high definition mkv files outstrip not only my TV but my XBox for playback.

Second thoughts is to use it to power this WordPress blog, quick reading online speculates that it may be a challenge but is achievable. Something to think about, but only after I get bored of it, no point having a web server that I’m going to fiddle with (brick!) constantly.

Shall keep you posted on my relationship with the Pi!