Category Archives: Windows

Firewall Settings for MFC-440CN connection problem

Simply unblock port 54925 for scanning and port 54926 for faxing. Also make sure you allow both TCP and UDP packets.

By default after installing the MFC-440CN drivers the scanner/fax is blocked by windows firewall so you need to unblock the network ports the scanner/fax tries to connect to.

Brother has some nice instructions located here that show exactly how to unblock the required ports.

I ran into this problem with both Windows XP and Windows Vista, but to get my scanner to work I just turned windows firewall off, not really the best practice!

Handy Linux Reminders

Don’t forget the command: man commandname for program/command specific information.

Using Command Line

Get the Drive Usage / Free space

Use command: df -h

Get the Folder size

Use Command: du –h

Schedule a command

This will edit current users crontab config: crontab –e

This will list current users crontab config: crontab –l

Tasks are entered with the following syntax:

* * * * * (command; another command ;)

Where the *’s represent: Min, hrs, days of month, month of yr ,day of week

Printing a PDF

The following command line command prints a PDF file and moves it to a folder called printed.

Prerequisites:

  • GhostScript is installed
  • Printer is installed (and is a hp laserjet)
  • There is a ‘printed’ folder in the same folder as the PDF file

Gs –sDEVICE=ljet4 sOutputFile=|lpr *.pdf; mv *.pdf printed/; echo ALL DONE !!!;

Using VI Editor (VIM)

Basic Operation

Enter edit mode with Ins

Return to command mode with ‘Esc’.

Quit without saving with ‘:q!’ in command mode.

Quit with saving with ‘ZZ’ in command mode.

Save with ‘:w’ in command mode.

Save As with ‘:w newfilename’ in command mode.

Turn on syntax highlighting with ‘:syntax on’.

Modify Configuration Defaults

Open /etc/vim/vimrc or .vimrc in your home directory

To turn on Syntax Highlighting by default, change the line “ syntax on to syntax on.

Fix for mom.exe application error (0x0000135)

I was getting an application error when I logged in after installing the latest version video drivers for my ATI Video Card.

The problem was that the Catalyst Control Centre software installed with the driver needs the .NET Framework to be installed to work properly.

The Solution/Fix for the problem is to download and install the .NET Framework.

The latest version of the .NET Framework can be download for free from Microsoft here

The menu to setup automatic logon on startup for windows xp

I needed to have my tv account automatically logon on startup (for obvious media centre fun). Microsoft has a nice KB on how to do it:

http://www.microsoft.com/windowsxp/using/setup/learnmore/tips/knox2.mspx

In case they delete the article you just need to go Start > Run: control userpasswords2 [Enter key]

Then untick the ‘require password to logon’ and give credentials for the account for default logon. Easy!