How close can you get to the ideal of someone else footing the bill for publishing your magnificent opus? The traditional publisher will do that, but what if you decide, or have no other choice and decide to walk the walk yourself.
The traditional/commercial/trade publisher buys the rights to publish, and occasionally the subsidiary from the author. The largest publishing houses and the bigger independents will pay an advance on royalties, which the smaller presses may not. They are highly selective and only a small fraction of the submissions ever reach the bookshelves. For the select few who make it down that road every aspect of editing, publication, marketing and distribution is taken care of by the publisher; at no cost the author!
A very small number reach the public this way and to read the various offerings in the "How to Get Published" genre - we're looking at a scenario of such improbability you might as well pack up, throw the manuscript in the shredder and grow rhubarb instead.
Yet the manuscript is intact, not mulched for rhubarb fodder and our author is up for the challenge, and the heartache, so where do we go from here?