I have an application which uses the enable printer, startdoc ,... event for catching a print job.
In earlier version there was no problem. Now with the new driver 2.51b, i have the problem that the setting dialog for the printer cannot be opened. It causes an printer not activated error.
But the enable event is catched and the activation is set.
When i debugged the session i saw that the enable event was not fired, only if i print.
I cannot enable the printer because i don't know the the print is started.
Was there a change for the settings (in earlier version that was not a problem) and if yes, what can i do.
opening printer settings - cause an error
-
- Posts: 15
- Joined: Mon Oct 07 2002
- Contact:
Hello,
Which version are you referencing too by earlier version?
There was no change between 2.50 and 2.51 regarding printer activation but there was some change between 2.0 and 2.51.
Calling EnablePrinter() should be done directly before printing this is why we advise our customers to call it when catching the EnablePre() event.
Which version are you referencing too by earlier version?
There was no change between 2.50 and 2.51 regarding printer activation but there was some change between 2.0 and 2.51.
Calling EnablePrinter() should be done directly before printing this is why we advise our customers to call it when catching the EnablePre() event.
-
- Posts: 15
- Joined: Mon Oct 07 2002
- Contact:
Earlier Version was 2.50
When the user opens the print dialog within the application and want for example change the orientation in the printer properties, then the printer not activated error occures. In earlier version this did not happen.
To describe the process :
1. Start my watcher program (catches the enablepre event)
2. Start the main application
3. Open Printer dialog
4. Open properties of the printer (error occures)
this will not happen when i'm quite fast. That means the error occures only if the time between initializing the printer in step 1 and opening the property box in step 4 is longer that about 15-20 sec.
To describe the process :
1. Start my watcher program (catches the enablepre event)
2. Start the main application
3. Open Printer dialog
4. Open properties of the printer (error occures)
this will not happen when i'm quite fast. That means the error occures only if the time between initializing the printer in step 1 and opening the property box in step 4 is longer that about 15-20 sec.
Using the Developer version of the PDF Converter you can't open the properties dialog box of the PDF Printer manually, you need to set the printer properties programmatically.
There was a security bug in an older version that is solved in new versions.
The time frame you are mentioning is due to the fact that EnablePrinter() enables the printer for 20 seconds.
Hope this helps.
There was a security bug in an older version that is solved in new versions.
The time frame you are mentioning is due to the fact that EnablePrinter() enables the printer for 20 seconds.
Hope this helps.