Say when

Hi, can anybody tell me the origin of this phrase?
cheers,
Alex

Eric Partridge's Dictionary of Catch Phrases: American and British, from the Sixteenth Century to the Present Day says it's been a drinking cliché since about 1880.
To your health,
R.