Re: [xep-support] Running XEP from command line

From: Alexander Peshkov <peshkov@renderx.com>
Date: Tue Apr 19 2005 - 05:57:21 PDT

Hello Peter,

The default output format in XEP is PDF so when you run something like
   xep -fo source.fo -out result.ps

you get PDF inside of result.ps file. What you want to say is
   xep -fo source.fo -out result.ps -ps

or simply
   xep -fo source.fo -ps result.ps

Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
 
PD> I am just starting out with XEP desktop and I am having a little trouble
PD> running it from the command line. I have successfully used XEP via the
PD> GUI. However, I need to automate the publishing process so the command
PD> line will work better.

PD> Here's what I am doing.

PD> My OS is WindowsXP. I use Docbook, DocBook XSL, and Saxon to create a
PD> .fo file. I want XEP to create a PostScript file from that .fo file. I
PD> use Adobe Acrobat Distiller to create the PDF file from the .ps file.

PD> If I launch x4u.bat and open the .fo file and then transform it to .ps
PD> using the GUI, Distiller can create a very nice PDF from the .ps file

PD> I use Cygwin so when I tried to do the same conversion (.fo to .ps) via
PD> the command line, I gave this command:

PD> /cygdrive/c/xep/xep.bat -fo pdf/epedigree-enterprise-guide.fo -out
PD> pdf/epedigree-enterprise-guide.ps

PD> This results in very similar output to what I saw in the GUI console and
PD> it creates the expected .ps file. However, Distiller cannot convert the
PD> .ps file. Instead, it writes this to the log file:

PD> **************
PD> %%[ Error: undefined; OffendingCommand: obj ]%%

PD> Stack:
PD> 0
PD> 70

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

PD> Can someone straighten me out here? What am I doing wrong?

PD> Thanks.

PD> Peter Desjardins
PD> SupplyScape Corporation
PD> 617-453-5760 x441
PD> http://www.supplyscape.com

PD> -------------------
PD> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
PD> in the body of the message to majordomo@renderx.com from the address
PD> you are subscribed from.
PD> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Tue Apr 19 06:50:36 2005

This archive was generated by hypermail 2.1.8 : Tue Apr 19 2005 - 06:50:36 PDT