I am seeing this error more and more and would like an explanation from Amyuni on why, using a licensed version of their software, this error still occurs. Am I right in thinking that when you call EnablePrinter, the driver is only actually enabled for a short period of time? If so, this is a big problem for us, as we sometimes make this call a good few seconds before calling StartDoc, and this cannot be changed. I nearly always see this when debugging too, which is really annoying - for example, if I have a breakpoint in my code between EnablePrinter and StartDoc, chances are I will see the dreaded -30 error when attempting to step over StartDoc!
The code we are using is generic for any printer, so it isn't really feasible to scatter EnablePrinter calls directly in our printing code.
Also, once this error appears, the Amyuni driver seems to be "stuck" in this state - sometimes only a reboot seems to clear it. We cannot possibly ship this to customers until I have a workaround for this issue - please can someone advise.