Updated dxf.print_stack function for using with full .dxf-files