maheswar
27th January 2011, 15:10
Hi All,
This in an different post about afs only.
stpapi.put.field("tdakp9492m000","pono.f",str$(10))
stpapi.put.field("tdakp9492m000","pono.t",str$(16))
stpapi.set.report("tdakp9492m000","rtdakp949211000","W",err.msg)
if isspace(err.msg) then
stpapi.continue.process("tdakp9492m000",err.msg)
endif
hint:Here "W" (in stpapi.set.report function)is the device name of windows printer.
I am using this above code to print a report in windows printer.
but when i am executing my code this report is getting printed in windows printer directly and i am not able to see the preview.
But according to my requirement i must able to see the preview.
Please give me some solution.
Thanks & REgards,
Maheswar
This in an different post about afs only.
stpapi.put.field("tdakp9492m000","pono.f",str$(10))
stpapi.put.field("tdakp9492m000","pono.t",str$(16))
stpapi.set.report("tdakp9492m000","rtdakp949211000","W",err.msg)
if isspace(err.msg) then
stpapi.continue.process("tdakp9492m000",err.msg)
endif
hint:Here "W" (in stpapi.set.report function)is the device name of windows printer.
I am using this above code to print a report in windows printer.
but when i am executing my code this report is getting printed in windows printer directly and i am not able to see the preview.
But according to my requirement i must able to see the preview.
Please give me some solution.
Thanks & REgards,
Maheswar