[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Python printing!

SMALLp

1/23/2008 3:26:00 PM

Hy. How to use printer in python. I goggled little i I found only some
win32 package which doesn't look processing for cross platform
application. (I'm using USB printer and I tried to f=open("dev/...") usb
port but i couldn't fond where printer is!

Tnx!

SMALLp
2 Answers

Tim Golden

1/23/2008 4:43:00 PM

0

SMALLp wrote:
> Hy. How to use printer in python. I goggled little i I found only some
> win32 package which doesn't look processing for cross platform
> application. (I'm using USB printer and I tried to f=open("dev/...") usb
> port but i couldn't fond where printer is!

You perhaps want to look at something like wxPython where
someone's already done the dirty work for you:

http://wiki.wxpython.or...

I assume other x-platform toolkits like Qt have similar
facilities. Python itself is a bit lower-level than that
and as far as I know no-one's put together a x-platform
printing module, so you could be the first.

TJG

Alan G Isaac

1/23/2008 7:33:00 PM

0

SMALLp wrote:
> Hy. How to use printer in python.

http://tgolden.sc.sabren.com/python/win32_how_do_i/...