I'm developing a printer driver and I have some problems with Windows
XP.
1) If I use "keep printed documents" flag, I'm not able to delete
printer job from Print Processor after I finished my printing job. I
tried to add a SetJob(xx,xx,xx,xx,JOB_CONTROL_DELETE) and I also tried
to delete .spl files but the Job isn't deleted.
I'm using this flag because with Windows XP the name of the .spl file
is not the same of the JobId as in Windows 2000.
2) If I don't use "keep printed documents" flag, changing the
"SpoolDirectory" value in the registry (key
HKLM_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\My
printer name) cause Windows XP to use the JobId for the name of the
..spl file. In this way all seems working as I want...until the user
opens the printer properties and click on the OK button (even if the
user don't change any setting), the "SpoolDirectory" value is cleared.
There is a way to solve at least one of the two problems?
thank you
--
Lis
www.alessandroghezzi.it
O'Telma:
http://snipurl.com/otelma