Sample script
A simple template for the “CustomToPdf.bat” script is shown here; instead of converting to PDF, the source file is only copied to the target.
@ECHO OFF
REM A simple custom conversion script example.
REM The source file is copied to the destination file.
REM A productive script has of course to create a PDF file from the source file.
REM For examples see the files of the Scripts folder.
REM Parameters:
REM %1 SourceFile
REM %2 TargetFile
REM %3 Utf8TextFile (0 - Other, 1 - Utf8)
ECHO Called: Custom2pdf.bat %*
setlocal
REM Copying source file to destination file
copy %1 %2
ECHO Error level=%errorlevel%
In the Scripts folder, you can find examples that actually perform a conversion.