Re: [python-win32] win32print not printing

2013-01-30 Thread Marcelo Almeida
After experiment with several options, I discovered one that works the way I want (actually just altered a bit Tim Golden's code). It is a workaround, but do the job nicely. import win32ui VALUE = 100 X=50; Y=50 my_multiline_string = string.split() hDC = win32ui.CreateDC () hDC.CreatePrinterDC

Re: [python-win32] win32print not printing

2013-01-25 Thread Tim Golden
On 24/01/2013 18:44, Marcelo Almeida wrote: Hello everyone, I am trying to print a string (not a file) with win32print api and I'm using Tim Golden's http://timgolden.me.uk/python/win32_how_do_i/print.html third block of code (pasted below) as a testing example but without success. There is

Re: [python-win32] win32print not printing

2013-01-25 Thread Marcelo Almeida
On 24/01/2013 18:44, Marcelo Almeida wrote: Hello everyone, I am trying to print a string (not a file) with win32print api and I'm using Tim Golden's http://timgolden.me.uk/python/win32_how_do_i/print.html third block of code (pasted below) as a testing example but without success.

Re: [python-win32] win32print not printing

2013-01-25 Thread Tim Roberts
Marcelo Almeida wrote: I am trying to print a string (not a file) with win32print api and I'm using Tim Golden's http://timgolden.me.uk/python/win32_how_do_i/print.html third block of code (pasted below) as a testing example but without success. There is just no errors and the printer spool

Re: [python-win32] win32print not printing

2013-01-25 Thread Marcelo Almeida
Marcelo Almeida wrote: * I am trying to print a string (not a file) with win32print api and I'm ** using Tim Golden's ** http://timgolden.me.uk/python/win32_how_do_i/print.html third block ** of code (pasted below) as a testing example but without success. There ** is just no errors and

[python-win32] win32print not printing

2013-01-24 Thread Marcelo Almeida
Hello everyone, I am trying to print a string (not a file) with win32print api and I'm using Tim Golden's http://timgolden.me.uk/python/win32_how_do_i/print.html third block of code (pasted below) as a testing example but without success. There is just no errors and the printer spool show the