Re: [Tutor] Windows Printing, Round 2

2010-09-23 Thread Tim Golden
On 23/09/2010 7:18 PM, Rance Hall wrote: Again I'm referencing Tim Golden from http://timgolden.me.uk/python/win32_how_do_i/print.html This code block is relevant: import os, sys import win32print printer_name = win32print.GetDefaultPrinter () # # raw_data could equally be raw PCL/PS read f

Re: [Tutor] Windows printing

2010-09-23 Thread Tim Golden
On 23/09/2010 14:05, Rance Hall wrote: For the first roll-out and testing I figured plaintext was good enough. Future revisions will probably use the PDF library you also referred to on your page. Either way that is as printer ready as I expect I will be able to get it. One option you might w

Re: [Tutor] Windows printing

2010-09-23 Thread Rance Hall
On Thu, Sep 23, 2010 at 3:40 AM, Tim Golden wrote: > On 23/09/2010 07:30, Rance Hall wrote: >> >> >> Tim's how-to is likely not for my version of python (mine is 3.1) >> since some of his command fail on my system because mine wants options >> or parameters that Tim doesn't mention. > > I've fixe

Re: [Tutor] Windows printing

2010-09-23 Thread Tim Golden
On 23/09/2010 07:30, Rance Hall wrote: I'm using this page as a reference: http://timgolden.me.uk/python/win32_how_do_i/print.html I'm able to print to the default printer ok, but I can't seem to find out how to get to pick the printer I want to use. This is from a CLI app, so there is no gui.