I like the idea. Nicely done. I have one question: Why use a barcode scanner if you could use a normal toggle switch attached to the door, linked to either the serial or parallel port. Would that solution make it cheaper? Typically those magnetic switches you get used by alarm systems should do the trick perfectly.