Hi
We have developer version of Amyunai Converter 2.5 and using PDFDriverInit.
We are generating the PDF document programmatically( EA server component) . While doing load testing for 10 users sometime (not all the time) we get error message box "Printer not activated Error Code -22" on the server. We are using EnablePrinter() just before the print . Also we found EnablePrinter() returns value 1 in all the cases.
What can be a problem?
Is there limitation for no of concurrent users .
Please let me know
Thanks
Alpesh
Printer not activated, error code -22
Hello,
EnablePrinter() should be called before each printout or when catching the EnablePre() event fired by the driver.
When having users that might access the printer concurrently or running in multithreading environment we advise our customers to use the locking mechanism of CDIntf. For more information about the locking mechanism please seach for the word 'lock()' in the developers' manual "Common Driver Interface.pdf" that you received with your product.
Hope this helps.
EnablePrinter() should be called before each printout or when catching the EnablePre() event fired by the driver.
When having users that might access the printer concurrently or running in multithreading environment we advise our customers to use the locking mechanism of CDIntf. For more information about the locking mechanism please seach for the word 'lock()' in the developers' manual "Common Driver Interface.pdf" that you received with your product.
Hope this helps.