Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1324 > unrolled thread

Problems calling an EPS image into a PostScript file

Started byluisfja@gmail.com
First post2013-03-17 21:45 -0700
Last post2013-03-22 18:33 -0700
Articles 6 — 3 participants

Back to article view | Back to comp.lang.postscript


Contents

  Problems calling an EPS image into a PostScript file luisfja@gmail.com - 2013-03-17 21:45 -0700
    Re: Problems calling an EPS image into a PostScript file Helge Blischke <h.blischke@acm.org> - 2013-03-18 13:32 +0100
      Re: Problems calling an EPS image into a PostScript file luisfja@gmail.com - 2013-03-18 07:41 -0700
        Re: Problems calling an EPS image into a PostScript file Helge Blischke <h.blischke@acm.org> - 2013-03-18 16:13 +0100
          Re: Problems calling an EPS image into a PostScript file luisfja@gmail.com - 2013-03-18 09:12 -0700
    Re: Problems calling an EPS image into a PostScript file Don Lancaster <don@tinaja.com> - 2013-03-22 18:33 -0700

#1324 — Problems calling an EPS image into a PostScript file

Fromluisfja@gmail.com
Date2013-03-17 21:45 -0700
SubjectProblems calling an EPS image into a PostScript file
Message-ID<3331b39d-9291-42c9-8fd2-14834e20c626@googlegroups.com>
Hi,

The following PostScript code has been tested with other programs to convert PDF and works properly, but with the Acrobat Distiller generates error:

**** Part of PostScript code ****

/DIR_IM (D:\\CM\\Images\\) def
/IMCards (Cards.eps) def
/DIRCards IMCards length DIR_IM length add string def
DIR_IM DIRCards copy
DIRCards DIR_IM length IMCards putinterval
/CardsEPSh {DIRCards run} def
/Cards { 
 translate 
 Sfx CardsEPSh 
  } def

**** Error generated by Acrobat Distiller 8.0 ****


%%[ Error: undefinedfilename; OffendingCommand: run ]%%

Stack:
(D:\\CM\\Images\\Cards.eps)
(D:\\CM\\Images\\)
(D:\\CM\\Images\\)
(D:\\CM\\Images\\)
(D:\\CM\\Images\\)


%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%


I think there should be a setting in Acrobat Distiller, as in other applications working properly.

I appreciate your help to find the error might be going

Regards,

Luis Fdo.

[toc] | [next] | [standalone]


#1325

FromHelge Blischke <h.blischke@acm.org>
Date2013-03-18 13:32 +0100
Message-ID<aqofqlFcjc1U1@mid.individual.net>
In reply to#1324
luisfja@gmail.com wrote:

> Hi,
> 
> The following PostScript code has been tested with other programs to
> convert PDF and works properly, but with the Acrobat Distiller generates
> error:
> 
> **** Part of PostScript code ****
> 
> /DIR_IM (D:\\CM\\Images\\) def
> /IMCards (Cards.eps) def
> /DIRCards IMCards length DIR_IM length add string def
> DIR_IM DIRCards copy
> DIRCards DIR_IM length IMCards putinterval
> /CardsEPSh {DIRCards run} def
> /Cards {
>  translate
>  Sfx CardsEPSh
>   } def
> 
> **** Error generated by Acrobat Distiller 8.0 ****
> 
> 
> %%[ Error: undefinedfilename; OffendingCommand: run ]%%
> 
> Stack:
> (D:\\CM\\Images\\Cards.eps)
> (D:\\CM\\Images\\)
> (D:\\CM\\Images\\)
> (D:\\CM\\Images\\)
> (D:\\CM\\Images\\)
> 
> 
> %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
> %%[ Warning: PostScript error. No PDF file produced. ] %%
> 
> 
> I think there should be a setting in Acrobat Distiller, as in other
> applications working properly.
> 
> I appreciate your help to find the error might be going
> 
> Regards,
> 
> Luis Fdo.

Isn't there a flag when calling distiller to allow unrestricted file access?

Helge

[toc] | [prev] | [next] | [standalone]


#1326

Fromluisfja@gmail.com
Date2013-03-18 07:41 -0700
Message-ID<1e243494-9b28-400b-929f-f83229ff62d1@googlegroups.com>
In reply to#1325
El lunes, 18 de marzo de 2013 07:32:20 UTC-5, Helge Blischke escribió:
> luisfja@gmail.com wrote:
> 
> 
> 
> > Hi,
> 
> > 
> 
> > The following PostScript code has been tested with other programs to
> 
> > convert PDF and works properly, but with the Acrobat Distiller generates
> 
> > error:
> 
> > 
> 
> > **** Part of PostScript code ****
> 
> > 
> 
> > /DIR_IM (D:\\CM\\Images\\) def
> 
> > /IMCards (Cards.eps) def
> 
> > /DIRCards IMCards length DIR_IM length add string def
> 
> > DIR_IM DIRCards copy
> 
> > DIRCards DIR_IM length IMCards putinterval
> 
> > /CardsEPSh {DIRCards run} def
> 
> > /Cards {
> 
> >  translate
> 
> >  Sfx CardsEPSh
> 
> >   } def
> 
> > 
> 
> > **** Error generated by Acrobat Distiller 8.0 ****
> 
> > 
> 
> > 
> 
> > %%[ Error: undefinedfilename; OffendingCommand: run ]%%
> 
> > 
> 
> > Stack:
> 
> > (D:\\CM\\Images\\Cards.eps)
> 
> > (D:\\CM\\Images\\)
> 
> > (D:\\CM\\Images\\)
> 
> > (D:\\CM\\Images\\)
> 
> > (D:\\CM\\Images\\)
> 
> > 
> 
> > 
> 
> > %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
> 
> > %%[ Warning: PostScript error. No PDF file produced. ] %%
> 
> > 
> 
> > 
> 
> > I think there should be a setting in Acrobat Distiller, as in other
> 
> > applications working properly.
> 
> > 
> 
> > I appreciate your help to find the error might be going
> 
> > 
> 
> > Regards,
> 
> > 
> 
> > Luis Fdo.
> 
> 
> 
> Isn't there a flag when calling distiller to allow unrestricted file access?
> 
> 
> 
> Helge

Hi Helge,

What should I check?

Regards,

Luis

[toc] | [prev] | [next] | [standalone]


#1327

FromHelge Blischke <h.blischke@acm.org>
Date2013-03-18 16:13 +0100
Message-ID<aqop8pFep3pU1@mid.individual.net>
In reply to#1326
luisfja@gmail.com wrote:

> El lunes, 18 de marzo de 2013 07:32:20 UTC-5, Helge Blischke escribió:
>> luisfja@gmail.com wrote:
>> 
>> 
>> 
>> > Hi,
>> 
>> > 
>> 
>> > The following PostScript code has been tested with other programs to
>> 
>> > convert PDF and works properly, but with the Acrobat Distiller
>> > generates
>> 
>> > error:
>> 
>> > 
>> 
>> > **** Part of PostScript code ****
>> 
>> > 
>> 
>> > /DIR_IM (D:\\CM\\Images\\) def
>> 
>> > /IMCards (Cards.eps) def
>> 
>> > /DIRCards IMCards length DIR_IM length add string def
>> 
>> > DIR_IM DIRCards copy
>> 
>> > DIRCards DIR_IM length IMCards putinterval
>> 
>> > /CardsEPSh {DIRCards run} def
>> 
>> > /Cards {
>> 
>> >  translate
>> 
>> >  Sfx CardsEPSh
>> 
>> >   } def
>> 
>> > 
>> 
>> > **** Error generated by Acrobat Distiller 8.0 ****
>> 
>> > 
>> 
>> > 
>> 
>> > %%[ Error: undefinedfilename; OffendingCommand: run ]%%
>> 
>> > 
>> 
>> > Stack:
>> 
>> > (D:\\CM\\Images\\Cards.eps)
>> 
>> > (D:\\CM\\Images\\)
>> 
>> > (D:\\CM\\Images\\)
>> 
>> > (D:\\CM\\Images\\)
>> 
>> > (D:\\CM\\Images\\)
>> 
>> > 
>> 
>> > 
>> 
>> > %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
>> 
>> > %%[ Warning: PostScript error. No PDF file produced. ] %%
>> 
>> > 
>> 
>> > 
>> 
>> > I think there should be a setting in Acrobat Distiller, as in other
>> 
>> > applications working properly.
>> 
>> > 
>> 
>> > I appreciate your help to find the error might be going
>> 
>> > 
>> 
>> > Regards,
>> 
>> > 
>> 
>> > Luis Fdo.
>> 
>> 
>> 
>> Isn't there a flag when calling distiller to allow unrestricted file
>> access?
>> 
>> 
>> 
>> Helge
> 
> Hi Helge,
> 
> What should I check?
> 
> Regards,
> 
> Luis

See
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/Distiller9APIReference.pdf

Helge

[toc] | [prev] | [next] | [standalone]


#1328

Fromluisfja@gmail.com
Date2013-03-18 09:12 -0700
Message-ID<0b02d436-f36f-4d51-93a8-31dee271d9d3@googlegroups.com>
In reply to#1327
El lunes, 18 de marzo de 2013 10:13:27 UTC-5, Helge Blischke escribió:
> luisfja@gmail.com wrote:
> 
> 
> 
> > El lunes, 18 de marzo de 2013 07:32:20 UTC-5, Helge Blischke escribió:
> 
> >> luisfja@gmail.com wrote:
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> > Hi,
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > The following PostScript code has been tested with other programs to
> 
> >> 
> 
> >> > convert PDF and works properly, but with the Acrobat Distiller
> 
> >> > generates
> 
> >> 
> 
> >> > error:
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > **** Part of PostScript code ****
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > /DIR_IM (D:\\CM\\Images\\) def
> 
> >> 
> 
> >> > /IMCards (Cards.eps) def
> 
> >> 
> 
> >> > /DIRCards IMCards length DIR_IM length add string def
> 
> >> 
> 
> >> > DIR_IM DIRCards copy
> 
> >> 
> 
> >> > DIRCards DIR_IM length IMCards putinterval
> 
> >> 
> 
> >> > /CardsEPSh {DIRCards run} def
> 
> >> 
> 
> >> > /Cards {
> 
> >> 
> 
> >> >  translate
> 
> >> 
> 
> >> >  Sfx CardsEPSh
> 
> >> 
> 
> >> >   } def
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > **** Error generated by Acrobat Distiller 8.0 ****
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > %%[ Error: undefinedfilename; OffendingCommand: run ]%%
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > Stack:
> 
> >> 
> 
> >> > (D:\\CM\\Images\\Cards.eps)
> 
> >> 
> 
> >> > (D:\\CM\\Images\\)
> 
> >> 
> 
> >> > (D:\\CM\\Images\\)
> 
> >> 
> 
> >> > (D:\\CM\\Images\\)
> 
> >> 
> 
> >> > (D:\\CM\\Images\\)
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
> 
> >> 
> 
> >> > %%[ Warning: PostScript error. No PDF file produced. ] %%
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > I think there should be a setting in Acrobat Distiller, as in other
> 
> >> 
> 
> >> > applications working properly.
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > I appreciate your help to find the error might be going
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > Regards,
> 
> >> 
> 
> >> > 
> 
> >> 
> 
> >> > Luis Fdo.
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> Isn't there a flag when calling distiller to allow unrestricted file
> 
> >> access?
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> Helge
> 
> > 
> 
> > Hi Helge,
> 
> > 
> 
> > What should I check?
> 
> > 
> 
> > Regards,
> 
> > 
> 
> > Luis
> 
> 
> 
> See
> 
> http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/Distiller9APIReference.pdf
> 
> 
> 
> Helge

Hi Helge,

Thank you very much for your help, I needed the /F and now everything works fine.

Regards,

Luis

[toc] | [prev] | [next] | [standalone]


#1335

FromDon Lancaster <don@tinaja.com>
Date2013-03-22 18:33 -0700
Message-ID<ar4f4aF2jp1U1@mid.individual.net>
In reply to#1324
On 3/17/2013 9:45 PM, luisfja@gmail.com wrote:
> Hi,
>
> The following PostScript code has been tested with other programs to convert PDF and works properly, but with the Acrobat Distiller generates error:
>
> **** Part of PostScript code ****
>
> /DIR_IM (D:\\CM\\Images\\) def
> /IMCards (Cards.eps) def
> /DIRCards IMCards length DIR_IM length add string def
> DIR_IM DIRCards copy
> DIRCards DIR_IM length IMCards putinterval
> /CardsEPSh {DIRCards run} def
> /Cards {
>   translate
>   Sfx CardsEPSh
>    } def
>
> **** Error generated by Acrobat Distiller 8.0 ****
>
>
> %%[ Error: undefinedfilename; OffendingCommand: run ]%%
>
> Stack:
> (D:\\CM\\Images\\Cards.eps)
> (D:\\CM\\Images\\)
> (D:\\CM\\Images\\)
> (D:\\CM\\Images\\)
> (D:\\CM\\Images\\)
>
>
> %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
> %%[ Warning: PostScript error. No PDF file produced. ] %%
>
>
> I think there should be a setting in Acrobat Distiller, as in other applications working properly.
>
> I appreciate your help to find the error might be going
>
> Regards,
>
> Luis Fdo.
>


Most run commands are locked out of Distiller, starting with Acrobat 8.

Running acrodist-F from the command line seemed to work with Acrobat 8 
and 9, but even this was apparently discontinued from Acrobat 10.

The only solution I have found is to switch to Ghostscript.
See my blog for the ongoing saga.


-- 
Many thanks,

Don Lancaster                          voice phone: (928)428-4073
Synergetics   3860 West First Street   Box 809 Thatcher, AZ 85552
rss: http://www.tinaja.com/whtnu.xml   email: don@tinaja.com

Please visit my GURU's LAIR web site at http://www.tinaja.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web