Can't print on OS X Lion via shared printer connected to Windows Vista. Fix?
IN my situation the error was caused by a changed password. In the keychain the old password was registered and used during printing.

I solved to problem as follow:


Open the KeyChain Access App (Applications -> Utilities -> Key Chain Access)
Search for your printer name
Open the key chain entry found
Change the password