Search found 21 matches

by RobertoG
Fri Apr 22, 2016 7:07 am
Forum: NConvert
Topic: check ghostscript working
Replies: 8
Views: 18891

Re: check ghostscript working

hi
i found a solution.
I don't know if is the best solution , but worked

i installed XnView
i installed gs 9.19 32 bit
i copied lib e bin from gs into plugin folder under the xnview folder
i configured
XNVIEW_GS_DLL=C:\Program Files (x86)\gs\gs9.19\bin
XNVIEW_GS_LIB=C:\Program Files (x86)\gs\gs9 ...
by RobertoG
Mon Apr 18, 2016 11:46 am
Forum: NConvert
Topic: check ghostscript working
Replies: 8
Views: 18891

Re: check ghostscript working

hi
i'll try installing XnView this afternoon

I'ts possible to generate a very verbose output, or a debug one, listing the tries of finding GS, end the errors?

i've installed gs919w64.exe
i don't have the 32bit versions, i think it's not a problem...

C:\Program Files\gs\gs9.19>dir
Volume in ...
by RobertoG
Mon Apr 18, 2016 10:17 am
Forum: NConvert
Topic: check ghostscript working
Replies: 8
Views: 18891

Re: check ghostscript working

i tried...

i've uninstalled old 9.09 i had on PC
i've deleted folder under xnview\plugins
i've removed and reinstalled 9.19

D:\Files\test>..\XnView\nconvert.exe -dpi 300 -xall -out pdf -c 1 -multi -o Success.pdf Test_PDF.pdf
** NCONVERT v6.82 (c) 1991-2016 Pierre-E Gougelet (Jan 4 2016/21:36:59 ...
by RobertoG
Mon Apr 18, 2016 8:02 am
Forum: NConvert
Topic: check ghostscript working
Replies: 8
Views: 18891

check ghostscript working

hi
i'm tryng to convert files and i get the error
"D:\Files\XnView\nconvert.exe" -out pdf -multi -xall -quiet -D -overwrite -c 1 -o aaa.pdf ARCHIVIO_EC-----1006364382.pdf
my_error_exit...<Not a JPEG file: starts with 0x25 0x50>
my_error_exit...<Not a JPEG file: starts with 0x25 0x50>
Error: Don't ...
by RobertoG
Thu Apr 07, 2016 11:04 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

well...
copy + Excel formulas slution...

i copied all files :(

If file contains "_P", i generate


ren 00222_00042_6001\1001011834_P1.tif 1001011834_P001.tif
ren 00222_00042_6001\1001011834_P2.tif 1001011834_P002.tif
ren 00222_00042_6001\1001011834_P3.tif 1001011834_P003.tif
ren 00222_00042 ...
by RobertoG
Thu Apr 07, 2016 8:42 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

Hi
at the end, i generate a script to copy and rename all file, with padding...
It took all night, and i'm starting processing now in the simpler way

roberto
by RobertoG
Wed Apr 06, 2016 8:55 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

hi
To confirm that this way is not appliable here, i tested with:

nconvert.exe -out pdf -multi -overwrite -c 1 -o 1001011879.pdf 1001011879_P*

getting

** NCONVERT v6.82 (c) 1991-2016 Pierre-E Gougelet (Jan 4 2016/21:36:59) **
Version for Windows Xp/Vista/7 x64 (All rights reserved)
** This is ...
by RobertoG
Wed Apr 06, 2016 7:25 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

not considering some exceptions, generally yes

BTW:
I've considered to use a simple 1234567890*.tif but i can't control the order...

dir 1000756167*.tif

generates


...
04/01/2011 10:14 PM 103,545 1000756167_P931.tif
04/01/2011 10:14 PM 124,143 1000756167_P932.tif
04/01/2011 10:14 PM 28,306 ...
by RobertoG
Tue Apr 05, 2016 1:32 pm
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

i'm going to study the script functionality in Nconvert, can be a solution....
by RobertoG
Tue Apr 05, 2016 12:51 pm
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list


If you are able to list the files for each conversion in your command line, couldn't you for example copy them to a temporary folder using a copy command in the batch file, and then convert just those files using a wildcard?


Oh, everyting can be done, i think.
I've 1.600.000 files in 45.000 ...
by RobertoG
Tue Apr 05, 2016 11:43 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list


Is there a reason why you can't simply use a wildcard as above, as it seems the easiest way and automatically accepts any number of input files?


Yes.
The reason is that in the SAME dir i have files to be merged in different results, so ,unfortunately :( , *.tif is not applyable

in this folder ...
by RobertoG
Tue Apr 05, 2016 11:03 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

Hi
i'm taking a lot of your time, sorry
I include the full output of the convert.bat
(i removed -quiet from the parameters)


D:\File Balbec\1000_TIFF_Files\1000_TIFF_Files>convert.bat

D:\File Balbec\1000_TIFF_Files\1000_TIFF_Files>..\xnview\nconvert.exe -out pdf -
multi -overwrite -c 1 -o final ...
by RobertoG
Tue Apr 05, 2016 10:06 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

cday wrote: Is there a reason why you can't simply use a wildcard as above, as it seems the easiest way and automatically accepts any number of input files?
Yes.
The reason is that in the SAME dir i have files to be merged in different results, so ,unfortunately :( , *.tif is not applyable
by RobertoG
Tue Apr 05, 2016 9:53 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

Hi
I've adapted your zip to generate the problem.
in zip you find 1000 tif + a convert.bat + final.pdf
if you run the bat (adapt the nconvert path) you got error

.....
......
e.tif 515.image.tif 516.image.tif 517.image.tif 518.image.tif 519.image.tif
520.image.tif 521.image.tif 522.image.tif ...
by RobertoG
Tue Apr 05, 2016 9:25 am
Forum: NConvert
Topic: Char removed from File name in long list
Replies: 34
Views: 4561

Re: Char removed from File name in long list

hi

well, i think problem is not related to 8192 limit, because :
1. ALL files in command line (> 13300 chars) are processed by nconvert
2. 8192 is related to cmd.exe , not to internal CreateProcess function ,limited to 32k chars
https://blogs.msdn.microsoft.com/oldnewthing/20031210-00/?p=41553 ...