Up to snuff

Can anybody help me find the origin of this expression,"up to snuff?" thanks

Replies