Harlequin RIP SDK

An example implementation of an AM screen parameter capture device. More...

#include <string.h>
#include "skinkit.h"
#include "scrndev.h"
#include "kitdevs.h"
#include "mem.h"
#include "swdevice.h"
#include "skindevs.h"
#include "devutils.h"
#include "devparam.h"
#include "hqmemcpy.h"

Data Structures

struct  ScreeningInParameters
 Screening device parameters. More...
 

Functions

static ScreenDataKCreateScreenData (uint8 *spotName)
 KCreateScreenData.
 
static int32 screening_read_file (DEVICELIST *dev, DEVICE_FILEDESCRIPTOR descriptor, uint8 *buff, int32 len)
 screening_read_file
 
static int32 screening_seek_file (DEVICELIST *dev, DEVICE_FILEDESCRIPTOR descriptor, Hq32x2 *destn, int32 flags)
 screening_seek_file
 
static int32 screening_bytes_file (DEVICELIST *dev, DEVICE_FILEDESCRIPTOR descriptor, Hq32x2 *bytes, int32 reason)
 screening_bytes_file
 
static int32 screening_status_file (DEVICELIST *dev, uint8 *filename, STAT *statbuff)
 screening_status_file
 
static void * screening_interp_start_file_list (DEVICELIST *dev, uint8 *pattern)
 *screening_interp_start_file_list
 
static int32 screening_interp_next_file (DEVICELIST *dev, void **handle, uint8 *pattern, FILEENTRY *entry)
 screening_interp_next_file
 
static int32 screening_interp_end_file_list (DEVICELIST *dev, void *handle)
 screening_interp_end_file_list
 
static int32 screening_rename_file (DEVICELIST *dev, uint8 *file1, uint8 *file2)
 screening_rename_file
 
static int32 screening_start_param (DEVICELIST *dev)
 screening_start_param
 
static int32 screening_status_device (DEVICELIST *dev, DEVSTAT *devstat)
 screening_status_device
 
static int32 screening_dismount_device (DEVICELIST *dev)
 screening_dismount_device
 
static int32 screening_buffersize (DEVICELIST *dev)
 screening_buffersize
 
static int32 screening_void (void)
 screening_void
 
static int32 ScrIOError (DEVICELIST *dev)
 ScrIOError.
 
static int32 screening_init_device (DEVICELIST *dev)
 screening_init_device
 
static DEVICE_FILEDESCRIPTOR screening_open_file (DEVICELIST *dev, uint8 *filename, int32 openflags)
 screening_open_file
 
static int32 screening_write_file (DEVICELIST *dev, DEVICE_FILEDESCRIPTOR descriptor, uint8 *buff, int32 len)
 screening_write_file
 
static int32 screening_close_file (DEVICELIST *dev, DEVICE_FILEDESCRIPTOR descriptor)
 screening_close_file
 
static int32 screening_delete_file (DEVICELIST *dev, uint8 *name)
 The RIP will call the delete file function after each completed or aborted page to indicate that the screens are no longer required.
 
static int32 screening_set_param (DEVICELIST *dev, DEVICEPARAM *param)
 screening_set_param
 
static int32 screening_get_param (DEVICELIST *dev, DEVICEPARAM *param)
 screening_get_param
 
int32 getScreenCount ()
 Get the screen count. More...
 
ScreenDatagetScreenList ()
 Get the screen list. More...
 
void setScreenCount (int32 count)
 Set the screen count. More...
 
void setScreenList (ScreenData *pList)
 Set the screen list. More...
 

Variables

ScreeningInParameters screeningInParams
 An instance of screening device parameters.
 

Detailed Description

An example implementation of an AM screen parameter capture device.

Note
This does not implement any screening algorithm, not does it implement the modular screening API. This device captures AM screening parameters when outputting RLE, so they can be passed to Global Graphics HPS library to apply post-RIP screening.

Function Documentation

◆ getScreenCount()

int32 getScreenCount ( )

Get the screen count.

Returns
The screen count, which can be zero.

◆ getScreenList()

ScreenData* getScreenList ( )

Get the screen list.

Returns
The screen list, which can be NULL.

◆ setScreenCount()

void setScreenCount ( int32  count)

Set the screen count.

Parameters
countThe screen count, which can be zero.

◆ setScreenList()

void setScreenList ( ScreenData pScreenList)

Set the screen list.

Parameters
pScreenListThe screen list, which can be NULL.