I have a program that is running in PERL It creates a PDF dynamically which I then propose to print out using Sumatra on a USB stick. Thus, it will (somehow) be executed as a command line. My question is about the print dialog.
I know there is the -print-dialog in command line options that WILL print the dialog, but is the converse also true; leaving out that instruction will NOT cause a dialogue to appear? (I want it all to run ‘silently’, ie no PDF read window popping up, no print dialogue, just the program calling the exe, and said print appearing at printer)
Incidentally, the script creates around one single page a minute, and currently opening the exe each time. I did wonder about the -reuse-instance option to load it once, but not sure if that option would REPLACE what’s in the reader each time.
So my current (proposed) code, called for each new PDF is:
sumatra.exe -print to default -print-settings fit -exit-when-done “path-to-PDF”
NB: I discovered a chatabout your prog about an hour ago on StackOverflow