yes, Peter is right.
This is a "normal clarion" question, in the sense that you call your report procedure _without_ the p_web parameter, and set the procedure up to generate a pdf of whatever name.
then, in your web server code, just call the procedure.
Cheers
Bruce