Only when airlines cooperate with agreements. The booking numbers are only unique within a system and if you fly on several airlines it's not uncommon to have different booking numbers for each airline. Their systems are often (not always) able to print all tickets in one go but I often had to get a new ticket at a stopover because of system issues.
Airports have contracts with each airline flying anyway so they can adapt their systems. Since aviation is a for-profit business (at least in theory), there's more money to do this than for tax funded public transport.