Mark,
Would using the IDM_SAVEAS function work for you instead of IDM_PRINT? The thrid parameter of ExecWB would specify the file name.
>>>and prompt the user
>Oh, that would be too easy. The printing is happening on the server.
>Sorry I wasn't clear on that.
>
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao