Set the PostScript level.
[read/write property] level([out, retval] int *level) level([in] int level)
This property sets the PostScript level to one of the following:
level1: Level 1 PostScript - uncompresses all images and converts them to black-and-white (generally not a good idea, unless you need to print on a Level 1 printer)
level1Sep: Level 1 separable PostScript - all colors are converted to CMYK, and images are written with separate stream data for the four components
level2: Level 2 PostScript - supports color images and image compression (this is the default level)
level2Gray: grayscale Level 2 PostScript - all colors, including images, are converted to grayscale
level2Sep: Level 2 separable PostScript - all colors are converted to CMYK, and the PostScript separation convention operators are used to handle custom (spot) colors
level3: Level 3 PostScript - similar to
level2, but enables some Level 3 features
level2Gray: grayscale Level 3 PostScript - all colors, including images, are converted to grayscale
level3Sep: Level 3 separable PostScript - similar to
level2Sep, but enables some Level 3 features
This setting is global, i.e., it affects all XpdfPS objects (in the same process).
' generate Level 3 PostScript files pdf.level = pdf.level3