How to print a DWG file with Java

How to print a .dwg file with Java?

Is there an API for accessing and transferring an AutoCAD DWG file to a printer for printing?

+4
source share
2 answers

Dwglib is a Java library for accessing DWG files. This is essentially a port from the Pythoncad DWG Art Haas reading classes. jdwglib manages complex DWG objects that allow users to use these objects directly in their applications.

+2
source

You will find an API that allows you to read the AutoCAD dwg file. I have not seen any Java, but you could start with .NET as follows:

http://code.google.com/p/tf-net/wiki/DwgReaderWriter

Once you find the API, then it can be as simple as printing everything you do.

0
source

Source: https://habr.com/ru/post/1303743/


All Articles