Hi guys, i tired to write a cmd-Script for windows that converts JNT to PDF. Unfortunately it doesn't really work. It should work perfectly....but
Here it is: could you have a look at it please?
(The comments (REM ...) explain what i do, they are in German):
REM Skript sthet unter GPLv3 by jcol11 REM man benötigt PDFCreator um es ausführen zu könnenREM create a fresh Directory no content in it (delete it if it is already there)
rmdir %cd%\PDFs_%Date%
mkdir %cd%\PDFs_%Date%REM old Printer ("%alterdrucker") = standard printer, remember
SET %alterdrucker=MeinDruckerREM set PDFCreator as standard printer
rundll32 printui.dll,PrintUIEntry /y /n "PDFCreator"REM activate Autosave
REG ADD HKEY_CURRENT_USER\Software\PDFCreator\Program /f /v UseAutosave /d 1FOR %%f IN (*.jnt) DO (
REM set Filename
REG ADD HKEY_CURRENT_USER\Software\PDFCreator\Program /f /v Autosavefilename /d %%fREM set Autosave Directory setzen REG ADD HKEY_CURRENT_USER\\Software\\PDFCreator\\Program /f /v AutosaveDirectory /d %cd%\\PDFs_%Date%\\ REM PrintFile to pdf "%ProgramFiles%\\Windows Journal\\Journal.exe" /p "%cd%\\%%f")
REM restore old printer
rundll32 printui.dll,PrintUIEntry /y /n %alterdrucker%<p> </p>