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
abiword-user-request@abisource.com with the word
unsubscribe in the message body.
Received on Wed Jun 9 19:45:36 2010
This archive was generated by hypermail 2.1.8 : Wed Jun 09 2010 - 19:45:36 CEST