Yes, this should work, and indeed worked when I tried it on a couple of books. I would second @mjames’ suggestion that you first check that it is working when you do load up the UI. After that it will happily create individual books from the command-line.
Apologies that the status/error messages don’t seem to be appearing on the command-line output. That is something we’re going to need to address in a future version.
Thanks to you both for such quick responses. I’ve replicated my experience with these steps:
Open the GUI.
Click “Print (Make PDF)”
– a PDF copy of Romans opens up
Close GUI application
Delete PDF generated in C:\My Paratext 8 Projects\XYZ\local\ptxprint
From command line, run: "C:\Program Files\PTXprint\ptxprint.exe" -b ROM -c SingleSpaceDraft -P XYZ
– No console output and no PDF generated.
(I can then open the GUI and generate a copy)
Interestingly, when I first opened the computer to replicate this, it was giving me an unknown error message. I then clicked the “Tidy Up” button, and was able to carry on with the steps above. (I generated the zip file as it suggested, and if it’s helpful I’d be happy to email it to a secure email address.)
And yes please to more console output.
I will also have a look at running it from the repository code.
Then open that file to see if there are any clues as to why it isn’t generating the PDF as expected. If it isn’t obvious as to why it is failing from reading the messages (particularly at the END of that log file), then please feel free to send that to the firstname.lastname@example.org address.
If that doesn’t reveal anything useful to you, then send that to the support email address (see above), or better still create an archive (using the button on the Help tab) and send that to be diagnosed.