Re: Printing to PDF via command line
Posted by ravas on Dec 19, 2015; 8:38pm
URL: https://forum.librecad.org/Printing-to-PDF-via-command-line-tp5712735p5712743.html
Can you extend a C++ / Qt program with a Java library?
It seems nasty; and I think it would be overkill since we can already create PDF files.
To be clear: are you talking about the OS command line or the command line inside of LibreCAD?
Look at QC_ApplicationWindow::slotFilePrint
It could use some cleanup, and could be split into more than one function.
Also look at handleArgs in main.cpp