Hi,
Im relatively experienced with the Python language, but i have a smaller knowledge of its modules etc. Im familiar with Tkinter, basic sockets, basic threading, math ( i know the most about).
Im looking for a way to print to a printer. I can read from files easily - but what i want to do is to have each file printed with line numbers ( with wordwrap), and to add the document name at the top, and "Page x of y" at the bottom.
The page name I need to format ( it will contain the full path, minus a specified section whic i can store in a variable to display on each page).
Visual example:
------------------------------------------+
| /dir/file.txt
|1 code
|2 code
|3 code
|
|...
|
| page 1 of 5
+----------------------------------------+
well thats the idea.
I dont know how to print to a printer - liek I can in Visual Basic ( thought I hevent figured out the line numbering etc in that either).
Is ther a particular module/library I need to install to be able to print form python? I am using Windows XP, and Python 2.5.1.
Thanks for any and all help in advance.