Please, can someone helps me to resolve this issue?
I need to print through code, but the command _-SavePrintWindowAs its not recognized by rhino. What should I use instead?
I’m doing this:
string loc = "C:\\Users\\cricri\\Desktop\\hey.pdf";
RhinoApp.RunScript("_-Print Go _-SavePrintWindowAs \n\"" + loc + "\"\n _-Enter", true);
any clue will be very helpful
thanks in advance
Carlos
What about using a library? iText# and PDFSharp seem to be popular. I’ll keep digging into the RhinoApp.Runscript version to see if there is any way to pass a filename.
Can a filename be inserted in that to automate the printing? The iterations I’ve tried seem to not be able to bypass the file explorer window appearing. That being said, I’m no macro wizard.
There isn’t really a good way to do this in Rhino 5. Rhino 5 doesn’t have a built in PDF printer so it doesn’t know that printing in general is being sent to a file. There is progress being made on this in the Rhino 6 WIP that should be showing up in the next week or two.