Skip to main content
Skip table of contents

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
IPCLXLOutputPtr output = IPCLXLOutput::create(jawsMako);
output->setResolution(300);
C#
IPCLXLOutput output = IPCLXLOutput.create(jawsMako);
output.setResolution(300);

The same parameter can be expressed as two strings:

CPP
IPCLXLOutputPtr output = IPCLXLOutput::create(jawsMako);
output->setParameter("Resolution", "300");
C#
IPCLXLOutput output = IPCLXLOutput.create(jawsMako);
output.setParameter("Resolution", "300");

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:

POWERSHELL
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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.