OPC-UA Interface Guide (Smart Connectivity)
Smart Print Controller v4.9.5935.0, Copyright (c) 2023 Global Graphics Software. All rights reserved.
Overview
Smart Print Controller provides a user with two conceptual methods of operations:
Engineer - Installation and setup.
Operator - Manage job submission and review progress.
This 'operator' level of operation can be driven from external clients using an industry-standard interface.
When the Open Platform Communications (OPC) server in Smart Print Controller is enabled an OPC node tree is published. The top-level nodes in this tree represent grouped areas of state and functionality. For example, the Servers section allows:
the RIP Server list to be enumerated.
the server connection status to be examined.
all servers to be restarted.
...and more.
Certificates
Communication between OPC UA clients and servers require both parties to possess their own application certificate. To enable further communication each party must trust the opposing certificate. This trust can be established automatically, programmatically or manually depending on the application's configuration or implementation. The certificate for Smart Print Controller can be found in %programdata%\Global Graphics Software Ltd\Smart Print Controller\App Certificates\certs
should you need to copy it to the Trusted Peer Certificate folder. In this release it is a Self Signed Certificate issued by and for Smart Print Controller.
OPC Nodes
The OPC node mechanism will report when any state changes, allowing clients to react accordingly.
While most exposed values can be read by a client, write-access (or calling a method to request a state change in Smart Print Controller) requires External Control to be granted (See App.IsExternalControlActive). This is an action explicitly performed by the Smart Print Controller operator, resulting in control of the application to be given to the OPC client.
Server Mode
If Smart Print Controller is launched with a /ServerMode
command-line argument the application will be launched minimized, with OPC automatically enabled and External Control granted. Additionally, /Silent
will disable the application splash screen and any taskbar messages that would otherwise be displayed.
Setting App.ServerModeLocked will ensure the application window stays minimized, with no option to be restored to the screen.
OPC Methods
Many published OPC method nodes return a String
value indicating their success or error state. In all such cases a check for Success
will indicate success, and any other value is an error.
Return Value | Description |
---|---|
| A command could not run because its execution criteria was not met. |
| Failed to load an application SPC configuration. |
| The PDF could not be preprocessed. |
| The job was submitted, but failed to print. |
| Failed to restore the HD configs to the original values. |
| Failed to update the HD configs to the values required for printing. |
| Failed to set the page range of a job. |
| The print run failed to start. |
| Failed to submit the job to the server(s). |
| Cannot execute the request. (External control not granted?) |
| The media's printer profile differs from the 'active' profile. |
| One or more of the parameters were invalid. |
| The specified item was not found. |
| At least one server is required for printing. |
| The HD connection(s) must be connected or disconnected - Not pending. |
| The PDF was preprocessed, but was invalid (E.g. It contains non-embedded fonts). |
| The print bar does not appear in the printer profile. |
| Direct printing cannot interrupt an active print run. |
| The conditions needed to perform the action were not satisfied. |
| The specified server is disabled. |
| The request completed successfully. |
Any methods returning data (E.g. JSON, comma-separated values, ...) will be explicitly documented. Callers should check the format of the returned data to see if the call succeeded (otherwise one of the above errors may be returned).
Any methods listed in this documentation include details about their required parameters (if any), and return value.
In the event of an error, please see the Smart Print Controller log file for more information.
OPC Client Library
The following documentation provides guidance on using the Traeger Industry Components GmbH OPC client library for software developers working with Smart Print Controller.
Configuring Custom Message Sizes
The default maximum message sizes used by OPC clients to communicate to the server are sufficient for most use cases. However, to ensure transfer of larger data packets (such as retrieving some job thumbnail images) it may be necessary to configure the OPC client with custom values.
For example:
Client = new OpcClient();
Client.Transport.MaxArrayLength = 1024 * 1024 * 50;
Client.Transport.MaxBufferSize = 1024 * 1024 * 50;
Client.Transport.MaxMessageSize = 1024 * 1024 * 50;
Client.Transport.MaxStringLength = 1024 * 1024 * 50;
See here for more information.
Adjusting Communication Timeouts
OPC clients regularly verify the responsiveness of the connection to the OPC server. However, in certain circumstances where the system is under heavy load, maintaining a responsive connection might not always be possible. To mitigate potential issues under such conditions, it is recommended to increase the default communication timeouts.
The example below demonstrates how to adjust the default values:
var defaultTimeOut = (int)TimeSpan.FromMinutes(10).TotalMilliseconds;
Client = new OpcClient
{
// Don't auto-disconnect - Dispose the client to explicitly disconnect.
DisconnectTimeout = int.MaxValue,
KeepAlive = { Interval = defaultTimeOut },
SessionTimeout = defaultTimeOut,
OperationTimeout = defaultTimeOut,
ReconnectTimeout = defaultTimeOut
};
Please note that the provided examples serve as illustrations, and it's important to tailor the configuration to your specific requirements.
SPCSet
SPCSet is the top-level set containing all available OPC nodes. Immediately underneath this root-level node are a categorized collection of sub-nodes, each encapsulating a different area of behavior.
Section Name | Description |
---|---|
State relating to the currently active job. | |
State relating to the currently active media. | |
State relating to all jobs in the Waiting/Print/Completed queues. This tree dynamically includes children named from the GUID of each known job. | |
State relating to all available media. | |
State relating to the selected media (See | |
State relating to the entire application. | |
State relating to job cost estimation. | |
State relating to the active print bars. | |
State relating to the active printer profile. | |
State relating to the print run. | |
State relating to the print configuration (Applies to both media sides). | |
The print configuration specific to media side 'A'. | |
The print configuration specific to media side 'B'. | |
State relating to the collection of RIP Servers. | |
State relating to the offline Service RIP. | |
Describes the collection of nodes representing a single job, positioned as a child of the | |
State relating to Streamline Direct technology. | |
State relating to the behavior of the Waiting queue. |
ActiveJob
State relating to the currently active job.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | Number of copies to print. Writable only for unlocked jobs in the Waiting queue. |
|
| No | Page number of the current processed page. |
|
| No | Unique job descriptor. |
|
| No | Whether or not the job can have lead in and/or lead out pages. |
|
| No | The result after running job font analysis. |
|
| No | Whether or not the job has been Autotuned. |
|
| No | Whether modifying operations (changes to copy count, job editor, ...) are allowed or not. Writable only for jobs in the Waiting queue. |
|
| No | Whether the job contains pre-RIPped pages. |
|
| No | Whether Streamline Optimize has processed the job. |
|
| No | A JSON string representing the data collected during the job cost estimation process. |
|
| No | The job ID received from the .complete file. |
|
| No | Property which can be used to group related jobs. |
|
| No | The job part ID received from the .complete file. |
|
| No | Property which can be used to attach arbitrary state to a job. The source of the state comes from an optional |
|
| No | Count of the lead in pages. |
|
| No | BASE64-encoded representation of the lead in page thumbnail PNG data. |
|
| No | Count of the lead out pages. |
|
| No | BASE64-encoded representation of the lead out page thumbnail PNG data. |
|
| No | The job name (from the original job file name). |
|
| No | Page count of the document. |
|
| No | Page height (mm). |
|
| No | Page width (mm). |
|
| No | The Streamline Direct predicted line speed (m/min). |
|
| No | The Streamline Direct predicted line speed (Status indicator). Values: |
|
| No | A comma-separated list of issues indicating if a job is printable, with the most serious being 'Error'. Values: |
|
| No | When the job started printing (ISO 8601). |
|
| No | The intended media to use when printing the job. |
|
| No | BASE64-encoded representation of the job thumbnail PNG data. |
|
| No | Page count of the printed document ( |
ActiveMedia
State relating to the currently active media.
Details
The active media is the one actually being used to print.
The selected media (See AllMedia.SelectedName
) is the one highlighted in the application UI.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | Whether color management (E.g. ICC profiles) is enabled. |
|
| No | The date that the PrintFlat calibration was applied to each colorant, if applicable. Entries match the order of the |
|
| No | This intent overrides all CMYK images. This setting also applies to gray images when Values: |
|
| No | Collection of colorant calibration curves. Entries match the order of the |
|
| No | Collection of supported colorant names. |
|
| No | Whether to process gray with CMYK color management. |
|
| No | Description of the media. |
|
| No | Name of the media's device emulation ICC profile. (See |
|
| No | Whether the device emulation ICC profile will be used. |
|
| No | Whether or not a PrintFlat Calibration has been applied to each colorant. Entries match the order of the |
|
| No | Name of the media's input CMYK ICC profile. |
|
| No | Name of the media's input Gray ICC profile. (See |
|
| No | Name of the media's input RGB ICC profile. |
|
| No | Whether to keep text black. |
|
| No | This is the default rendering intent. The rendering intents in the document overrides it. Values: |
|
| No | The active media name. |
|
| No | Name of the media's output ICC profile. |
|
| No | Whether to override the color management specified in the PDF. |
|
| No | Whether to preserve 100% black. |
|
| No | This intent overrides all RGB images. Values: |
|
| No | This is the Total Area Coverage for the job. |
|
| No | The media width in mm. |
AllJobs
State relating to all jobs in the Waiting/Print/Completed queues. This tree dynamically includes children named from the GUID of each known job.
Details
These OPC nodes are fully populated to a consistent state when the OPC server starts, apart from job GUIDs - These nodes are dynamically added and removed as jobs are added and removed to/from the workflow.
(If there are already jobs in the workflow, these GUIDs will exist when the OPC server starts.)
When a job is added to the Waiting queue a GUID node is created containing the job information (containing the same tag names as the ActiveJob node) and that GUID is added to the WaitingQueue
array.
The job keeps the same GUID as is travels through the system, moving between the WaitingQueue
, PrintingQueue
, and CompletedQueue
arrays.
The GUID node is removed when the job is removed from the workflow.
See the SingleJob section for a description of all available job-level nodes.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| Yes | When enabled, jobs in the Waiting queue will automatically move to the Print queue. NOTE Only jobs eligible for printing are included. |
|
| Yes | When enabled, the print run is automatically stopped when all jobs have been printed. |
|
| No | Collection of ordered GUIDs representing the jobs in the Completed queue. |
|
| No | Count of node changes made to jobs within the Completed queue. |
|
| Yes | For internal use only. NOTE Changes must be applied using |
|
| No | Collection of ordered GUIDs representing the jobs in the Print queue. |
|
| No | Count of node changes made to jobs within the Print queue. |
|
| Yes | When enabled, the print run will copy all jobs over before we start printing. |
|
| No | Collection of ordered GUIDs representing the jobs in the Waiting queue. |
|
| No | Count of node changes made to jobs within the Waiting queue. |
Methods
Name | Returns | Description |
---|---|---|
|
| Cancel a job in the Print queue. (Requires external control) |
|
| Change the active media of the print run. (Requires external control) |
|
| Remove all jobs from the Completed queue. (Requires external control) |
|
| Remove all jobs from the Waiting queue. (Requires external control) |
|
| Duplicate a job in the Waiting queue. (Requires external control) |
|
| Duplicate a job in the Waiting queue with a new name. (Requires external control) NOTE The job name cannot contain illegal file path characters < > : " / \ | ? * |
|
| Duplicate a job in the Waiting queue with a new name and a set of selected pages. (Requires external control) NOTE The job name cannot contain illegal file path characters < > : " / \ | ? * |
|
| Returns per-page RIP timings (seconds) for a single completed job. (Requires external control) Returns data the form: |
|
| Remove a job from any queue. (Requires external control) NOTE A locked job in the waiting queue is considered read-only. |
|
| Resubmit a job from the Completed queue to the Waiting queue. (Requires external control) |
|
| Move a job from the Waiting queue to the Pre-Press folder. (Requires external control) |
|
| Move a job from the Waiting queue to the Print queue. (Requires external control) |
|
| Set the page range of a job, rebuilding the PDF with the pages specified. (Requires external control) NOTE Must be called on a job in the Waiting Queue. |
AllMedia
State relating to all available media.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | Collection of all available media names. NOTE Media which is incompatible with the current setup will be excluded. |
|
| Yes | Call prior to using the |
|
| Yes | The selected media name (which may differ from the applied media name). Valid values can be obtained from NOTE Changes must be 'applied' before they take effect. |
|
| Yes | User-definable comma-separated list of ink names to suppress. (Requires external control) NOTE Changes must be applied using |
Methods
Name | Returns | Description |
---|---|---|
|
| Permanently delete the named media (Use with caution). (Requires external control) NOTE At least one media entry must always exist. |
|
| Inspect the contents of a Prior to calling
The returned value is JSON in the following format:
NOTE The values returned may be extended in future. |
|
| Install a new Prior to calling
NOTE Any existing media with the same name will be overwritten. |
|
| Install a new Prior to calling
NOTE Any existing media with the same name will be overwritten. |
Files
Name | Description |
---|---|
| Allows read/write access to an SMD file. (See |
NOTE OPC File nodes contain functions which allow access to file content:
Open(int fileAccess)
- Open the file with the specifiedfileAccess
(1
:read,2
:write), returning an integer file handle.Read(int fileHandle, int length)
- Read data from an open file handle, returning an array of bytes.Write(int fileHandle, byte[] buffer)
- Write/append data to an open file handle.Close(int fileHandle)
- Close the file handle after use.
For more information see the OPC documentation.
AllMedia.SelectedMedia
State relating to the selected media (See AllMedia.SelectedName
).
Details
Note that when setting new media properties the changes are set in the Smart Media immediately, but changes must be applied using App.ApplySettings()
before they take effect on the server(s).
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| Yes | Whether color management (E.g. ICC profiles) is enabled. |
|
| No | The date that the PrintFlat calibration was applied to each colorant, if applicable. Entries match the order of the |
|
| Yes | This intent overrides all CMYK images. This setting also applies to gray images when Values: |
|
| No | Collection of colorant calibration curves. Entries match the order of the |
|
| No | Collection of supported colorant names. |
|
| Yes | Whether to process gray with CMYK color management. NOTE Requires |
|
| Yes | Description of the media. |
|
| No | Name of the media's device emulation ICC profile. (See |
|
| Yes | Whether the device emulation ICC profile will be used. NOTE Requires |
|
| No | Whether or not a PrintFlat Calibration has been applied to each colorant. Entries match the order of the |
|
| No | Name of the media's input CMYK ICC profile. |
|
| No | Name of the media's input Gray ICC profile. (See |
|
| No | Name of the media's input RGB ICC profile. |
|
| Yes | Whether to keep text black. |
|
| Yes | This is the default rendering intent. The rendering intents in the document overrides it. Values: |
|
| No | The selected media name. |
|
| No | Name of the media's output ICC profile. |
|
| Yes | Whether to override the color management specified in the PDF. |
|
| Yes | Whether to preserve 100% black. |
|
| Yes | This intent overrides all RGB images. Values: |
|
| No | This is the Total Area Coverage for the job. |
|
| Yes | The media width in mm. |
Methods
Name | Returns | Description |
---|---|---|
|
| Remove the print bar group scaling settings from the selected media. (Requires external control) The scaling settings for the selected media will immediately revert back to the scaling settings that were last applied using App.ApplySettings(). |
|
| Save the print bar group scaling settings to the selected media. (Requires external control) This saves all of the values for VerticalScaling and HorizontalScaling, so that they are remembered when this media is next selected. |
|
| Allows the calibration curve associated with a known colorant to be modified. (Requires external control) NOTE Curve data must be presented as a list of comma-separated values. |
|
| Install an ICC profile into the selected media. (Requires external control) NOTE |
|
| Install an ICC profile into the selected media. (Requires external control) NOTE |
|
| Install an ICC profile into the selected media. (Requires external control) NOTE |
|
| Install an ICC profile into the selected media. (Requires external control) NOTE |
|
| Install an ICC profile into the selected media. (Requires external control) NOTE |
App
State relating to the entire application.
Details
Some features (such as job costing) require the use of an offline service RIP, allowing for background processing while other job actions are active.
If any RIP servers are currently defined to use 127.0.0.1
, the service RIP will not be available (See OpcServiceRip
).
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | The application's local Centralized Ink Library Location |
|
| No | Whether the application is allowing clients external control. |
|
| No | Whether the Pre-Press folder is active and can have jobs sent to it. |
|
| No | The application's local Pre-Press folder. |
|
| No | The application product name. |
|
| Yes | Whether to lock the minimized status of the application UI when running in server mode. OPC clients can use this to prevent the application UI from being visible. |
|
| No | Tally of the total printed sheet count. |
|
| No | Describes the application version number. |
|
| No | The application's local Waiting queue folder. |
|
| No | The percentage of space used on the disk where the application's local Waiting queue folder is located. |
Methods
Name | Returns | Description |
---|---|---|
|
| Apply the current application settings and update all RIP Server config files. (Requires external control) |
|
| Request the application to shut itself down. (Requires external control) NOTE Use with care. |
|
| Load an SPC application configuration file. (Requires external control) NOTE Changes must be applied using |
|
| Allows an OPC client to write an error message into the application log. |
|
| Allows an OPC client to write an information message into the application log. |
|
| Allows an OPC client to write a warning message into the application log. |
|
| For internal use only. (Requires external control) |
|
| Revert any pending application settings. (Requires external control) |
|
| Allows an OPC client to register it has entered/exited a 'busy' state requiring 'external control'. A server operator disabling 'external control' will receive a warning if a client is within a 'busy' state. |
Files
Name | Description |
---|---|
| Allows read-only access to the application log file. |
NOTE OPC File nodes contain functions which allow access to file content:
Open(int fileAccess)
- Open the file with the specifiedfileAccess
(1
:read,2
:write), returning an integer file handle.Read(int fileHandle, int length)
- Read data from an open file handle, returning an array of bytes.Write(int fileHandle, byte[] buffer)
- Write/append data to an open file handle.Close(int fileHandle)
- Close the file handle after use.
For more information see the OPC documentation.
JobCosting
State relating to job cost estimation.
Details
Job cost estimation requires the use of an offline service RIP, allowing for background processing while other job actions are active.
If any RIP servers are currently defined to use 127.0.0.1
(see the Servers
section), job costing will not be available.
Changes to the state in this section are immediate and do not require an explicit 'Apply' action.
To generate a cost report from an SPC-queued job, call ProcessJob()
.
If successful, the JSON result will either be stored in the job's JobCostData
property or in AvailableResults
(depending on the parameters passed to ProcessJob()
).
If the latter, the AvailableResults
array will be updated once processing is complete, and a call to GetReportData()
may be performed.
If the job succeeds, GetReportData()
will return a JSON string.
If the job fails, GetReportData()
will return an empty string.
If the job is cancelled (CancelJobFile()
), the AvailableResults
array will not be updated, and GetReportData()
will not be required.
A scheduled job can be cancelled at any time by calling CancelJobFile()
.
External control is not required for job costing actions to be performed.
Clients may call App.SetClientIsBusy()
to let SPC know its job costing feature is being used.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | A collection of GUIDs representing the completed tasks previously scheduled with a call to This list is updated each time a new cost estimation is available, and indicates a call to |
|
| Yes | The default unit of cost. |
|
| Yes | The default drop volume (picoliters) for each drop size, for each ink. The format of each entry is 'InkName:DropSize,DropVolume,...' |
|
| Yes | The default cost of each ink (per liter), in the unit specified by The format of each entry is 'InkName:Cost' |
|
| Yes | The default specific gravity of each ink. (The ratio of ink density to the density of water.) The format of each entry is 'InkName:SG' |
|
| Yes | The default cost of the media per m². |
|
| Yes | Indication to the client job costing app that a request has been made to import the selected jobs. |
|
| Yes | Whether the job cost estimation feature is enabled. (See NOTE For the job costing to be active the feature must be enabled, available, and have a valid service RIP connection. |
|
| Yes | The cost to apply each time a service interval is encountered. |
|
| Yes | The media interval at which the service cost is applied. |
|
| Yes | Use optimized job analysis to decrease processing times. |
Methods
Name | Returns | Description |
---|---|---|
|
| After calling |
|
| This method may be called each time the The parameter is the GUID of the job to query, obtained from the |
|
| This method schedules an SPC job for costing, given the SPC GUID of the job. (See If |
PrintBarGroups
State relating to the active print bars.
Details
Note that each print bar 'group' corresponds to a collection of print bars which use the same settings (BPP, resolution, etc).
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | The bits per pixel (BPP) of each print bar group. |
|
| No | The colorant list for each print bar group. |
|
| No | The number of print bar groups. |
|
| No | The names of each print bar group. |
|
| No | The horizontal resolution (DPI) of each print bar group. |
|
| Yes | The horizontal page scale (%) of each print bar group. NOTE Changes must be 'applied' before they take effect. |
|
| No | Which media side each print bar group relates to (A/B). |
|
| No | The plane numbers for each colorant in each print bar group. |
|
| No | The vertical resolution (DPI) of each print bar group. |
|
| Yes | The vertical page scale (%) of each print bar group. NOTE Changes must be 'applied' before they take effect. |
Methods
Name | Returns | Description |
---|---|---|
|
| Set a collection of failed nozzle indices for a given print bar. |
PrinterProfile
State relating to the active printer profile.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| Yes | The PIN required to access the Engineer pane. The PIN must be comprised of four characters, each being a number, or it can be left empty. An empty PIN will mean a PIN is not required to access the Engineer pane. |
|
| No | A list of ink names defined in the printer profile. |
|
| No | Complementing |
|
| No | The printer line speed (m/min). |
|
| No | The printer manufacturer. |
|
| No | The type of media. Values: |
|
| No | The printer model. |
|
| Yes | The name of the active printer profile. |
|
| No | Whether the print bars are horizontal to the printed page image. |
|
| No | The type of printer. Values: |
|
| Yes | Whether automatic channel cloning is supported. NOTE This setting does not persist - It must be explicitly set via OPC. |
|
| No | Whether the printer supports color. |
|
| No | Whether the printer supports a QI vision system. |
|
| No | Whether the printer supports duplex. |
|
| No | A list of supported media widths (mm). |
|
| No | Whether the printer supports offline printing mode (RIP Ahead). |
Methods
Name | Returns | Description |
---|---|---|
|
| For internal use only. |
PrintRun
State relating to the print run.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | The state of the print run Abort button. Values: |
|
| No | Whether the print run is currently active. |
|
| Yes | The maximum number of simultaneous jobs to submit for printing at any one time. |
|
| No | The state of the print run Start button. Values: |
|
| No | The status of the print run. Values: |
|
| No | The state of the print run Stop button. Values: |
Methods
Name | Returns | Description |
---|---|---|
|
| Abort an active print run (Immediate). (Requires external control) |
|
| Start an active print run. (Requires external control) Use |
|
| Stop an active print run (As soon as possible). (Requires external control) Use |
PrintRunConfig
State relating to the print configuration (Applies to both media sides).
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| Yes | Whether to automatically append an information page to each printed job. NOTE Changes must be 'applied' before they take effect. |
|
| No | The cue mark interval in mm. |
|
| No | The duplex mode. Values: |
|
| Yes | Whether to add nozzle refresh bars onto the printed output. NOTE Changes must be 'applied' before they take effect. |
|
| Yes | How many nozzle refresh pages to append to the job. ( NOTE Requires nozzle refresh pages to be enabled. |
|
| Yes | How many pages to process before inserting mid-document nozzle refresh pages. ( NOTE Requires nozzle refresh pages to be enabled. |
|
| Yes | How many nozzle refresh pages to add each time NOTE Requires nozzle refresh pages to be enabled. |
|
| Yes | Whether to add nozzle refresh pages into the printed output. NOTE Changes must be 'applied' before they take effect. |
|
| Yes | How many nozzle refresh pages to prepend to the job. ( NOTE Requires nozzle refresh pages to be enabled. |
|
| Yes | Whether jobs are ripped, screened if they have been ripped, or are ripped and screened at once. Values: |
PrintRunConfig.ConfigSideA
The print configuration specific to media side 'A'.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | The number of active nozzles that the print bar has. NOTE Changes must be 'applied' before they take effect. |
|
| Yes | The screen calibration justification ( The values map as follows: 0 = Left, 1 = Center, 2 = Right. |
|
| Yes | The screen calibration offset in nozzles. NOTE Changes are applied immediately if the print run is active, otherwise changes must be 'applied' before they take effect permanently. |
|
| No | A hash representation of the nozzle configuration. NOTE Changes must be 'applied' before they take effect. |
|
| No | The print position ( |
PrintRunConfig.ConfigSideB
The print configuration specific to media side 'B'.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | The number of active nozzles that the print bar has. NOTE Changes must be 'applied' before they take effect. |
|
| Yes | The screen calibration justification ( The values map as follows: 0 = Left, 1 = Center, 2 = Right. |
|
| Yes | The screen calibration offset in nozzles. NOTE Changes are applied immediately if the print run is active, otherwise changes must be 'applied' before they take effect permanently. |
|
| No | A hash representation of the nozzle configuration. NOTE Changes must be 'applied' before they take effect. |
|
| No | The print position ( |
Servers
State relating to the collection of RIP Servers.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | Which colorants each server can process. |
|
| No | Per-RIP Server connection statuses. Values: |
|
| No | The number of RIP Servers. |
|
| No | Which colorants each server will process. |
|
| Yes | Whether each server is enabled or disabled. |
|
| No | Which media side each server relates to (A/B). |
|
| No | Overall connection status of all enabled servers. Values: |
|
| No | Per-RIP Server print run statuses. Values: |
|
| No | Per-RIP Server configurations. |
|
| No | Per-RIP Server paths. (E.g. |
Methods
Name | Returns | Description |
---|---|---|
|
| Read the static (CPU model, ...) and dynamic (CPU load, ...) properties for the specified server. |
|
| Restart all RIP Servers. (Requires external control) |
|
| Sends a plugin-dependent command to a named RIP Server plugin. (Requires external control) NOTE The print run must be started for the command to succeed. |
|
| Allows a RIP Server log file to be selected for reading. NOTE Must be called before any attempt to read data via |
Files
Name | Description |
---|---|
| Allows read-only access to the selected RIP Server log file. (See |
NOTE OPC File nodes contain functions which allow access to file content:
Open(int fileAccess)
- Open the file with the specifiedfileAccess
(1
:read,2
:write), returning an integer file handle.Read(int fileHandle, int length)
- Read data from an open file handle, returning an array of bytes.Write(int fileHandle, byte[] buffer)
- Write/append data to an open file handle.Close(int fileHandle)
- Close the file handle after use.
For more information see the OPC documentation.
ServiceRip
State relating to the offline Service RIP.
Details
The Service RIP provides functionality, including offline processing of jobs by rendering PDF pages into a contone image format for external manipulation and then re-embedding those images back into the original PDF.
The RipToContone()
method is used to render each page of a PDF into a series of colorant-based contone TIFF images, which can be modified externally.
The EmbedContone()
method re-embeds the modified images into the original PDF. The TIFF images and an accompanying job XML file (from RipToContone()
) must be located in the specified input folder.
This system enables asynchronous job processing, meaning jobs are queued and results are available later for retrieval. Clients can monitor the completion of these jobs via AvailableResults
and retrieve detailed result data using GetResultData()
.
If any RIP servers are currently using 127.0.0.1
, the Service RIP will not be available.
Clients may call App.SetClientIsBusy()
to let SPC know its offline services are being used.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| No | A collection of GUIDs representing the completed tasks previously scheduled with the Service RIP. This list is updated each time a new result is available, and indicates a call to |
|
| No | Whether the service RIP can be enabled. (See This requires no other local server ( |
|
| No | Whether the service RIP is currently connected. |
|
| No | Whether the service RIP is required, but has failed to connect. |
|
| Yes | Whether the user has enabled support for the service RIP (Required by features such as job costing). |
Methods
Name | Returns | Description |
---|---|---|
|
| This method will trigger cancellation of the job identified with the job GUID. |
|
| This method schedules an SPC job for processing, given the SPC GUID of the job. (See The operation expects an input folder containing contone TIFF images and a job XML file (as created by |
|
| This method may be called each time the The parameter is the GUID of the job to query, obtained from the |
|
| This method schedules an SPC job for processing, given the SPC GUID of the job. (See Each PDF page will be rendered as a series of contone TIFF images (one per colorant) into the specified local output folder. |
SingleJob
Describes the collection of nodes representing a single job, positioned as a child of the WaitingQueue
, PrintQueue
, or CompletedQueue
nodes.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| Yes | Number of copies to print. Writable only for unlocked jobs in the Waiting queue. |
|
| No | When the job finished printing. (ISO 8601) |
|
| No | Unique job descriptor. |
|
| No | Whether or not the job can have lead in and/or lead out pages. |
|
| No | The result after running job font analysis. |
|
| No | Whether or not the job has been Autotuned. |
|
| Yes | Whether modifying operations (changes to copy count, job editor, ...) are allowed or not. Writable only for jobs in the Waiting queue. |
|
| No | Whether the job contains pre-RIPped pages. |
|
| Yes | Whether the user has selected the job in the UI. Writable only for jobs in the Waiting queue. |
|
| No | Whether Streamline Optimize has processed the job. |
|
| No | A JSON string representing the data collected during the job cost estimation process. |
|
| No | The job ID received from the .complete file. |
|
| Yes | Property which can be used to group related jobs. |
|
| No | The job part ID received from the .complete file. |
|
| Yes | Property which can be used to attach arbitrary state to a job. The source of the state comes from an optional |
|
| Yes | Count of the lead in pages. |
|
| No | BASE64-encoded representation of the lead in page thumbnail PNG data. |
|
| Yes | Count of the lead out pages. |
|
| No | BASE64-encoded representation of the lead out page thumbnail PNG data. |
|
| Yes | The job name (from the original job file name). Writable only for unlocked jobs in the Waiting queue that are not preprocessing. |
|
| No | Page count of the document. |
|
| No | Page height (mm). |
|
| No | The total number of pages submitted to the output device. NOTE This does NOT mean they were printed, only submitted to the output device. |
|
| No | Page width (mm). |
|
| No | The Streamline Direct predicted line speed (m/min). |
|
| No | The Streamline Direct predicted line speed (Status indicator). Values: |
|
| No | Preprocessor status. Values: |
|
| No | A comma-separated list of issues indicating if a job is printable, with the most serious being 'Error'. Values: |
|
| No | The job position within the current queue (1+). |
|
| No | When the job started printing (ISO 8601). |
|
| No | Up-to-date print status of the job.
|
|
| Yes | The intended media to use when printing the job. |
|
| No | BASE64-encoded representation of the job thumbnail PNG data. |
|
| No | Page count of the printed document ( |
StreamlineDirect
State relating to Streamline Direct technology.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| Yes | The number of pages to sample when estimating print time. NOTE Takes effect when new jobs are added. |
|
| Yes | Whether jobs whose PredictedLineSpeedIndicator is Red - jobs that will not meet the Target Line Speed - can be sent to the Print Queue. NOTE This option can only take effect if |
|
| Yes | Whether to Autotune jobs that have been estimated. NOTE Takes effect when new jobs are added. |
|
| Yes | Whether to estimate print time for jobs added to the Waiting Queue. NOTE Takes effect when new jobs are added. |
|
| Yes | The press's target line speed (m/min). |
|
| Yes | The percentage of extra line speed above the defined maximum line speed that can be allowed as an estimate. NOTE Takes effect when new jobs are added. |
WaitingQueueOptions
State relating to the behavior of the Waiting queue.
Properties
Name | Type | Writable | Description |
---|---|---|---|
|
| Yes | Determines whether the SPC UI exposes the ability to lock/unlock jobs in the Waiting queue. NOTE When job locking is enabled and 'external control' is granted to an OPC client, the SPC UI will allow jobs in the Waiting queue to be modified. This must be considered by the OPC client when processing Waiting queue jobs. |
|
| Yes | Determines whether thumbnails will be generated for jobs added to the Waiting queue. Disabling thumbnail generation may improve performance in situations where they are not required. |
|
| Yes | Determines whether the Waiting queue only displays jobs which target the active media (See |
|
| Yes | Determines whether the Waiting queue displays locked jobs. |