When a dog jumps on a human of its own free will, it is not "greeting" the human, it is asserting its dominance over the human; it is the dog communicating that it is alpha and/or wishes to own/control the human. A subordinate would never dream of running over and jumping on the alpha dog of the pack. Space is respect and lower members of the pack respect the higher members. If your dog jumps on humans, it does not respect them. Note: when a young puppy jumps on humans it is sometimes its attempt to reach one's face. Puppies need to be taught not to jump up on humans as this behavior will manifest into other meanings as the puppy grows up into an adult dog.
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.