Command Line
Command Line
-r<page range>. The pages that you want to import from PDF file.
Range value string could be: 2-15, 33, 35-36, or All. (Default:
All)
-k<html key words> Set the keywords for HTML output file.
-i<icon file path> Set the icon path for exe output.
-B<bookmark file path> Specify the table of content path for the book.
The TOC file will override all the TOC info
in the -f<PDF File> .
View TOC file format by exporting TOC in GUI.
Examples 1:
PTCMD -f"C:\input.pdf" -o"C:\outputfolder" -n"index" -thtml -c"Title"
-s"Float#c:\my_ebooksetting.txt" -r"1-8,9-14,42" -q4 -R"SWF" -bN
Examples 2:
PTCMD -f"C:\input.pdf" -o"C:\outputfolder" -n"ExeFileName" -texe -i"C:\app.ico"
-c"Title" -s"Float#Blues" -r"All" -q5 -R"GS"
Examples 3:
PTCMD -f"C:\input.pdf" -o"C:\outputfolder" -n"index" -tzip -c"Title"
-s"Float#Blank" -r"All" -q5 -R"GS" -k"html key words"
Examples 4:
PTCMD -f"C:\input.pdf" -o"C:\outputfolder" -n"index" -tzip -c"Title"
-s"Float#Blank" -r"All" -q5 -R"GS" -k"html key words" -B"c:\yourBookMarkFile.txt"
Return Code:
1: Success
2: Input file not found
3: Parameters are invalid
4: Failed to load PDF
5: Failed to import bookmarks
6: Failed to import links
7: Failed to import searchable information
8: Failed to save the output file.