exact1
asked on
Error: undefined; OffendingCommand: run
we have two windows servers that use adobe distiller both running Distiller V8.
one can manually create PDFs via distiller's watched folder with an .eps logo file embedded in the PDF output and the other Server can not create it? both look identical?
error is: Error: undefined; OffendingCommand: run
any ideas?
code:
/ImageData
currentfile
<< /Filter
/SubFileDecode
/DecodeParms
<< /EODCount 0 /EODString (*EOD*) >>
>> /ReusableStreamDecode filter
save
/showpage {} def
/setpagedevice /pop load def
(c:/logo.eps) run
restore
*EOD*
def
/LogoForm
<< /FormType 1
/BBox [0 0 612 792]
/Matrix [ 1 0 0 1 0 0]
/PaintProc
{ pop
/ostate save def
/showpage {} def
/setpagedevice /pop load def
60 700 translate % change to the position you need
1 1 scale % remove or alter to change size
ImageData 0 setfileposition ImageData cvx exec
ostate restore
} bind
>> def
<<
/BeginPage
{ gsave
LogoForm execform
grestore
} bind
>> setpagedevice
showpage
one can manually create PDFs via distiller's watched folder with an .eps logo file embedded in the PDF output and the other Server can not create it? both look identical?
error is: Error: undefined; OffendingCommand: run
any ideas?
code:
/ImageData
currentfile
<< /Filter
/SubFileDecode
/DecodeParms
<< /EODCount 0 /EODString (*EOD*) >>
>> /ReusableStreamDecode filter
save
/showpage {} def
/setpagedevice /pop load def
(c:/logo.eps) run
restore
*EOD*
def
/LogoForm
<< /FormType 1
/BBox [0 0 612 792]
/Matrix [ 1 0 0 1 0 0]
/PaintProc
{ pop
/ostate save def
/showpage {} def
/setpagedevice /pop load def
60 700 translate % change to the position you need
1 1 scale % remove or alter to change size
ImageData 0 setfileposition ImageData cvx exec
ostate restore
} bind
>> def
<<
/BeginPage
{ gsave
LogoForm execform
grestore
} bind
>> setpagedevice
showpage
With Acrobat 8.1, Adobe introduced security restrictions in Distiller. You can get a summary of these changes here:
http://www.adobe.com/devnet/acrobat/downloads/Acrobat_SDK_readme.html
Try the -F command line switch and see if that changes things. I need to find out how that switch can be applied to a watched folder, but for now, just try the command line interface.
Do you have a server license? The "normal" Distiller is not licensed for server use.
http://www.adobe.com/devnet/acrobat/downloads/Acrobat_SDK_readme.html
Try the -F command line switch and see if that changes things. I need to find out how that switch can be applied to a watched folder, but for now, just try the command line interface.
Do you have a server license? The "normal" Distiller is not licensed for server use.
ASKER
Hi
thanks for the response;
The Windows 2003 R2 Server that does NOT work has:
Adobe Distiller V 8.1.0
The Windows 2003 R2 Server that does work has:
Adobe Distiller V 8.0.0
I think from memory we just bought the boxed version and installed one on each Server, so not sure about the license.
not sure what you mean by the -F switch?
at the moment to try and troubleshoot the error, I am manually dropping the code above into distillers watched folder on each server. One works, one does not as mentioned.
thanks for the response;
The Windows 2003 R2 Server that does NOT work has:
Adobe Distiller V 8.1.0
The Windows 2003 R2 Server that does work has:
Adobe Distiller V 8.0.0
I think from memory we just bought the boxed version and installed one on each Server, so not sure about the license.
not sure what you mean by the -F switch?
at the moment to try and troubleshoot the error, I am manually dropping the code above into distillers watched folder on each server. One works, one does not as mentioned.
Your problem is that one version is 8.1, which as I wrote earlier has the tighter security. You could just downgrade your 8.1 version (by reinstalling) to 8.0 and that would fix your problem.
The boxed version is definitely not a server license, you may want to find out how legal your setup is.
The boxed version is definitely not a server license, you may want to find out how legal your setup is.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
OK, thanks, I have just added the -F to the exe shortcut and its fixed the problem.
I will check licensing, many thanks.
I will check licensing, many thanks.
ASKER
On the server that does not work:
if I put just the logo into distiller it outputs the files as a PDF with just the logo.
if I try to put the logo on a blank page it errors.
On the server that does work, the above script creates a blank PDF with the logo at the top, as I want.
?