Re: Can AbiWord do cmd-line data merging & printing?

From: Dom Lachowicz (doml@appligent.com)
Date: Tue Nov 05 2002 - 10:32:50 EST

  • Next message: F J Franklin: "Re: Can AbiWord do cmd-line data merging & printing?"

    It can do printing from the command line, at least on unix.

    abiword --print file.ps file.abw
    abiword --print "|lpr" file.abw

    where "|lpr" is the | character (pipe) followed by your printing
    command, which is probably lpr, lpr -p MyEsponStylus or something like
    that. To get it to print more than one copy, put it in a shell-script
    loop.

    Right now, data merging isn't possible.

    Dom

    On Tuesday, November 5, 2002, at 10:27 AM, Mike Hudson wrote:

    > I have an old character mode database app that I want to print nicely
    > formatted docs from.
    > I imagine the easiest way to do this is to find a WP that can merge
    > data
    > from the db with a nice template doc. I'd like to print docs via the
    > WP from
    > the command line: telling it to print document 'x' (the WP template)
    > merging-in data either from a separate file, or from cmd line
    > arguments,
    > specifying which printer to use, how many copies to print etc.
    > The WP must print docs quickly on demand. Perhaps it could run
    > continuously
    > in the background just waiting for commands. Alternatively it might
    > fire up
    > a new session quickly, perhaps in some specially fast background mode,
    > for
    > each doc. What I can't do is to wait an age for a gargantuan suite to
    > start
    > up to print each doc.
    > If AbiWord can do this, I'd be grateful for any pointers to get me
    > started
    > after I install. If it can't, any other suggestions would be
    > appreciated!
    > Thanks, Mike.
    >
    > -----------------------------------------------
    > To unsubscribe from this list, send a message to
    > abiword-user-request@abisource.com with the word
    > unsubscribe in the message body.

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 10:42:17 EST