Harlequin RIP SDK
The "minrip" application

The "minrip" application layer is intended to be a bare-bones minimal Harlequin RIP integration example. It accepts test jobs from the command-line and processes them through the Harlequin RIP. All input files supplied must have absolute file paths, there is a fixed RIP configuration compiled into the source code, and the raster output functions discard the raster buffers produced by the RIP.

The main() function shows how to:

  • Load the Pthreads DLL
  • Start the SDK using SwLeDo()
  • Set the raster backend callbacks using SwLeSetRasterAPI()
  • Configure the RIP by submitting the fixed CONFIG_RIP configuration data as the first job.
  • Use the input queue to add jobs from the command line, using the fixed CONFIG_JOB configuration.
  • Process those jobs and then shut the RIP and SDK down using SwLeDo().

The function minripMonitorCallback() is connected to capture log output.

The raster data is captured and discarded by the registered minrip_raster_api raster backend, using the blank_page(), raster_start(), raster_writeband(), raster_finish(), and job_end() functions.

The "minrip" application does not handle Unicode file names, it does not support different configurations or different output backends, it does not support Scalable RIP, and it does not support hot folder or any other persistent input source of jobs. It is intended as a minimal example of how to link, start, run, and stop the RIP. See the "clrip" application for a fully-featured RIP integration.