DXF to PNG node module and command line tool.
dxftopng(__dirname+'/data/test.dxf', {width: 300, usemapping: true}, function (err, pngbuff) {
// do something with the buffer
});
mapping uses the node-dxf text mapping algorithm for text elements.
$ node-dxf-to-png -i test/data/test.dxf -w 400 -m true -o mydxfas.png