Hello People,
i'm new here and i'm a beginner, i got this adress from a friend, who told me, this is a great site to get problems solved.
The Problem:
I have a working code, wich simlpy prints out a PDF on the default printer:
path = "C://EWZdef/PDF/" + str(ob['OBcontrol']['scanned']) +".pdf"
def PRINT():
import win32api
win32api.ShellExecute(0,"print", path ,None, ".", 0)
It works fine, while i dont try to run the code from an .exe file. If i start an exetuble, python says:
"could not find win32api" or something.
I had the same Problem with other Python Modules; but just but the pywin folder in to the folder, where the .exe file is, doesnt work.
Maybe somebody can give me a hint to solve the problem, or a documentation about the rules to make python -modules working in blender executables.
Thanks
Sevi