Re: Printing RTF file under win32

2011-01-21 Thread Michel Claveau - MVP
Hi!

Try this line:
"C:\Program Files\Windows NT\Accessories\wordpad.exe" /p D:\data\fil.rtf
(change the path if you have a windows 64 bits)

@-salutations
-- 
Michel Claveau 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Printing RTF file under win32

2011-01-21 Thread Chris Rebert
On Fri, Jan 21, 2011 at 2:12 AM, Mark Carter  wrote:
> I'm using Python 2.6.5 on win32. I would like to print a batch of RTF
> files on a printer. I don't want to use the win32api.ShellExecute
> command because that invokes Word, and Word has been configured in a
> strange way by one of our admins, making it inconvenient to use.
>
> What should I do?

Invoke WordPad instead?
http://en.wikipedia.org/wiki/WordPad

Cheers,
Chris
-- 
http://mail.python.org/mailman/listinfo/python-list


Printing RTF file under win32

2011-01-21 Thread Mark Carter
I'm using Python 2.6.5 on win32. I would like to print a batch of RTF
files on a printer. I don't want to use the win32api.ShellExecute
command because that invokes Word, and Word has been configured in a
strange way by one of our admins, making it inconvenient to use.

What should I do?
-- 
http://mail.python.org/mailman/listinfo/python-list