Re: Printing or converting to postscript from command line

From: Dominic Lachowicz <domlachowicz_at_gmail.com>
Date: Sat Jan 24 2009 - 15:25:43 CET

I'd suggest doing it in 2 stages:

abiword --to=ps test.rtf
lpr -PmyPrinterName test.ps

If you're using the AbiWord 2.6 series (or newer) and don't want an
intermediate file:

abiword --to=ps --to-name=fd://1 test.rtf | lpr -PmyPrintername

On Sat, Jan 24, 2009 at 12:40 AM, Dave Woodfall <dave@unrealize.co.uk> wrote:
> I'm trying to print out some rtf files from command line. Using -p option
> with Abiword gives an error:
>
> ** (abiword:20897): WARNING **: IPP request failed with status 1030
>
> I've also tried using url of printer like ipp://10.0.0.10/L1 but same
> errors.
> My default printer is set in ~/.cups/lpoptions as Epson but it doesn't seem
> to work with that. Something I tried that I came across on google:
>
> abiword xxx.rtf --print=test.ps
>
> but that gives more errors:
>
> ** (abiword:32154): WARNING **: IPP request failed with status 1030
>
> ** (abiword:32154): WARNING **: Could not GPAReference Printer to test.ps
>
>
> If I try to do -t PostScript is produces what seems to be an odf format,
> and -t ps just hangs.
>
> Any ideas on how to get this to work? Or in fact any pointers on how to
> convert rtf to something printable would be good too.
>
> --
> PL/1, "the fatal disease", belongs more to the problem set than to the
> solution set.
> -- E. W. Dijkstra
>

-- 
Counting bodies like sheep to the rhythm of the war drums.
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.
Received on Sat Jan 24 15:32:37 2009

This archive was generated by hypermail 2.1.8 : Sat Jan 24 2009 - 15:32:37 CET