[python-win32] ReadPrinter function in win32print

2014-04-17 Thread Erik Oosterwaal
Hi all, I'm having a problem using win32print to read data back from a printer. I'm developing a kiosk and I need to talk to a zebra (KR403 specifically) printer. I'm doing so using ZPL instructions sent directly to the printer. There is a library called zebra that abstracts away most low level

[python-win32] Import issue in pyscript

2010-12-13 Thread Erik Oosterwaal
Hi All, After struggling using Python in classic ASP for quite a while, I have settled on a method to implement Python inside an existing project. What I want to do is use an import() statement in a Python/PyScript code block in ASP to import a Python class, and in vbscript call some methods

Re: [python-win32] Python in classic ASP

2010-12-07 Thread Erik Oosterwaal
Hi Everybody, In reply to my own mail, because others might run into the same problem; I received some help from Mark Hammond regarding the use of Python in WSC's. Here's the deal: 1. It is possible to use a Python WSC from vbscript ASP, as long as your returnvalues are simple types (strings,

[python-win32] Strange problems using Python inside Windows Script Components (WSC)

2010-08-04 Thread Erik Oosterwaal
Hi All, I'm using Python inside a Windows Script Component (.wsc). I instantiate the WSC and call the code from classic ASP using VBscript. Now I'm running into a couple of problems: The standard ASP objects seem not to be available to Python in the WSC, even though the WSC has the implements

[python-win32] Python in classic ASP

2010-07-21 Thread Erik Oosterwaal
Hi All , I'm developing webapplications in classic ASP, currently in VBscript , and making extensive use of WSCs to separate code from GUI. Because we want to transfer over to Python, we are currently trying to implement parts of our main project into python, to get familiar with the