Output parameters (PCL XL)
setParameter
IPCLXLOutput
supports several parameters that control how the PCL is written. These can be set in code in two ways. For example, to set the resolution, the code is:
CPP
|
C#
|
The same parameter can be expressed as two strings:
CPP
|
C#
|
This method was added to support scenarios where it is necessary to set an output parameter at runtime (for example, in a printer driver where the user is offered options from a menu).
The SDK sample makoconverter allows you to experiment with these parameters by adding them to the command line, for example:
makoconverter MyInput.pdf MyOutput.pxl resolution=300
The following settings are supported:
Parameter | Possible values | Description |
---|---|---|
Resolution | 1 to 32768 | Sets the PCLXL resolution. The default is 600 dpi. |