Make sure other family members and visitors understand this command, as well. It is crucial that your dog understand that all family and visitors are above his rank in the pack. Otherwise, he will lash out and try to assert himself on everyone. While using the Off command may not be appreciated by most visitors, but it is more important that a dog has a good greeting manner with all people. A little effort on everyone's side makes your dog disciplined and docile.
Before you answer the door and welcome guests, clip a leash on your canine, preferably to a front-clip harness or head halter, so that he can be controlled in a manner such that he cannot greet if he jumps. When your dog is calm, with all four paws on the floor — which may take up to a few minutes for more excitable dogs — allow him to approach guests and say hello. If he jumps, gently turn and lead him away; wait for calm behavior before approaching again. For particularly excitable dogs, another option is to remove the dog to a contained area before guests come in. An exercise pen or baby gate is adequate containment for many dogs. If you have an athletic or large dog that can easily scale a gate, use a crate or move him to a room with a closed door. Once your dog calms down, clip on his leash and allow him to come out and greet your guests.
Understand the dog's behavior. In a dog's world, it is instinctual to greet another dog by coming nose-to-nose with them. This allows them to sniff each other's faces and become acquainted with the other dog's scent. Of course, your nose is a bit higher to reach so it is only natural that your dog will jump up to get closer to your face when greeting you. This can be quite annoying and unnecessary, but fortunately, the habit can be broken.
Start by teaching your puppy the word NO. Use that word only when she is doing something you do not like. You have to use the word NO in a loud, stern voice that is different from all other ways you communicate with her, so that she knows there is something wrong. You also have to catch her in the act that you don't like, so that it will associate the word NO with the action that she is doing. Be consistent, and follow your verbal command with a light smack or moving her to a time out spot.
Paying attention to a dog only when all four paws are on the floor can work well, if jumping isn’t well entrenched and if everybody who deals with the dog follows the rules. Unfortunately, much of humanity will get busy undermining you. “I don’t mind your puppy jumping up,” they say, while you tear your hair out. Or they get all disciplinarian, maybe kneeing the dog in the chest. That is not only mean but counterproductive, because dogs often respond by trying to appease. Since humans are usually taller than dogs, reaching our muzzles to lick them involves jumping up.