No both hot gases and solids emits same quanta. But we must detect the radiation by an apparatus, that has a certain resolution. So we get the radiation from E to E + dE.
And also it is meaningless to ask "what is the intensity of the radiation at energy E´ ?" Because there exists an infinie number of possible energies, the answer is always 0 or 1. So therefore we must ask "What is the intensity of the radiation between energy E' and E' +dE ?"
Now in hot gas we get absorption or emission lines, depending on what angle we observe the cloud from. This is because the atoms absorbs and re-emits light at certain wave lenghts and if there is gas clouds in front and so on, we may se absorption lines or emission lines. The same is for a lamp, you have gas inside it that makes this absorption and emission of certain wave lenghts.
All spectras have both a continuous part, due to the heat radiation, and also discrete peaks or valleys due to absorption and/or emission of energy at certain wave lenghts. The main difference depends on how much they do and what temperatures we are talking about. The discharging lamps have so small continuous part of the total EM spectra that we can't see it with "normal" devices, so its line spectra dominates.
Look for example on the solar spectrum and the plack law:
http://www.udel.edu/igert/pvcdrom/APPEND/Spectra.png
http://alfven.princeton.edu/projects/MCVPImages/PlanckGraph.gif
Same type of graph, but the real object (sun) has absorption and emission lines.
maybe also this can be illuminating (also quite simplified, since there exist almost no real continoous soruce; the source may be a star in space or the tungsten restance thread with gas in a glas container)
http://www-astronomy.mps.ohio-state.edu/~pogge/Ast161/Unit4/Images/kirchoff.gif
I hope this explains a bit more why some devices has lines and not.