Set a string to be included in the PostScript PageSetup section.
setPSCustomPageSetup([in] BSTR pageSetup)
This function provides a string of PostScript code to be inserted in the PostScript page setup section (%%BeginPageSetup .. %%EndPageSetup). This is useful for inserting device-specific calls to setpagedevice, etc.

This function can be called from the printStatus event or in between calls to printToJob in order to provide different setup code for each page.

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

pdf.setPSCustomPageSetup("<< .... >> setpagedevice")