1) using wxPython
-convert to HTML and then print (I don't know anything about
HTML)
-use wx.Printout (Seems complicated; may be beyond my abilities)
2) create a text file and then print it out (can create but can only
print with the win32api.ShellExecute method so this solution doesn't
help me on my Linus laptop)
3) use ReportLab to create .pdf and then print that out (again, can
create but can't print in Linux)
Thanks for any help.
Mike
Write out an HTML file, write back if you need a quick one, then print
that with a browser.
Other idea (old style school):
def printing():
f=open("lpt1", "w")
f.write("\nSomething to print\f")
f.close()
Cheers..
- Ibanez -
I haven't found a way from within python to print f. I'm sure there
it is something simple but I've been searching for a couple weeks now
with no luck.
Mike
> I haven't found a way from within python to print f. I'm sure
> there it is something simple but I've been searching for a couple
> weeks now with no luck.
Tried some searching?
http://wiki.wxpython.org/Printing
HTH&Regards,
Björn
--
BOFH excuse #374:
It's the InterNIC's fault.