[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Ghostscript path on Windows for PHP script

Asked by andreyman3d2k in Miscellaneous Web Development, Ghostscript PDF Software, Web Development Software

Tags: Web Development, DreamWeaver, HTML, PHP, Ghostscript

I am trying to get this add-on to Coppermine to work:

http://forum.coppermine-gallery.net/index.php?topic=16986.0

I am having trouble with this line:

$cmd = "/usr/bin/ghostscript -sDEVICE=jpeg -dNOPAUSE  -dBATCH -sOutputFile='{$CONFIG['fullpath']}edit/pdftmp.$filename.%d.jpg' '$image'";

the instruction say to change the path of ghostscript. I am running windows, so I downloaded ghostscript -- can't seem to put in the right path.

I think it is C:\Program Files\gs\gs8.70\bin\gswin32.exe but when I put that in, still gives me this error:

Error 1 on command 'C:\Program Files\gs\gs8.70\bin\gswin32.exe -sDEVICE=jpeg -dNOPAUSE -dBATCH -sOutputFile='albums/edit/pdftmp.Acrobat_9_Exam~2.pdf.%d.jpg' 'albums/userpics/10001/Acrobat_9_Exam~2.pdf''

I also tried:

C:\\Program Files\\gs\\gs8.70\\bin\\gswin32c.exe

with double slashes to escape the slashes.. still no luck.

not sure what to do here (or even how to zone this question), so any help woul dbe greatly appreciated. Thank you.
[+][-]10/27/09 09:28 AM, ID: 25674373Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/27/09 09:51 AM, ID: 25674647Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/09 10:11 AM, ID: 25674891Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/27/09 10:19 AM, ID: 25674974Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/09 10:24 AM, ID: 25675025Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/27/09 10:30 AM, ID: 25675082Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/09 10:35 AM, ID: 25675139Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/09 10:39 AM, ID: 25675199Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/09 11:07 AM, ID: 25675528Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/09 03:26 PM, ID: 25678362Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/09 03:28 PM, ID: 25678389Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/27/09 03:45 PM, ID: 25678547Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/29/09 07:29 AM, ID: 25694059Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/29/09 08:31 AM, ID: 25694807Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/29/09 09:51 AM, ID: 25695649Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625