By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,877 Members | 1,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,877 IT Pros & Developers. It's quick & easy.

Printing HTML

P: n/a
Max
How can I print (as in laser printer, not the python print statement)
HTML from Python (actually it doesn't have to be HTML - it's tabular
data with some rows/columns highlited).

The project currently uses Python 2.4 with wxPython and pywin/winpy
(whatever it's called, for MS Access ODBC), so if it can be done easily
in one of those, that'd be great, but if there's a module which makes it
a breeze, I'm happy to download that too.

--Max
Jan 27 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Max <rabkin@mweb[DOT]co[DOT]za>:
How can I print (as in laser printer, not the python print statement)
HTML from Python


Is the printer attached to your server, or are you printing over the
internet?

--
René Pijlman
Jan 27 '06 #2

P: n/a
Max
Rene Pijlman wrote:
Max <rabkin@mweb[DOT]co[DOT]za>:
How can I print (as in laser printer, not the python print statement)
HTML from Python

Is the printer attached to your server, or are you printing over the
internet?


I'm not sure if the printer is attached to the workstation (probably) or
over the network, but it'll definitely be installed as one of the
windows printers. (I guess I should have mentioned the fact that I'm
working for windows - but I did say I was using MS Access and pywin32).

--Max
Jan 27 '06 #3

P: n/a
Unknown wrote:
Rene Pijlman wrote:
Max <rabkin@mweb[DOT]co[DOT]za>:

How can I print (as in laser printer, not the python print statement)
HTML from Python

Is the printer attached to your server, or are you printing over the
internet?

I'm not sure if the printer is attached to the workstation (probably) or
over the network, but it'll definitely be installed as one of the
windows printers. (I guess I should have mentioned the fact that I'm
working for windows - but I did say I was using MS Access and pywin32).

wxPython has a printing framework that works more than adequately under
Windows. If you have the wxPython demos installed (nowadays they are a
separate download) look under "Miscellaneous/PrintFramework" to find
working code.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/

Jan 29 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.