setPSCustomDocSetup

Set a string to be included in the PostScript DocSetup section.
setPSCustomDocSetup([in] BSTR docSetup)
This function provides a string of PostScript code to be inserted in the PostScript document setup section (%%BeginSetup .. %%EndSetup). This is useful for inserting device-specific calls to setpagedevice, etc.

This setting is only relevant for PostScript printing. It will be ignored when printing to a non-PostScript printer or if forceGDI is true.

VB:
pdf.setPSCustomDocSetup("<< .... >> setpagedevice")
setPSCustomPageSetup