Pravin Sonar
8th October 2009, 14:15
Hi friends, F1 Please............
Actually by using AFS i am trying check and install a solution.
so for that i am first setting all the feild values,
and then calling the PMC session "ttpmc2204s000" command continue(function type) as shown below.
stpapi.form.command("ttpmc2204s000", 5, "exec.cont.process", error.msg)
After above API call it should open select device session,
?but what happening is everytime when executing command its giving error Printing Cancelled ???????
before i could handle the "ttstpsplopen" session by subproc its getting closed so its giving "Printing Cancelled" error.
below is code i am trying handle print session.
stpapi.handle.subproc("ttpmc2204s000", "ttstpsplopen", "add")
stpapi.put.field("ttstpsplopen", "devc", "D")
stpapi.form.command("ttstpsplopen", 5, "exec.cont.process", print.err.msg)
How can i catch select device session after executing continue on "ttpmc2204s000" ???????????????? so that i can avoid printing cancelled error.
Thanks and Regards,
Pravin Sonar
Actually by using AFS i am trying check and install a solution.
so for that i am first setting all the feild values,
and then calling the PMC session "ttpmc2204s000" command continue(function type) as shown below.
stpapi.form.command("ttpmc2204s000", 5, "exec.cont.process", error.msg)
After above API call it should open select device session,
?but what happening is everytime when executing command its giving error Printing Cancelled ???????
before i could handle the "ttstpsplopen" session by subproc its getting closed so its giving "Printing Cancelled" error.
below is code i am trying handle print session.
stpapi.handle.subproc("ttpmc2204s000", "ttstpsplopen", "add")
stpapi.put.field("ttstpsplopen", "devc", "D")
stpapi.form.command("ttstpsplopen", 5, "exec.cont.process", print.err.msg)
How can i catch select device session after executing continue on "ttpmc2204s000" ???????????????? so that i can avoid printing cancelled error.
Thanks and Regards,
Pravin Sonar