Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space PRINSAG and version 9.5
Sv translation
languageen

Use the Raise Event tool to trigger RBA rules from another computer.
The rule set that you want to trigger must exist and must contain a Remote Trigger root event.

  1. On the remote computer that will send the trigger (for example, a Prinergy secondary server), install the Raise Event software (RaiseEvent.exe) by following these steps:
    Note: If the remote computer is a Prinergy primary server, skip this step. The Raise Event software is already installed.
    1. Ensure that Microsoft .NET Framework is installed on the remote computer. If .NET Framework is not installed, download it from the Microsoft Web site and install it. Install .NET Framework version 2.0.
    2. On the network, navigate to the Prinergy primary server, open the C:\Program Files (x86)\Kodak\RBA\bin folder, and copy the RaiseEvent.exe file to the remote computer.
    3. Make a note of the path to the RaiseEvent.exe file on the remote computer.
  1. From the remote computer, send the trigger using the Raise Event tool. You can use the tool in any of the following ways:
    • Configure software (such as MIS software) to use the Raise Event tool to send a specific Windows command to the Prinergy primary server.
    • Open a command-prompt window, locate the folder containing the RaiseEvent.exe file, and type:
      raiseevent <ruleset> [<strings>] [-host <hostname>] [-port <portnumber>] [-context <context>] [-files <paths>] [-dirs <paths>] [-ip <ipaddress>] [-wait <timeout> [-waitport <waitport>]]
      Replace the variables in the command using the following guidelines:

Variable

Description

ruleset

The full path of the rule set that you want to trigger, starting with the directory where it is located and ending with the rule set's name. Separate groups with a / symbol (forward slash). The path is case-sensitive. If the path contains a space, enclose the path in quotation marks.

strings

(Optional) Up to twelve strings (alphanumerical data), numbered from 0 to 11. This is useful if you want to communicate text data to the recipient rule set.

-host <hostname>

(Optional) The name of the Prinergy primary server. Omit this parameter if you are on the primary server.

-port <portnumber>

The port on the primary server for the command to connect to RBA—for example, 61235.

-context <context>

The context or environment where the rule set is enabled. If it is enabled in a job context, enter the job name or GUID (the globally unique identifier for the job).  The System context is the default context if no context parameter is specified.

-files <paths>

(Optional) One or more file paths, separated by semicolons. This is useful if you want to communicate file paths to the recipient rule set.
Tip: To easily send all the files in a directory, type the path of a directory. The tool automatically replaces the directory name with a list of the paths of all of the files in the directory.

-dirs <paths>

(Optional) One or more directory paths, separated by semi-colons. This is useful if you want to communicate directory paths to the recipient rule set.

-ip <ipaddress>

The IP address shown to the primary server. This parameter applies only to computers with more than one network card.

-wait <timeout>

How long to wait before triggering the rule set.

      • +<timeout> waits for the <timeout> period.
      • -<timeout> waits until the triggered rule set completes.

-waitport <waitport>

The port that the Raise Event software should monitor to receive the message from the server to stop waiting. If unspecified, any available port is used.

For example, raiseevent "Remote Trigger Create Job" -host MyServer -port 61235 -context Customer123


    • Use a batch file to start the Raise Event tool. For example,

ECHO ON
REM This batch file sends a command to a specific server and the RaiseEvent tool,
REM which triggers a specific rule set and passes it up to six strings.
REM
REM Notes
REM - EXEPATH must use a drive letter, not a UNC name. The default location of
REM RaiseEvent.exe is drive C.
REM - RULEPATH is the path of the rule set groups. It is case sensitive. If spaces exist,
REM surround it in quote marks
REM - JOB is the job name (for a job rule set) or "SYSTEM" (for a system rule set).
REM
SET EXEPATH="C:\Program Files\Kodak\RBA\bin\RaiseEvent.exe"
SET RULEPATH=Test/RaiseEvent/RemoteTrigger_WriteText
SET STR1="String1"
SET STR2="String2"
SET STR3="String3"
SET STR4="String4"
SET STR5="String5"
SET STR6="String6"
SET PORT=61235
SET SERVER=Test
SET JOB=Test
SET CMD=%EXEPATH% %RULEPATH% %STR1% %STR2% %STR3% %STR4% %STR5% %STR6% -host %SERVER% -port %PORT% -context %JOB%
REM
%CMD%
Pause

Sv translation
languagede

Mit dem Werkzeug „Raise Event" können RBA-Regeln von einem anderen Computer aus ausgelöst werden.
Die auszulösende Regelsammlung muss vorhanden sein und ein Stammereignis Remote-Auslöser enthalten.

  1. Installieren Sie auf dem Remote-Computer, der den Auslöser sendet (beispielsweise auf einem Prinergy-Zusatzserver), die Raise Event-Software (RaiseEvent.exe), indem Sie die folgenden Schritte ausführen:
    Anmerkung: Wenn der Remote-Computer ein Prinergy-Hauptserver ist, überspringen Sie diesen Schritt. Die Software „Raise Event" ist bereits installiert.
    1. Überzeugen Sie sich, dass Microsoft .NET Framework auf dem Remote-Computer installiert ist. Wenn .NET Framework nicht installiert ist, laden Sie es von der Microsoft-Website herunter, und installieren Sie es. Installieren Sie .NET Framework, Version 2.0.
    2. Navigieren Sie im Netzwerk zum Prinergy-Hauptserver, öffnen Sie den Ordner C:\Program Files (x86)\Kodak\RBA\bin, und kopieren Sie die Datei RaiseEvent.exe auf den Remote-Computer.
    3. Notieren Sie sich den Pfad der Datei RaiseEvent.exe auf dem Remote-Computer.
  1. Senden Sie vom Remote-Computer den Auslöser mithilfe des Werkzeugs „Raise Event". Sie haben die folgenden Möglichkeiten, das Tool zu verwenden:
    • Konfigurieren Sie Software (beispielsweise MIS-Software) so, dass mithilfe des Werkzeugs „Raise Event" ein bestimmter Windows-Befehl an den Prinergy-Hauptserver gesendet wird.
    • Öffnen Sie eine Eingabeaufforderungsfenster, navigieren Sie zu dem Ordner mit der Datei RaiseEvent.exe, und geben Sie Folgendes ein:
      raiseevent Regelsammlung [Zeichenfolgen] [-host Hostname] [-port Portnummer] [-context Kontext] [-filesPfade] [-dirs Pfade] [-ip IP-Adresse] [-wait Timeout [-waitport Überwachungsport]]

Ersetzen Sie die Variablen im Befehl, und befolgen Sie dabei die folgenden Richtlinien:

Variable

Beschreibung

Regelsammlung

Der vollständige Pfad der auszulösenden Regelsammlung, der mit dem Verzeichnis der Regelsammlung beginnt und mit dem Namen der Regelsammlung endet. Trennen Sie Gruppen durch einen Schrägstrich (tick). Bei der Pfadangabe muss die Groß- und Kleinschreibung beachtet werden. Wenn der Pfad Leerzeichen enthält, schließen Sie den Pfad in Anführungszeichen ein.

Zeichenfolgen

(Optional) Bis zu zwölf Zeichenfolgen (alphanumerische Daten), von 0 bis 11 nummeriert. Dies ist hilfreich, wenn Sie Textdaten an die empfangende Regelsammlung senden möchten.

-host <Hostname>

(Optional) Der Name des Prinergy-Hauptservers. Lassen Sie diesen Parameter aus, wenn Sie auf dem Hauptserver arbeiten.

-port <Portnummer>

Der Port auf dem Hauptserver für den Befehl zur Verbindung mit RBA, z. B. 61235.

-context <Kontext>

Der Kontext, in dem die Regelsammlung aktiviert wird. Folgende Werte sind möglich: system, ein Job-Name oder ein Job-GUID (die global eindeutige Kennung für den Job). Der Standardwert ist system.

-files <Pfade>

(Optional) Ein oder mehrere Dateipfade, durch Semikolons getrennt. Dieser Parameter ist nützlich, wenn Sie Dateipfade an die empfangende Regelsammlung senden möchten.
Tipp: Wenn Sie alle Dateien in einem Verzeichnis auf bequeme Weise senden möchten, geben Sie den Pfad des entsprechenden Verzeichnisses ein. Der Verzeichnisname wird mit dem Werkzeug automatisch durch eine Liste der Pfade aller Dateien im Verzeichnis ersetzt.

-dirs <Pfade>

(Optional) Ein oder mehrere Verzeichnispfade, durch Semikolons getrennt. Dieser Parameter ist nützlich, wenn Sie Verzeichnispfade an die empfangende Regelsammlung senden möchten.

-ip <IP-Adresse>

Die auf dem Hauptserver angezeigte IP-Adresse. Dieser Parameter gilt nur für Computer mit mehreren Netzwerkkarten.

-wait <Timeout>

Die Wartedauer bis zum Auslösen der Regelsammlung.

      • +<Timeout> wartet die festgelegte <Timeout>-Dauer.
      • -<Timeout> wartet, bis die ausgelöste Regel abgeschlossen ist.

-waitport <Überwachungsport>

Der Port, den die Software „Raise Event" auf die Nachricht vom Server überwacht, dass das Warten beendet werden soll. Wenn kein Wert angegeben ist, wird ein beliebiger verfügbarer Port verwendet.

Beispiel: raiseevent "Remote-Auslöser Job erstellen" -host MeinServer -port 61235 -context Kunde123

    • Verwenden Sie eine Batch-Datei, um das Werkzeug „Raise Event" zu starten. Zum Beispiel

ECHO ON

REM This batch file sends a command to a specific server and the RaiseEvent tool,

REM which triggers a specific rule set and passes it up to six strings.

REM

REM Notes

REM - EXEPATH must use a drive letter, not a UNC name. The default location of

REM RaiseEvent.exe is drive C.

REM - RULEPATH is the path of the rule set groups. It is case sensitive. If spaces exist,

REM surround it in quote marks

REM - JOB is the job name (for a job rule set) or "SYSTEM" (for a system rule set).

REM

SET EXEPATH="C:\Program Files\Kodak\RBA\bin\RaiseEvent.exe"

SET RULEPATH=Test/RaiseEvent/RemoteTrigger_WriteText

SET STR1="String1"

SET STR2="String2"

SET STR3="String3"

SET STR4="String4"

SET STR5="String5"

SET STR6="String6"

SET PORT=61235

SET SERVER=Test

SET JOB=Test

SET CMD=%EXEPATH% %RULEPATH% %STR1% %STR2% %STR3% %STR4% %STR5% %STR6% -host %SERVER% -port %PORT% -context %JOB%

REM

%CMD%

Pause

Sv translation
languagezh

从另一台计算机使用"引发事件"工具触发 RBA 规则。
要触发的规则集必须存在且必须包含远程触发根事件。

  1. 在将发送触发的远程计算机(例如,印能捷二级服务器)上,按照以下步骤安装"引发事件"软件 (RaiseEvent.exe):
    注: 如果远程计算机是印能捷主服务器,则跳过该步骤。已安装"引发事件"软件。
    1. 确保 Microsoft .NET Framework 已安装在远程计算机上。如果未安装 .NET Framework,请从 Microsoft 网站下载并安装。安装 .NET Framework 版本 2.0。
    2. 在网络中,导航到印能捷主服务器,打开 C:\Program Files (x86)\Kodak\RBA\bin 文件夹,将 RaiseEvent.exe 文件复制到远程计算机。
    3. 记录远程计算机上 RaiseEvent.exe 文件的路径。
  1. 从远程计算机,使用"引发事件"工具发送触发。可以通过以下方式使用该工具:
    • 将软件(如 MIS 软件)配置为使用"引发事件"工具向印能捷主服务器发送特定的 Windows 命令。
    • 打开命令提示符窗口,找到包含 RaiseEvent.exe 文件的文件夹,然后输入:
      raiseevent 规则集 [字符串] [-host 主机名] [-port 端口号] [-context 环境] [-files路径] [-dirs 路径] [-ip IP 地址] [-wait 超时 [-waitport 等待端口]]

使用以下准则替换命令中的变量:

变量

说明

规则集

要触发的规则集的完整路径,以其所在的目录开始,以规则集的名称结束。使用/符号(前斜线)分隔组。该路径区分大小写。如果该路径包含空格,请用引号将路径括起来。

字符串

(可选)至多 12 个字符串(字母数字数据),从 0 到 11。如果想向接收方规则集传送文本数据,此参数很有用。

-host<主机名>

(可选)印能捷主服务器的名称。如果您正在主服务器上,请忽略此参数。

-port<端口号>

主服务器上供命令连接到 RBA 的端口,例如 61235

-context<环境>

启用规则集的环境。可能的设置有:系统、作业名或作业 GUID(作业的全局唯一标识符)。默认值为系统

-files <路径>

(可选)一个文件路径,或者用分号分隔的多个文件路径。如果想向接收方规则集传输文件路径,此参数很有用。
提示: 要简便地发送一个目录中的所有文件,可键入目录的路径。工具会自动将目录名替换为目录中所有文件的路径的列表。

-dirs <路径>

(可选)一个目录路径,或者用分号分隔的多个目录路径。如果想向接收方规则集传送目录路径,此参数很有用。

-ip <IP 地址>

主服务器可看到的 IP 地址。此参数只适用于带多个网卡的计算机。

-wait <超时>

在触发规则集之前等待多长时间。

      • +<超时>等待周期为<超时 >值。
      • -<超时>等待直到触发的规则集完成。

-waitport <等待端口>

"引发事件"软件应监视的端口,以从服务器接收停止等待的消息。如果未指定,则使用任意的可用端口。

例如,raiseevent "Remote Trigger Create Job" -host MyServer -port 61235 -context Customer123

    • 使用批处理文件启动"引发事件"工具。例如:

ECHO ON

REM This batch file sends a command to a specific server and the RaiseEvent tool,

REM which triggers a specific rule set and passes it up to six strings.

REM

REM Notes

REM - EXEPATH must use a drive letter, not a UNC name. The default location of

REM RaiseEvent.exe is drive C.

REM - RULEPATH is the path of the rule set groups. It is case sensitive. If spaces exist,

REM surround it in quote marks

REM - JOB is the job name (for a job rule set) or "SYSTEM" (for a system rule set).

REM

SET EXEPATH="C:\Program Files\Kodak\RBA\bin\RaiseEvent.exe"

SET RULEPATH=Test/RaiseEvent/RemoteTrigger_WriteText

SET STR1="String1"

SET STR2="String2"

SET STR3="String3"

SET STR4="String4"

SET STR5="String5"

SET STR6="String6"

SET PORT=61235

SET SERVER=Test

SET JOB=Test

SET CMD=%EXEPATH% %RULEPATH% %STR1% %STR2% %STR3% %STR4% %STR5% %STR6% -host %SERVER% -port %PORT% -context %JOB%

REM

%CMD%

Pause

Sv translation
languagees

Use la herramienta Generar evento para desencadenar reglas RBA desde otro equipo.
El conjunto de reglas que desee desencadenar debe existir y debe contener un evento raíz Desencadenador remoto.

  1. En el equipo remoto que envíe el desencadenador (por ejemplo, un servidor secundario Prinergy), instale el software Generar evento (RaiseEvent.exe) mediante estos pasos:
    Nota: Si el equipo remoto es un servidor principal de Prinergy, omita este paso. El software Generar evento ya está instalado.
    1. Asegúrese de que Microsoft .NET Framework esté instalado en el equipo remoto. Si .NET Framework no está instalado, descárguelo del sitio web de Microsoft e instálelo. Instale .NET Framework versión 2.0.
    2. En la red, diríjase al servidor principal de Prinergy, abra la carpeta C:\Program Files (x86)\Kodak\RBA\bin y copie el archivo RaiseEvent.exe en el equipo remoto.
    3. Tome nota de la ruta al archivo RaiseEvent.exe en el equipo remoto.
  1. En el equipo remoto, envíe el desencadenador mediante la herramienta Generar evento. Puede usar la herramienta de las siguientes formas:
    • Configure el software (por ejemplo, MIS) para que la herramienta Generar evento envíe un comando específico de Windows al servidor principal de Prinergy.
    • Abra una ventana de símbolo de sistema, busque la carpeta que contiene el archivo RaiseEvent.exe y escriba:
      raiseevent conjuntodereglas [cadenas] [-host nombredehost] [-port númerodepuerto] [-context contexto] [-filesrutas] [-dirs rutas] [-ip direcciónip] [-wait tiempo de espera [-waitport puerto de espera]]

Sustituya las variables del comando mediante estas directrices:

Variable

Descripción

conjuntodereglas

La ruta completa del conjunto de reglas que desea desencadenar (comienza por el directorio en el que está situado y termina por el nombre del conjunto de reglas). Separe los grupos con un símbolo / (barra diagonal). Esta ruta distingue entre mayúsculas y minúsculas. Si la ruta contiene un espacio, enciérrela entre comillas dobles.

cadenas

(Opcional) Hasta seis cadenas (datos alfanuméricos), numerados de 0 a 11. Resulta útil si desea comunicar datos de texto al conjunto de reglas del destinatario.

-host<nombrehost>

(Opcional) El nombre del servidor principal de Prinergy. Omita este parámetro si no se encuentra en el servidor principal.

-port<númeropuerto>

El puerto en el servidor principal para el comando que se conecte con RBA; por ejemplo, 61235.

-context<contexto>

El contexto en el que se activa el conjunto de reglas. Las opciones posibles son: system, un nombre de trabajo o un GUID de trabajo (el identificador global único del trabajo). El valor predeterminado es system.

-files <rutas>

(Opcional) Una o varias rutas de archivo, separados con punto y coma. Resulta útil si desea comunicar rutas de archivo al conjunto de reglas del destinatario.
Consejo: Para enviar fácilmente todos los archivos de un directorio, escriba la ruta de un directorio. La herramienta sustituye automáticamente el nombre del directorio por una lista de rutas de todos los archivos del directorio.

-dirs <rutas>

(Opcional) Una o varias rutas de directorio, separados con punto y coma. Resulta útil si desea comunicar rutas de directorio al conjunto de reglas del destinatario.

-ip <direcciónip>

La dirección IP que se muestra en el servidor principal. Este parámetro sólo se aplica a equipos con más de una tarjeta de red.

-wait <Tiempo de espera>

Indica la cantidad de tiempo que hay que esperar para desencadenar el conjunto de reglas.

      • +<tiempo> de espera espera a que transcurra el periodo indicado por <tiempo> de espera.
      • -<Tiempo> de espera espera hasta que se completa el conjunto de reglas desencadenado.

-waitport <puerto de espera>

El puerto que debe controlar el software Generar evento mediante el que se recibirá el mensaje procedente del servidor para detener la espera. Si no se especifica ninguno, se utilizará cualquier puerto que esté disponible.

Por ejemplo, raiseevent "Trabajo de creación de desencadenador remoto" -host MiServidor -port 61235 -context Cliente123

    • Utilice un archivo por lotes para iniciar la herramienta Generar evento. Por ejemplo,

ECHO ON

REM This batch file sends a command to a specific server and the RaiseEvent tool,

REM which triggers a specific rule set and passes it up to six strings.

REM

REM Notes

REM - EXEPATH must use a drive letter, not a UNC name. The default location of

REM RaiseEvent.exe is drive C.

REM - RULEPATH is the path of the rule set groups. It is case sensitive. If spaces exist,

REM surround it in quote marks

REM - JOB is the job name (for a job rule set) or "SYSTEM" (for a system rule set).

REM

SET EXEPATH="C:\Program Files\Kodak\RBA\bin\RaiseEvent.exe"

SET RULEPATH=Test/RaiseEvent/RemoteTrigger_WriteText

SET STR1="String1"

SET STR2="String2"

SET STR3="String3"

SET STR4="String4"

SET STR5="String5"

SET STR6="String6"

SET PORT=61235

SET SERVER=Test

SET JOB=Test

SET CMD=%EXEPATH% %RULEPATH% %STR1% %STR2% %STR3% %STR4% %STR5% %STR6% -host %SERVER% -port %PORT% -context %JOB%

REM

%CMD%

Pause

Sv translation
languagefr

Utilisez l'outil Raise Event pour déclencher des règles RBA à partir d'un autre ordinateur.
Le jeu de règles à démarrer doit exister et doit contenir un événement principal Démarrage à distance.

  1. Installez le logiciel Raise Event (RaiseEvent.exe) sur l'ordinateur à distance qui enverra le démarrage (par exemple, un serveur secondaire Prinergy) en suivant ces étapes :
    Remarque : Si l'ordinateur distant est un serveur principal Prinergy, passez cette étape. Le logiciel Raise Event est déjà installé.
    1. Assurez-vous que Microsoft .NET Framework est installé sur l'ordinateur à distance. Si .NET Framework n'est pas installé, téléchargez-le sur le site de Microsoft et installez-le. Installez .NET Framework 2.0.
    2. Sur le réseau, naviguez sur le serveur principal Prinergy, ouvrez le dossier C:\Program Files (x86)\Kodak\RBA\bin et copiez le fichier RaiseEvent.exe sur l'ordinateur à distance.
    3. Créez une note du chemin vers le fichier RaiseEvent.exe sur l'ordinateur à distance.
  1. A partir de l'ordinateur à distance, envoyez le démarrage en utilisant l'outil Raise Event. Vous pouvez utiliser l'outil grâce à l'une des méthodes suivantes :
    • Configurez le logiciel (tel que le logiciel SIG) afin d'utiliser l'outil Raise Event pour envoyer une commande Windows spécifique au serveur principal Prinergy.
    • Ouvrez une fenêtre d'invite de commande, localisez le dossier contenant le fichier RaiseEvent.exe et saisissez :
      raiseevent ruleset [strings] [-host hostname] [-port portnumber] [-context context] [-filespaths] [-dirs paths] [-ip ipaddress] [-wait timeout [-waitport waitport]]

Remplacez les variables de la commande de la façon suivante :

Variable

Description

ruleset

Le chemin complet du jeu de règles que vous souhaitez déclencher, commençant par le répertoire dans lequel il est situé et finissant par le nom du jeu de règles. Séparez les groupes avec un symbole / (barre oblique). Le chemin est sensible à la casse. Si le chemin contient un espace, mettez le chemin entre guillemets.

chaînes

(En option) Jusqu'à douze chaînes (données alphanumériques), numérotées de 0 à 11. Cela est utile si vous souhaitez communiquer des données de texte au jeu de règles du destinataire.

-host<hostname>

(En option) Le nom du serveur principal Prinergy. Omettez ce paramètre si vous êtes sur le serveur principal.

-port<portnumber>

Le port sur le serveur principal pour la commande de connexion à RBA : par exemple, 61235.

-context<context>

Le contexte dans lequel le jeu de règles est activé. Les réglages possibles sont : système, le nom d'un travail ou le GUID (Globally Unique IDentifier) d'un travail. La valeur par défaut est système.

-files <paths>

(En option) Un ou des chemins de fichiers, séparés par des points-virgules. Cela est utile si vous souhaitez communiquer des chemins de fichiers au jeu de règles destinataire.
Conseil : pour envoyer facilement tous les fichiers d'un répertoire, entrez le chemin du répertoire. L'outil remplace automatiquement le nom du répertoire par une liste des chemins de tous les fichiers du répertoire.

-dirs <paths>

(En option) Un ou des chemins de répertoires, séparés par des points-virgules. Cela est utile si vous souhaitez communiquer des chemins de répertoires au jeu de règles destinataire.

-ip <ipaddress>

L'adresse IP vue par le serveur primaire. Ce paramètre ne s'applique qu'aux ordinateurs disposant de plus d'une carte réseau.

-wait <timeout>

Temps d'attente avant le déclenchement du jeu de règles.

      • +<timeout> attend le délai <timeout>
      • -<timeout> attend jusqu'à ce que le jeu de règles déclenché se termine.

-waitport <waitport>

Le port que le logiciel Raise Event doit surveiller pour recevoir le message provenant du serveur pour arrêter l'attente. Si non spécifié, n'importe quel port disponible est utilisé.

Par exemple, raiseevent "Créer un travail sur démarrage à distance" -host MonServeur -port 61235 -context Client123

    • Utilisez un fichier batch pour démarrer l'outil Raise Event. Par exemple :

ECHO ON

REM This batch file sends a command to a specific server and the RaiseEvent tool,

REM which triggers a specific rule set and passes it up to six strings.

REM

REM Notes

REM - EXEPATH must use a drive letter, not a UNC name. The default location of

REM RaiseEvent.exe is drive C.

REM - RULEPATH is the path of the rule set groups. It is case sensitive. If spaces exist,

REM surround it in quote marks

REM - JOB is the job name (for a job rule set) or "SYSTEM" (for a system rule set).

REM

SET EXEPATH="C:\Program Files\Kodak\RBA\bin\RaiseEvent.exe"

SET RULEPATH=Test/RaiseEvent/RemoteTrigger_WriteText

SET STR1="String1"

SET STR2="String2"

SET STR3="String3"

SET STR4="String4"

SET STR5="String5"

SET STR6="String6"

SET PORT=61235

SET SERVER=Test

SET JOB=Test

SET CMD=%EXEPATH% %RULEPATH% %STR1% %STR2% %STR3% %STR4% %STR5% %STR6% -host %SERVER% -port %PORT% -context %JOB%

REM

%CMD%

Pause

Sv translation
languageja

Raise Event ツールを使用して、別のコンピュータの RBA ルールを起動します。
開始するルール セットはリモート トリガルート イベント内に存在する必要があります。

  1. トリガを送信するリモート コンピュータ(Prinergy セカンダリ サーバーなど)で、次の手順に従って Raise Event ソフトウェア(RaiseEvent.exe)をインストールします。
    注: リモート コンピュータが Prinergy プライマリ サーバーの場合は、この手順を省略してください。Raise Event ソフトウェアは既にインストール済みです。
    1. リモート コンピュータに Microsoft .NET Framework がインストール済みであることを確認します。.NET Framework がインストールされていない場合は、マイクロソフトの Web サイトからダウンロードしてインストールします。.NET Framework バージョン 2.0 をインストールします。
    2. ネットワーク上で Prinergy プライマリ サーバーに移動して、C:\Program Files (x86)\Kodak\RBA\bin フォルダを開き、RaiseEvent.exe ファイルをリモート コンピュータにコピーします。
    3. リモート コンピュータの RaiseEvent.exe ファイルへのパスを書き留めます。
  1. リモート コンピュータで、Raise Event ツールを使用してトリガを送信します。ツールは以下のいずれかの方法で使用できます。
    • (MIS ソフトウェアなどの)ソフトウェアを、Raise Event ツールを使用して特定の Windows コマンドを Prinergy プライマリ サーバーに送信するように設定します。
    • コマンド プロンプト ウィンドウを開き、RaiseEvent.exe ファイルが含まれているフォルダに移動して、次のように入力します:
      raiseevent ruleset [strings] [-host hostname] [-port portnumber] [-context context] [-filespaths] [-dirs paths] [-ip ipaddress] [-wait timeout [-waitport waitport]]

コマンド内の変数を置き換えるには、次のガイドラインを使用します。

変数

説明

ruleset

起動するルール セットの完全パスです。そのルール セットが格納されているディレクトリで始まり、ルール セットの名前で終わります。グループは「/」記号(スラッシュ)で区切ります。このパスでは、大文字と小文字が区別されます。パスにスペースが含まれる場合は、パスを引用符で囲みます。

strings

(任意設定)0 ~ 11 までの番号が付けられた 12 までの文字列(英数字データ)。受信側ルール セットにテキスト データを伝達する必要がある場合に便利です。

-host <hostname>

(任意設定)Prinergy プライマリ サーバーの名前。プライマリ サーバーで作業している場合は、このパラメータは設定しません。

-port <portnumber>

コマンドで RBA に接続するためのプライマリ サーバーのポートです。たとえば、61235と指定します。

-context <context>

ルール セットが有効化されるコンテキストです。設定できるのは、システム、ジョブ名、またはジョブの GUID(ジョブのグローバルな一意識別子)です。デフォルト値はシステムです。

-files <paths>

(任意設定)ファイル パスです。複数入力する場合は、セミコロンで区切ります。ファイル パスを受信側のルール セットに伝達する場合に役立ちます。
ヒント: ディレクトリ内のすべてのファイルを簡単に送信するには、ディレクトリのパスを入力します。このツールでは、ディレクトリ名が、ディレクトリ内のすべてのファイルのパスのリストに自動的に置き換えられます。

-dirs <paths>

(任意設定)ディレクトリ パスです。複数入力する場合は、セミコロンで区切ります。ディレクトリ パスを受信側のルール セットに伝達する場合に役立ちます。

-ip <ipaddress>

プライマリ サーバーに示される IP アドレスです。このパラメータは、複数のネットワーク カードを持つコンピュータのみに適用されます。

-wait <timeout>

ルール セットが起動されるまで待機する時間です。

      • +<timeout> は、<timeout> の時間を待機することを示します。
      • -<timeout> は、起動されたルール セットが完了するまで待機することを示します。

-waitport <waitport>

Raise Event ソフトウェアが、サーバーから待機を停止する旨のメッセージが送信されてくるかを監視するポートです。指定されない場合は、使用可能な任意のポートが使用されます。

たとえば、raiseevent "リモート トリガの作成ジョブ" -host MyServer -port 61235 -context Customer123となります。

    • バッチ ファイルを使用して Raise Event ツールを起動します。例を次に示します。

ECHO ON

REM This batch file sends a command to a specific server and the RaiseEvent tool,

REM which triggers a specific rule set and passes it up to six strings.

REM

REM Notes

REM - EXEPATH must use a drive letter, not a UNC name. The default location of

REM RaiseEvent.exe is drive C.

REM - RULEPATH is the path of the rule set groups. It is case sensitive. If spaces exist,

REM surround it in quote marks

REM - JOB is the job name (for a job rule set) or "SYSTEM" (for a system rule set).

REM

SET EXEPATH="C:\Program Files\Kodak\RBA\bin\RaiseEvent.exe"

SET RULEPATH=Test/RaiseEvent/RemoteTrigger_WriteText

SET STR1="String1"

SET STR2="String2"

SET STR3="String3"

SET STR4="String4"

SET STR5="String5"

SET STR6="String6"

SET PORT=61235

SET SERVER=Test

SET JOB=Test

SET CMD=%EXEPATH% %RULEPATH% %STR1% %STR2% %STR3% %STR4% %STR5% %STR6% -host %SERVER% -port %PORT% -context %JOB%

REM

%CMD%

Pause