|
static HqBool | RegisterHandlers (void) |
| Registers the event handlers to be made available to the RIP. More...
|
|
static HqBool | RegisterHTMs (void) |
| Registers the halftone modules to be made available to the RIP. More...
|
|
static HqBool | RegisterAlternateCMMs (void) |
| Registers the alternate Color Management Modules to be made available to the RIP. More...
|
|
static HqBool | RegisterRasterBackends (void) |
| Registers the raster backend handlers to be made available to the RIP. More...
|
|
static HqBool | ValidateOutputTargetAndDestination (const uint8 *pOutputTarget, const char *const valid_targets[]) |
| Check for invalid combinations of output target/destination. More...
|
|
static HqBool | MountAllDrives (void) |
| Run a sequence of PostScript control jobs through the RIP to mount all of the available filesystem routes as file devices. More...
|
|
static HqBool | MountOtherDevices (SkinDynamicBuffer *mount) |
| Generate the PostScript that will mount other devices including ram and jobtmp . More...
|
|
static HqBool | registerDiscardStreamWriter (HqnWriteStream *pWriteStream) |
| Configure the specified data-discarding write stream object, and register it using registerStreamWriter(). More...
|
|
void | FileFormat (uint8 *format) |
| This function allows you to override the default output format. Supported output format names can be found in skintest.c. More...
|
|
void | OverridePGBType (uint8 *type) |
| Called in response to the example command-line application's -o (output) switch, this function is used to override any value of /PageBufferType from the page device. If the existing value is "LE" , then the override will be performed silently; for other values, a warning will be issued.
|
|
const uint8 * | GetPageBufferType (const RasterDescription *pRD, int32 *pLen) |
| Obtain the PageBufferType in use, taking into account any override value. More...
|
|
void | OverrideOutputTarget (uint8 *target) |
| Called in response to the example command-line application's -s (output target) switch, this function is used to override any value of /OutputTarget from the page device.
|
|
const uint8 * | GetRasterOutputTarget (const RasterDescription *pRD) |
| Obtain the OutputTarget in use for a RasterDescription, taking into account any override value. More...
|
|
void | PrintCopyright (void) |
| Output the content of COPYRIGHT.txt to the monitor.
|
|
int32 | ProcessJobs (SwLeDoParams *params) |
| Boot the Harlequin RIP core and process jobs from input queues. More...
|
|
static sw_inputq_result | list_setups (const sw_inputq_setup *setup, size_t size, void *data) |
| Input API setup iteration function.
|
|
void | ListSetupsAndConfigs (SwLeDoParams *params) |
| This function runs RIP to list available output types and configuration names. More...
|
|
HqBool | RasterFilename (RasterDescription *pRasterDescription, const char *fileformat, const char *const valid_targets[], uint8 *rasterFilename, uint8 *rasterPSFilename) |
| Raster filename function, used to generate filenames for raster backends from a template and raster description. More...
|
|
RASTER_PLANE * | RasterPlaneFromDescription (const RasterDescription *pRD, uint32 pindex) |
|
HqBool | GenerateFilename (const char *format, const RasterDescription *pRasterDescription, uint8 *pFilename, int32 length) |
| Generates a filename or message for this job / page / sep. More...
|
|
HqBool | GeneratePSFilename (const char *fileformat, const RasterDescription *pRasterDescription, uint8 *pFilename) |
| Generates a PS filename for this job / page / sep. More...
|
|
static HqBool | configureSocketDevice (const char *pszAddress, int32 nPort) |
| Set the IP address and port number used when outputting to the socket device. More...
|
|
static int32 | discardStream_Close (void *pPrivate) |
| 'Close' method for the data-discarding write stream.
|
|
static int32 | discardStream_Seek (void *pPrivate, Hq32x2 *destination, int32 flags) |
| 'Seek' method for the data-discarding write stream. More...
|
|
static int32 | discardStream_Bytes (void *pPrivate, Hq32x2 *pBytes, int32 reason) |
| 'Bytes' method for the data-discarding write stream. More...
|
|
static int32 | discardStream_Write (void *pPrivate, uint8 *buff, int32 len) |
| 'Write' method for the data-discarding write stream. More...
|
|
static void | monitorStderr (uint32 buflen, const uint8 *buffer) |
|
static void | monitorFileWrite (uint32 buflen, const uint8 *buffer, HqBool do_flush, FileDesc *fd) |
|
void | monitorFile (uint32 buflen, const uint8 *buffer) |
|
intptr_t | monitorFileOptions (intptr_t options) |
|
HqBool | monitorFileStart (SwLeMONITORCALLBACK *monitorCallback) |
| Initialise the monitorFile() output. More...
|
|
void | monitorFileEnd (void) |
|
static sw_event_result | monitor_channel (void *ctx, sw_event *evt) |
| Monitor through events contextualisation. The core performs transcoding of unrecognised encodings to the Unicode Private Use Area, so event messages are always UTF-8. The fallback monitor handler, which writes event messages to the %monitor% device, undoes the transcoding, providing the raw bytes to device write. Rather than repeat that detection and decoding here, we install a monitor handler that picks the output channel that the %monitor% device will use, and calls the rest of the event handler chain. This is compatible with the colour monitor handler.
|
|
HqBool | monitorFileHandleEvents (HqBool compatible) |
| Register event handlers to contextualise monitor events, sending them to an appropriate monitor file stream. More...
|
|
void | HqCustomAssertMon (const char *filename, int line, const char *format, va_list vlist, int assertflag) |
| Wrapper for HqCustomAssert() to ensure output goes to the stderr channel, rather than the stdout channel, when using the monitor file callback.
|
|
void | HqCustomTraceMon (const char *filename, int line, const char *format, va_list vlist) |
| Wrapper for HqCustomTrace() to ensure output goes to the stderr channel, rather than the stdout channel, when using the monitor file callback.
|
|
void | jsonSavePS (void) |
| Enable saving of PostScript representation of JSON config files.
|
|
void * | CurrentJobContext (void) |
| Return the job context attached to the currently processing job. This is the job context pointer provided to raster callbacks, initially created by the input queue job submission.
|
|
void | init_C_runtime_skintest (void) |
| Re-initialize all global state in the clrip application layer. More...
|
|
Core implementation of the interaction between the RIP and the skin.