Output parameters (PCL 5)
setParameter()
IPCL5Output supports several parameters that control how the PCL is written. These can be set in code in two ways. For example, to set the version of PCL that will be written, 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 sample makoconverter allows you to experiment with these parameters by adding them to the command line (for example):
makoconverter MyInput.pdf MyOutput.pcl pcl5version=pcl5e resolution=300
The following settings are supported.
Parameter | Possible values | Description |
---|---|---|
PCL5Version |
| Sets the PCL version. The default is ePCL5c. |
Resolution |
| Sets the PCL resolution. The default is 600 dpi. |
ImageCompression |
| Sets the desired image compression method. The default is delta row. |
MediaSource |
| Sets the desired media source. The default is 7. |