Login  Register

Re: Printing to PDF via command line

Posted by mandeep7 on Dec 20, 2015; 5:12pm
URL: https://forum.librecad.org/Printing-to-PDF-via-command-line-tp5712735p5712749.html

On Sun, Dec 20, 2015 at 2:08 AM, ravas [via LibreCAD]
<[hidden email]> wrote:
> 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?
OS command line.

> 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

Sorry, I've not undergone LC code as of now. As LibreCAD prints to PDF
from GUI. I just want to do it from Command line.

Thank you.

--
Mandeep Singh
http://mandeep7.wordpress.com
https://github.com/mandeeps708

“To err is human, but to really foul up everything, you need root password.”
Mandeep Singh