Re: [OVC-demo-team] Problems with RII

From: Fred McLain <mclain_at_zipcon_dot_net>
Date: Thu Mar 25 2004 - 10:15:25 CST

On Wed, 2004-03-24 at 22:23, Arthur Keller wrote:
> 1. RII doesn't print the ballot, it merely writes a file called
> ballot.ps. It needs also to issue the command:
>
> lpr ballot.ps
>
I think a small wrapper script like the one I made for gui.py might be
appropriate:

---- SNIP ----
#!/bin/sh
cd src/evm2003/rii
while true
do
    python RII.py
    if [ $? = 0 ]
    then
        if [ -f debug ]
        then
            ghostview ballot.ps
            # exit
        else
            lpr ballot.ps
        fi
    fi
    sleep 5
    if [ $? != 0 ]
    then
        exit
    fi
done
---- SNIP ----

==================================================================
= The content of this message, with the exception of any external
= quotations under fair use, are released to the Public Domain
==================================================================

Received on Thu Apr 1 02:40:33 2004

This archive was generated by hypermail 2.1.8 : Thu Apr 01 2004 - 02:40:37 CST