Glad it worked! If you could file a bug with the text that was wrong
and where you found it, that would be great - that way it will be more
likely to get fixed.
Ryan
Andrew Myers wrote:
>
>
> Thanks for the clue. This line seems to work:
>
> abiword -t ps -o output.ps -m cover.csv FaxHeader.abw
>
> Pity that neither the documentation nor the help function are up to date
>
> Many Thanks
>
> All the best
>
>
> Andrew
> Ryan Pavlik wrote:
>> Andrew Myers wrote:
>>
>>> I have followed the instruction in the help section to do a Mail Merge
>>> from the command line. Unfortunately it does not seem to work as
>>> described.
>>>
>>> I created a csv file and a template file and then executed from the
>>> command line:
>>>
>>> $ abiword -m cover.csv -p cover.ps FaxHeader.abw
>>>
>>> ** (abiword:3311): WARNING **: Could not GPAReference Printer to
>>> cover.ps
>>>
>>> /usr/bin/lpr: The printer or class was not found.
>>>
>>> If however I execute:
>>>
>>> $ abiword -m cover.csv -p Oki FaxHeader.abw
>>>
>>> ** (abiword:2860): WARNING **: Could not GPAReference Printer to Oki
>>>
>>> but it prints Ok with the correct data in it.
>>>
>>> If I execute:
>>>
>>> $ abiword -m cover.csv FaxHeader.abw
>>>
>>> (abiword:3079): GLib-GObject-WARNING **: gsignal.c:1741: instance
>>> `0x86a5038' has no handler with id `2460'
>>>
>>> (abiword:3079): GLib-GObject-WARNING **: gsignal.c:1741: instance
>>> `0x86a5038' has no handler with id `2466'
>>>
>>> All of which seems to indicate that I must be doing something wrong,
>>> can anyone make any suggestions as to what?
>>>
>>> Thanks
>>>
>>> Andrew
>>> Mandriva 2008.1, Abiword 2.6.3, Linux 2.6.24
>>>
>> The ability to produce .ps files directly is not available in 2.6.x,
>> IIRC. I believe you can do a "conversion" - that is, abiword -m
>> cover.csv FaxHeader.abw --to=abw output.abw - which will produce an ABW
>> file with the merge results, or the -p Oki option which you've already
>> discovered. The two gsignal warnings are bogus and will be fixed in the
>> next version, I believe, and you might want to file the other warning
>> you received as a bug at http://bugzilla.abisource.com.
>>
>> Thanks - hope this helps!
>>
>>
>
-- Ryan Pavlik www.cleardefinition.com #282 + (442) - [X] A programmer started to cuss Because getting to sleep was a fuss As he lay there in bed Looping 'round in his head was: while(!asleep()) sheep++; ----------------------------------------------- To unsubscribe from this list, send a message to abiword-user-request@abisource.com with the word unsubscribe in the message body.Received on Tue Jul 8 16:40:58 2008
This archive was generated by hypermail 2.1.8 : Tue Jul 08 2008 - 16:40:58 CEST