On Friday 10 April 2009 09:41:13 am johnf wrote:
> On Friday 10 April 2009 08:35:13 am johnf wrote:
> > I can get the following to work:
> > os.system('lp -d printer invoice.pdf')
> >
> > but what I think is the correct way for the future is:
> > subprocess.Popen('lp -d printer invoice.pdf')
> > an
On Friday 10 April 2009 08:35:13 am johnf wrote:
> I can get the following to work:
> os.system('lp -d printer invoice.pdf')
>
> but what I think is the correct way for the future is:
> subprocess.Popen('lp -d printer invoice.pdf')
> and it does not work???
>
> Can someone explain what I'm doing wr
I can get the following to work:
os.system('lp -d printer invoice.pdf')
but what I think is the correct way for the future is:
subprocess.Popen('lp -d printer invoice.pdf')
and it does not work???
Can someone explain what I'm doing wrong?
Traceback (most recent call last):
File "/home/johnf/