level
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 componentslevel2
: 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 grayscalelevel2Sep
: Level 2 separable PostScript - all colors are converted to CMYK, and the PostScript separation convention operators are used to handle custom (spot) colorslevel3
: Level 3 PostScript - similar tolevel2
, but enables some Level 3 featureslevel3Gray
: grayscale Level 3 PostScript - all colors, including images, are converted to grayscalelevel3Sep
: Level 3 separable PostScript - similar tolevel2Sep
, but enables some Level 3 features
pdf.level2
, etc.
This setting is global, i.e., it affects all XpdfPS objects (in the same process).
VB:
' generate Level 3 PostScript files
pdf.level = pdf.level3