Prev Previous Post   Next Post Next

Change SpoolDirectory path

Posted: 04-07-2005, 05:02 PM
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
Reply With Quote

Responses to "Change SpoolDirectory path"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
How change path of Calendar Database .ics Donato Pace Windows Vista File Management 3 06-22-2007 02:32 PM
Change output file path rasahara Windows XP Printers / Scanners / Fax 0 10-17-2003 07:43 AM
How do I change source path for Win setup? Abe Windows XP Setup 6 07-11-2003 12:03 PM
Change Explorer Path (Different!) :-)) Kostas Customize Windows XP 3 07-07-2003 06:33 PM
Change Explorer Path (Different!) :-)) Kostas Customize Windows XP 2 07-02-2003 12:57 AM