Re: cups.Connection.printFile

2008-09-29 Thread Tim Golden
Antoon Pardon wrote: On 2008-09-26, Mike Driscoll <[EMAIL PROTECTED]> wrote: On Sep 19, 9:01 am, Antoon Pardon <[EMAIL PROTECTED]> wrote: On 2008-09-16, Graham Jenkins <[EMAIL PROTECTED]> wrote: I'm trying to print a file from within a Python program. The quick-and-dirty solution is to use

Re: cups.Connection.printFile

2008-09-29 Thread Antoon Pardon
On 2008-09-26, Mike Driscoll <[EMAIL PROTECTED]> wrote: > On Sep 19, 9:01 am, Antoon Pardon <[EMAIL PROTECTED]> wrote: >> On 2008-09-16, Graham Jenkins <[EMAIL PROTECTED]> wrote: >> >> >> >> > I'm trying to print a file from within a Python program. >> >> > The quick-and-dirty solution is to use so

Re: cups.Connection.printFile

2008-09-26 Thread Mike Driscoll
On Sep 19, 9:01 am, Antoon Pardon <[EMAIL PROTECTED]> wrote: > On 2008-09-16, Graham Jenkins <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to print a file from within a Python program. > > > The quick-and-dirty solution is to use something like: > > > fd = os.popen("lp -d MyPrinter", "wb") > > fd

Re: cups.Connection.printFile

2008-09-26 Thread Antoon Pardon
On 2008-09-16, Graham Jenkins <[EMAIL PROTECTED]> wrote: > > I'm trying to print a file from within a Python program. > > The quick-and-dirty solution is to use something like: > > fd = os.popen("lp -d MyPrinter", "wb") > fd.write(MyFileContents) > > But it seems to me that there should be a cl