Slang meaning of Up the Spout

Up the Spout means: Imprisoned.