Command line option in windows

Jeff Sadowski <[email protected]>
Newsgroups gmane.editors.abiword.user
Message-ID <[email protected]>
I am running Abiword 2.8.5 on Windows 2003 sp2 standard

I could not find a list of command line options.
I would like a list of command line options and a quick example of how
to use them.
Is there a page with this info somewhere? Thanks.

I would like to be able to print from a script running from an apache
php script.
currently I use open office through an external batch script and am
running apache as a user that can login to the computer. The computer
is not on the internet. I would like to replace open office with
abiword since all I do is print with it via a script. Or maybe someone
can recommend a better option for printing from the command line?

Current script:

@echo off
set "top={\rtf1\ansi\deff0 {\fonttbl {\f0 Arial;}}
\landscape\paperh1440\paperw4320\margl0\margr0\margt0\margb0 \fs26"
set "bottom=}"
set "label=c:\label.rtf"
set "PRINTER=DYMO"
set "oo=C:\Program Files\OpenOffice.org 3\program\swriter.exe"
echo %top% > %label%
echo \line\line >> %label%
echo    %1    %2 %3 >> %label%
echo %bottom% >> %label%
"%oo%" -invisible -nologo -headless -writer -pt "%PRINTER%" "%label%"

this script prints labels for me with the 3 options I pass it.
If I can I'd like to replace open office in it with abiword.
I tried

set "aw=C:\Program Files\AbiWord\bin\AbiWord.exe"
"%aw%" c:\label.rtf --print c:\test.ps
lpr -S localhost -P DYMO c:\test.ps

The test.ps was never created.

I tried

"%aw%" --to=pdf c:\label.rtf

I don't see any pdf files anywhere

I'm not sure what I am doing wrong.
-----------------------------------------------
To unsubscribe from this list, send a message to
[email protected] with the word
unsubscribe in the message body.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.