Running the Harlequin Core
To run the HHR Core:
- Open a terminal window or a command prompt in the directory where the RIP was installed (see Installing the Harlequin Core SDK on Windows step 2c). The default folder for Windows is:
\Users\username\HHR_<version number>
- Change directory into the
\bin
folder, which containsclrip.exe.
- To verify the installation and LDK key, run the command
clrip -l
. - A list of output options is displayed.
Simple usage
The simplest way to rip a job with Harlequin Core is to run clrip
, as follows: clrip –c <config> <inputfile>
In the above command line, <config>
is the name of a configuration file, such as Monochrome72dpi
. The file contains configuration details that set items such as output colorants, resolution, and so on. These files are read from the SW\TestConfig
directory.
A configuration must always be specified along with an input file. For the examples on this page, output is placed in the same folder as the input file.
The job file must always be the last item in the command line. Multiple jobs and wildcards are supported.
Black and white (monochrome) output
The following configuration produces a black and white, halftoned 72 dpi .tif output file:
clrip –c Monochrome72dpi ..\Samples\IceCreamLabel.pdf
Color (CMYK) output
The following configuration produces a contone CMYK 300 dpi .tif output file:
clrip –c CMYKComposite300dpi ..\Samples\IceCreamLabel.pdf
Advanced usage
The following clrip.exe
parameters control the basic operation:
-c <configuration> | A configuration file in the SW\TestConfig folder that sets parameters such as mono/CMYK/dpi, and so on. |
-o <pagebuffer> | Format of the output file, TIFF, JPEG, RAW, NONE, and so on. |
and can be used together. For example, a CMYK 300 dpi with JPEG output follows: clrip.exe –c CMYKComposite300dpi –o JPEG ..\Samples\IceCreamLabel.pdf
The configuration is a PostScript file.
Further examples used in this guide are available in SW\TestConfig
; they are documented in Guide to Harlequin Core Resources.
To list all available command-line options for clrip, type clrip.exe
with no arguments.
To list all configurations and page buffer types, use the lower-case l
option:
clrip -l
For more information, see Further reading.