printing file/image on default Printer

A

Askari

Hi,
I search how "I" can printing file/image with a script but the user (who
use my script) must DO NOTHING (other that dealing with my GUI). e.g. :
with AdobeAcrobat, the user must click "ok" in the "pre"printing windows.

My solutions, but NOT ok :
- Build a .pdf (with reportLab) and print with Adode
- Build a image file and print it with "DisplayImage.py" but don't work
(error raised)

(note : the OS, for my problem, is just Windows)

Someone have a other idea/solution?

Askari
 
S

Steve Holden

Askari said:
Hi,
I search how "I" can printing file/image with a script but the user (who
use my script) must DO NOTHING (other that dealing with my GUI). e.g. :
with AdobeAcrobat, the user must click "ok" in the "pre"printing windows.

My solutions, but NOT ok :
- Build a .pdf (with reportLab) and print with Adode
- Build a image file and print it with "DisplayImage.py" but don't work
(error raised)

(note : the OS, for my problem, is just Windows)

Someone have a other idea/solution?

Askari

Take as look at wxPython, which has a brilliant demo. One of the demo
programs shows you how you can drive a printer from Python using the
standard Windows print dialog (which is what I presume you are seeking).

regards
Steve
 
A

Askari

Take as look at wxPython, which has a brilliant demo. One of the demo
programs shows you how you can drive a printer from Python using the
standard Windows print dialog (which is what I presume you are
seeking).

regards
Steve

wxPython : This #%? module causing big problem on most computer. Some .py
(for no ressons), when terminate, raise a Windows error (critical).
And, IT'S this module who "do" this conflit problem; When wxPython is
installed, errors raise; when uninstalled, no error, when wxPython is
installed, errors raise, when uninstalled, no error, etc.

"maybe" a good module, but enter conflit with some .py and it's not
acceptable for me,
thanks but not good idea,

Askari
 
S

Steve Holden

Askari said:
[...]>>
Take as look at wxPython,
[...]

wxPython : This #%? module causing big problem on most computer. Some .py
(for no ressons), when terminate, raise a Windows error (critical).
And, IT'S this module who "do" this conflit problem; When wxPython is
installed, errors raise; when uninstalled, no error, when wxPython is
installed, errors raise, when uninstalled, no error, etc.

"maybe" a good module, but enter conflit with some .py and it's not
acceptable for me,
thanks but not good idea,
Each to their own, but I (seemingly capable of finding problems with
even the simplest of installations) can honestly say that I have found
wxPython to be a robust and usable system.

regards
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top