Support for the Windows Journal format (JNT) outside the Windows platform is dismal. Thus, I am looking for a way to convert jnt files to PDFs. Currently, one either has to print to PDFs from Journal or use online converters. Is there a way to automate the conversion?
|
|
Look here:
Maybe you could improve my script and post it again? (new version under ubuntuusers available, works fine for me. It also saves the file under the correct filename): Ubuntuusers.de Script to convert jnt to pdf If you have improved the script please post it on ubuntuusers.de (you can post it in english). This will keep the "effort" together so that we dont have to check 2 sites for new versions. |
|||||
|
|
You could setup a print queue (that does not pop up a dialog for printing if you don't want to). You can use a Ghostscript-based backend together with RedMon or RedMon 64bit and a generic PostScript printer driver to set up a printqueue that spits out PDFs if you print to it. For details about the required setup procedure, see the RedMon documentation. If that doesn't help you, ask again a specific question. |
|||
|
|
|
You should look to see what the DDE command is (if any) for Journal Viewer to print a file (such as when you right click a journal file and get a print option in the context menu). This is typically in the registry and might also be the "file type associations" table. Once you have this info, you could set your pdf printer driver as default and then set a batch file to automate the pdf creation. With adobe PDF, you might have to specify a file name each time, which is suboptimal, but there are other options. I do something similar for Word using command line options ( |
|||
|
|
|
John's post pointed me to the correct answer. Here is a cygwin script that you can adapt to print the JNT files to PDFs using the PDF Creator (free Windows PDF printer). You might have to make sure that PDF Creator is installed, and is configured as the default printer (at least for JNT files).
To use this script, put it somewhere in your PATH and execute it in a directory that contains the jnt files. It would be easy to modify it to take a target directory as a parameter. Other notes: in theory, PDF Creator (free Windows PDF printer) should be able to generate the PDFs from the command line, but I couldn't get this to work. The crazy quoting in the |
|||
|
|