How makes legal paper size pdf

I have use following cade for make legal size pdf but it doesnt work.
RUN pdf_set_PaperType IN h_PDFinc ("Spdf","Legal").

should I add more for generate my legal size pdf.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

should work

It works this way. Do you have any errors? So you use a pdf template with the "UseExternalPageSize" parameter?