Site Tools


software:pdfprocessing:makepdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:pdfprocessing:makepdf [2012/05/31 05:40] – [Installation] adminsoftware:pdfprocessing:makepdf [2012/05/31 05:55] (current) – [Source code] admin
Line 21: Line 21:
   * To add automatically empty pages at the end of the document when the amount of pages is not a multiple of 4, add **-q** to your program name. For example if your exe file is called MakePDF -r600.exe, rename it to MakePDF -r600 -q.exe   * To add automatically empty pages at the end of the document when the amount of pages is not a multiple of 4, add **-q** to your program name. For example if your exe file is called MakePDF -r600.exe, rename it to MakePDF -r600 -q.exe
  
 +==== Windows command line limitation workaround ====
 +When selecting a large amount of tif files, windows may throw following error: "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item"\\ \\ 
 +This error appears due to limitations in Microsoft Windows (2000, XP and later), which can handle only a limited amount of characters on the command line.\\ \\ In order to convert a large amount of files, select the first and the last file of this range instead. The range should then be automatically recognized.
 ===== History ===== ===== History =====
   * Changes in v08.e, 30th of May 2012   * Changes in v08.e, 30th of May 2012
 +    * Clean up of -partly- messy code.
     * Added sequential file sorting as opposed to alphabetical file sorting which is useful for ranges of tif files which have filenames without leading zeros. If a range of tif files is detected, sequential file sorting will be automatically enabled.     * Added sequential file sorting as opposed to alphabetical file sorting which is useful for ranges of tif files which have filenames without leading zeros. If a range of tif files is detected, sequential file sorting will be automatically enabled.
     * Command line length limitation (Workaround). If there are too many files as argument, drag/drop only the first and last file of a range of tif files. If software recognizes there is a sequence between these selected files (including possible ScanTailor 1L/2R format), it will take that sequence. There may be gaps between them, as long as basic filename matches with each other. Filenames should be either in the format NAME_nnn.tif or NAME_nnn_(1L|2R).tif format), where nnn can be any number and NAME any name.     * Command line length limitation (Workaround). If there are too many files as argument, drag/drop only the first and last file of a range of tif files. If software recognizes there is a sequence between these selected files (including possible ScanTailor 1L/2R format), it will take that sequence. There may be gaps between them, as long as basic filename matches with each other. Filenames should be either in the format NAME_nnn.tif or NAME_nnn_(1L|2R).tif format), where nnn can be any number and NAME any name.
Line 229: Line 233:
 EndFunc EndFunc
  
-; get a list of files form a given directory+; get a list of files from a given directory
 Func getFileList(ByRef $path) Func getFileList(ByRef $path)
  Local $search = FileFindFirstFile($path & "*.*") ; Path includes trailing slash  Local $search = FileFindFirstFile($path & "*.*") ; Path includes trailing slash
software/pdfprocessing/makepdf.1338435639.txt.gz · Last modified: 2012/05/31 05:40 by admin