Installing XPSDrvSmpl in XP Service Pack 2 system

Hi group,

I am trying to learn how to build a custom XPS driver. To start with I built
the XPSDrvSmpl from Windows7 WDK and tried to install it on a XP SP2 system
( after making sure the XPS redistributable and MSXML6 components are
installed ). Now the sample driver shows up in the printer list with all the
bells and whistles in its property page(watermarking, booklet and so on ).

However when I try to print a sample text to this printer, I do not get the
file open dialog to save the XPS file, like in the regular XPS printer. I
tried both the ‘XPSPort: (Local Port)’ as well as the ‘FILE: (Print to
File)’ port and none of them worked.

When I submit a print job, I see that the spooler has created some temporary
XPS files (with .SPL extension) in the spool\printers directory, and I see
the job waiting in the printer list forever.

The same process works fine on Windows7 when I select ‘FILE: (Print to
File)’ port where I am able to specify an XPS filename.

What am I missing in XP SP2 or how do I specify the output file name in XP
SP2 for XPS ?

Thanks for any pointers.

Cheers
Check Abdoul