Truthfully I don't think the best way would even be to try to 3D print the whole structure though just generic pieces that are then assembled into larger assemblies. Just being able to mass manufacture extruded profiles and sheet metal would allow you to do a lot in space that would be hard to launch piecemeal from the ground. Then smaller specialized pieces to join them together in the specific way required for the current vehicle being built could be printed and assembled.
There's a lot of neat research going on in assembling structures like that atm.
well, it depends on the target temperature you want to maintain. Radiative power grows with the forth power of temperature (https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_law). So that red glow of Merlin engines mentioned by the other comenter radiates so intensively that any other method of heat transfer can hardly come close. Another example - just 5700K of the Sun surface is enough to radiate away all the power the Sun's body generates.
In space you can't vent to atmosphere or run the oil through a fan/water cooled radiator. So I'm thinking you'd have to build a heat reclaimer or high surface area radiator which uses an active cooling system like thermal pipes or circulated fluids like oil. But how does this adapt to different parts with odd shapes? Perhaps the printing would have to take place in a pressurized environment to facilitate cooling using gas and then figure out how to get rid of or recycle the waste heat.