ImageServer UB+ Benutzerhandbuch


9 Präferenzen und Benachrichtigungsmechanismen

9.1 ImageServer Präferenzen

Hinweis: Dieses Kapitel wurde nicht übersetzt, um die Eindeutigkeit der Beschreibung zu bewahren.

This chapter lists all the preferences that are pertinent to ImageServer. Find a description of how to set, view, change or delete preferences, with the HELIOS utility programs "prefdump", "prefvalue", and "prefrestore", in the Base manual.

Important: Make sure that preference keys DO NOT start or end with a slash ("/") character, and note that they are case-sensitive! Also, if any preference key or preference value includes spaces, that key or value must be enclosed in quotes.
Preference
Type Default (""=empty string)

9.1.1 OPI-Server Präferenzen

Key: Programs/opisrv/<preference>
HoldTime
int 30

(HELIOS Admin option Layout Delay)

This preference determines the time delay in seconds after which the layout file is generated from the original image file.

MaxProc
int <Max. number of processors>

This preference controls the maximum number of "opisrv" processes that may run simultaneously. Default is the number of physically available processors.

NiceIncr
int 10

The priority of the "opisrv" processes - compared to other executable programs on the HELIOS server - can be changed. This preference lets you increase/reduce the priority, and therefore the speed of a program. The higher the priority of a program, the less "nice" its behavior towards other applications. The values for NiceIncr are as follows:

NiceIncr > 0 slower / "nice" towards other
applications

NiceIncr < 0 faster / less "nice" towards other
applications

Facility
str "daemon" or "user"

Specifies the facility which is used for system log messages. The string names the log facility. The default value depends on the program and is daemon for the "opisrv" program and user for the "layout" program. Valid names are listed below (please note that some names are not supported on every architecture):

"audit", "sat", "auth", "security", "cron", "daemon", "kern", "lpr", "mail", "news", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", and "local7".

RegisterTypes
strlist ""

Allows definition of additional file types (Mac), which are registered for file events.

RegisterSuffixes
strlist ""

Allows definition of additional file suffixes (Windows PC), which are registered for file events.

RemoteAccess
bool FALSE

If set to TRUE, access to the ImageServer Event port (2002) is enabled to remote users (subject to the restrictions in the ipaccess list). The default is that access to the ImageServer Event port is only enabled for users on the same host.

PreserveResources
strlist "IPTC,PATH,XMP"

Determines additional resources, which will be read and preserved by "OpenImage" plug-ins. If the string contains PATH, IPTC or XMP, the named additional resource will be read. If no resources should be preserved, specify none.

RenderColor
str "CMYK"

Sets the color space for rendered image objects. It is important that for PDF files this option is set to CMYK, to show proper overprints.

9.1.2 Globale OPI Präferenzen

Key: Global/Opi/<preference>
Fast
bool FALSE

(HELIOS Admin pull-down menu Layout Quality)

This preference determines the quality of the generated layout image. If set to TRUE, layouts will be generated faster, will only reach standard quality and are not color matched.

PrintColor
str "CMYK"

(HELIOS Admin pull-down menu Layout Color)

The print color space for all layout files that are generated on the server can be specified by use of this preference. At the same time, it defines an ICC profile which is used for color matching the layouts. This profile is taken from the ProfilePaths setting.

ScreenResolution
double 72.000000

(HELIOS Admin pull-down option Default Monitor Resolution)

Defines the default monitor resolution for layout files. Usually monitor resolutions have a range between 72 and 200 dpi.

PrintResolution
double 72.000000

(HELIOS Admin pull-down option Default Print Resolution)

Defines the default resolution for printouts of layout files.

ProfileRepository
str "ICC-Profiles"

This preference specifies the volume name containing the ICC profiles.

ImageSearchPaths
strlist ""

Specifies a list of path names to search for high-resolution images during image replacement, in case they cannot be found in the standard locations. The setting reflects the entries in the HELIOS Admin (ImageServer Settings > Image Search Paths-)

ProfilePaths
strlist "RGB=sRGB_IEC61966-2-1_noBPC.icc",
"CMYK=Euro 2.6 UCR-370"

Defines RGB and CMYK profiles used if the color space for the destination layout file and the color space of the highresolution file are different. These profiles are used to match between color spaces properly. Each string has the format <color space>=<path name>.

IgnoreSpots
bool FALSE

(HELIOS Admin option Ignore Additional Channels for Bitmap Images)

This preference default causes that additional channels (e.g. spot colors) are used when creating a layout image. See 3.3.5 "Zusätzliche Kanäle in Rasterbildern" and 5.3 "Festlegen von ordnerspezifischen OPI-Einstellungen" for a description.

EpsPreviewPSLevel
int 1

Determines the preview PostScript level for EPSF files. By default, this is PostScript level 1, optionally PostScript level 2 can be specified.

EventPort
int 2002

Controls the TCP/IP port number where to listen for OPI event registration requests. If this preference is not set, "opisrv" uses the port number given by the TCP service "OPIEvent". If this service is not defined it uses the default port number 2002.

AutomaticLayout
bool TRUE

If set to TRUE, this preference causes that a layout image is created from a PDF file. The setting of this attribute reflects that of the PDF OPI Layout Generation checkbox in the HELIOS Admin Settings > PDF HandShake Settings menu.

For this preference, the key must be extended to:
Global/Opi/Formats/PDF ///AutomaticLayout

SpotToEps
bool TRUE

Causes the creation of EPSF layout images if a high-resolution raster image contains extra colors like spot colors.

MaskToEps
bool TRUE

Causes the creation of EPSF layout images if a high-resolution raster image contains a clipping path.

AntiAlias
bool TRUE

If set to TRUE, the screen preview in layout files, generated from PDF documents, offers an enhanced readability. This is recommended for monitor screen resolutions up to 96 dpi. The setting of this attribute reflects that of the Antialias Screen Preview checkbox in the HELIOS Admin Settings > PDF HandShake Settings menu.

For this preference, the key is:
Library/OpenImage/ManagerPrivate/HeliosPDF/<preference>

UseEuroCMYK
bool TRUE

(HELIOS Admin pull-down menu CMYK Default Profile)

This preference defines the type of CMYK color space, if an image which is transformed into CMYK or vice versa and if - in a situation like that - a CMYK output (printer) or input (image) profile has not been explicitly defined.

For this preference, the key is:
Library/OpenImage/ManagerPrivate/HeliosICC/<preference>

UseProfile
bool TRUE

Process color matching for layout files, if the high-resolution files have tagged ICC profiles.

IncludeProfile
bool FALSE

If set to TRUE, a generated layout will contain an embedded profile, even if the original image only has a referenced profile. This preference is only applicable if the UseProfile option is also set. It is useful, if the layout will be used either on a different computer or in an environment where the specified profile is not available.

OmitProfile
bool FALSE

If set to TRUE, a generated layout/original will omit any specified profile. This preference is useful if the generated layout/original has a smaller size than the specified profile.

CompressPrint (TIFF)
str ""

(HELIOS Admin option TIFF Compress)

If the value "Compress" is specified for this preference, TIFF layout images are compressed.

For this preference, the key must be extended to:
Global/Opi/ImageCompress/TIFF///<preference>

CompressPrint (EPSF)
str ""

(HELIOS Admin option EPSF JPEG Printable Preview)

If the value "JPEG" is specified for this preference, EPSF layout images are compressed.

For this preference, the key must be extended to:
Global/Opi/ImageCompress/EPSF///<preference>

ScreenColor
str ""

(HELIOS Admin option EPSF 8 bit Screen Preview)

If this preference is set, EPSF layout images for monitor use contain indexed colors (max. 256 colors).

For this preference, the key must be extended to:
Global/Opi/ImageColor/EPSF//<preference>

PDFNativeWorkflow
bool FALSE

This preference enforces the generation of PDF-native workflow compatible layout images from vector-based EPS images, even if TIFF layout images are supposed to be generated, e.g. via a "%t" folder syntax.

9.1.3 OPI-Volume Präferenzen

Key: Volumes/<volume name>/<preference>
AutomaticLayout
bool TRUE

(HELIOS Admin option Create Layouts)

Activates the automatic generation of layout files.

CrossPlatform-Layout
bool FALSE

(HELIOS Admin option PC Layouts)

Causes that "opisrv" generates PC-compatible layouts.

SpotToEps
bool TRUE

Causes the creation of EPSF layout images if a high-resolution raster image contains extra colors like spot colors.

MaskToEps
bool TRUE

Causes the creation of EPSF layout images if a high-resolution raster image contains a clipping path.

9.1.4 Globale Drucker Präferenzen

Key: Global/Printers/<preference>
IgnoreMasks
bool FALSE

(HELIOS Admin option Ignore Mask for Bitmap Images During Output)

If set to TRUE, this preference causes that an existing clipping path is ignored when printing an image. See 3.3.3 "Bild- und Beschneidungspfade" and 5.3 "Festlegen von ordnerspezifischen OPI-Einstellungen" for a description.

9.1.5 OPI-Drucker Präferenzen

Key: Printers/<printer queue>/<preference>
OpiEnabled
bool FALSE

(HELIOS Admin option OPI Active)

If this preference is set to TRUE it activates OPI for the specified printer queue.

CustomColorTinting
bool TRUE

This preference applies to composite printing only:
Spot colors are output in Level 2 Separation color space. This becomes necessary when printing to a Create PDF printer queue or to in-RIP separation devices, in order to preserve the spot colors. If set to FALSE, all spot colors that are incorporated in the image are converted to the process colors of the output color space, e.g. CMYK.

PrintDraft
bool FALSE

(HELIOS Admin option Print Layout Images)

If set to TRUE, the printouts from the specific printer queue will only contain layout images. The copies of the images - which you have used for layouting your document - will be sent to the OPI server and then be replaced by the layout files instead of the high-resolution originals.

CheckImages
bool TRUE

(HELIOS Admin option Check Images)

With this preference set to TRUE, the OPI server will try to find all images that are included in a print job. If any images are missing, the job will be stopped, and issue an error message for every missing file. If CheckImages is set to FALSE, single images may be missing on the printouts.

CheckICCProfiles
bool TRUE

(HELIOS Admin option Check ICC Profiles for Pictures)

This preference will induce the OPI server to check whether all image profiles that have been tagged to any of the image files are available. The server will automatically stop the print job if a single profile is missing and issue a corresponding error message. If you set CheckICCProfiles to FALSE, OPI will execute all print jobs and use standard profiles for color matching whenever the correct profile is missing.

PreserveDeviceN
bool FALSE

(HELIOS Admin option PostScript3/DeviceN Output)

This preference should only be set to TRUE if you print to a PostScript 3 device with in-RIP separation. The PostScript output of PDF original files will be optimized to use the PostScript 3/DeviceN features. This applies for Hexachrome® printing, colorized images (Duotone), etc.
When printing host-based separations with applications like QuarkXPress, this feature must be turned off, otherwise the output will lead to unexpected results.

CheckFonts
bool TRUE

(HELIOS Admin option Check Fonts)

This preference will induce the OPI server to issue an error message if the current print job contains any fonts that are not available.

ResolveAll
bool FALSE

(HELIOS Admin option Replace Images)

If set to FALSE, the OPI server will only replace layout images during printing. High-resolution originals you may have placed in your document, will not be replaced. In case you want the OPI server to replace all images during printing (e.g. if you want to use the Omit- options in the print dialog) you should set this preference to TRUE.

DownSampling
bool FALSE

(HELIOS Admin pull-down menu Downsampling)

Defines a uniform output resolution for all raster-based images - no matter whether you print layout images or high-resolution originals. The resolution for downsampling may be specified with the Resolution preference (see below).

Resolution
double 0.0

(HELIOS Admin pull-down menu Downsampling)

With DownSampling (see above) set to TRUE, the resolution of an image can be specified with this preference. If the resolution of a given image (e.g. 300 dpi) is higher than the value specified for this preference (e.g. 222,30 dpi), the OPI server will apply the value you have chosen for downsampling and then re-calculate and scale the image accordingly. Images with a resolution smaller than the value entered in this dialog, will remain unchanged because increasing the resolution automatically decreases the dimensions of an image. This would entail upward scaling and lead to a loss in quality. Zero induces the software to use the default resolution of the printing device as specified in the queue's PPD file.

FixedSampling
bool FALSE

This preference allows fixing the downsampling resolution (see Resolution preference above) to the given value. Usually, if this preference is set to FALSE, the output resolution is adjusted to the image resolution if the image resolution is smaller. When setting this preference to TRUE the printer interfaces will use the given Resolution as is for downsampling. This may cause upsampling of images with resolutions smaller than the given one. This preference is only meaningful when setting the DownSampling preference to TRUE.

CompressPostScript
str ""

(HELIOS Admin "PostScript Output Compression")

This option specifies the compression mode for images while being printed. Two preferences are needed to set this preference: color space and compression mode.

Modes are:
None, CCITTG4, JPEG, Flate, and Compress

Color spaces are:
RGB, CMYK, CIELab, Grayscale and Bilevel

For this preference, the key must be extended to:
Printers/<printer queue>/PostScriptImage/<colorspace>/CompressPostScript

PrintCompressQuality
int 0

(HELIOS Admin "PostScript Output Compression")

With the CompressPostScript preference selected, this preference controls the output quality of JPEG-compressed PostScript images. Valid values are 1-100.

Color spaces are:
RGB, CMYK, CIELab, and Grayscale

For this preference, the key must be extended to:
Printers/<printer queue>/PostScriptImage/<colorspace>/PrintCompressQuality

KeepInfo
bool TRUE

Specifies whether in case of resolving an already resolved PostScript job, the use of fonts and other resources should still be accounted.

ImageIDSearch
bool TRUE

This preference - if it is set to TRUE - enables the use of the HELIOS desktop database to locate moved image files.

ImageSearchVolumes
strlist ""

Specifies a list of volume names where to search high-resolution images during image replacement, in case they cannot be found in the standard locations.

Note: When remote OPI is used, the remote client must not use "layouts" as directory name for low-res images, in case the "ImageSearchVolumes" feature is used.
DefaultPrinterProfile
str ""

(HELIOS Admin pull-down menu Default Printer Profile)

This preference specifies the path name of the default ICC profile describing the printing device. Can be overridden using the HELIOS ColorSync 2 XT.

DefaultProofProfile
str ""

(HELIOS Admin pull-down menu Default Proof Profile)

This preference specifies the path name of the default ICC profile describing the proof device. The string will only be recognized if a default printer profile is set. Can be overridden using the HELIOS ColorSync 2 XT.

ProcessColorspace
str "CMYK"

This preference sets the color space used while printing separations. The default is CMYK for a four color print process. Spot colors are not affected by this preference. Valid color spaces are "CMYK" and "Multi". If you set the string to "Multi" you have to define the names and order of the color components. Furthermore, the usage of the "Multi" color space requires the use of ICC profiles. For (future) ICC profiles that include the names of the color components this preference will become obsolete. Note that the value you choose for this preference can be overridden by the printer profile you have selected using HELIOS ColorSync 2 XT or using DefaultPrinterProfile.

ProcessInks
strlist "Cyan","Magenta","Yellow",
"Black"

This preference controls, in conjunction with the ProcessColorspace preference, the names of the process inks used for separations. Spot colors are not affected.

CompositeColorspace
str "CMYK"

This preference sets the color space used while printing composite. The default is CMYK. Setting this preference to None causes all color images in a print job to be kept and printed in their original color space. This applies to CMYK,
RGB and CIELab images only. Valid strings are "CMYK", "RGB", and "CIELab". Please note that the value you choose for this preference can be overridden by the printer profile you have selected using HELIOS ColorSync 2 XT or using the DefaultPrinterProfile preference.

Note: In a "Create PDF" queue, the default behavior is "None".
TemporaryTagging
bool TRUE

This preference enables the use of the ICC info files while printing images. If it is set to TRUE, every non-tagged image will be temporarily tagged during printing provided that the ICC info file specifies tagging for that kind of image.

IgnoreMissingLowRes
bool TRUE

Use this preference to specify whether non-existing layout images should be ignored when printing layout quality.

IgnoreUntagged
bool TRUE

This preference controls whether untagged images should be ignored when printing to an ICC color matched queue. If set to TRUE, the images are printed with the default profile. If set to FALSE, the print job is passed to the error queue.

PrintSpotToProcess
bool FALSE

If this preference is set to TRUE, all spot colors in the print job will be printed with the appropriate process color values.

9.1.6 Script Server Präferenzen

Key: Programs/scriptsrv/<preference>
scriptdebug
int 0

The value is exported as SCRIPTDEBUG environment of the script.

HoldTime
int 10

Specifies the time interval after the file event is received before the script is executed.

MaxProc
int <Max. number of processors>

This preference controls the maximum number of "scriptsrv" processes that may run simultaneously. Default is the number of physically available processors.

Note: It is recommended that the value for MaxProc be less or equal to the number of physical CPUs.
RemoteAccess
bool FALSE

If set to TRUE, access to the Script Server service port (2024) is enabled to remote users (subject to the restrictions in the ipaccess list). The default is that access to the Script Server service port is only enabled for users on the same host.

ipaccess
str ""

Specifies the file name of the IP access list that controls client access to the Script Server.

TelnetPort
int 2024

Specifies the Script Server service port.

RunTime
int 120

This preference determines how long a script may run. Specifying - 0 disables the running time (i.e. "run forever"). The setting reflects that of the Script Timeout field in the HELIOS Admin Script Server Settings window. Compare Timeout in 9.1.7 "Script queue Präferenzen".

TermTime
int 30

This preference determines (in seconds) how long "scriptsrv" should wait before the process is killed. This happens only if RunTime (see above) has timed out.

9.1.7 Script queue Präferenzen

Key: Programs/scriptsrv/Config/<queue>
/<preference>
Path
str ""

Specifies the path to the Script Server hot folder. The setting reflects that of the Hot Folder field in the General tab of the HELIOS Admin Script configuration window.

Script
str ""

Specifies the desired script for the script queue. The setting reflects that of the Script field in the General tab of the HELIOS Admin Script configuration window.

User
str <see text>

Specifies the user whose permissions are used to execute the script. The setting reflects that of the User field in the General tab of the HELIOS Admin Script configuration window. If this preference is not specified, the script is executed as superuser.

Enabled
bool FALSE

Determines whether the script queue is active at all. The setting reflects that of the Enable checkbox in the General tab of the HELIOS Admin Script configuration window.

Timeout
int <see text>

This preference determines how long the script may run. Specifying - 0 disables the running time (i.e. "run forever"). The setting reflects that of the Timeout field in the General tab of the HELIOS Admin Script configuration window. If this preference is not specified, Script Server uses the global value RunTime (see above).

Recursive
bool FALSE

Determines that all subdirectories underneath the specified directory for the hot folder (see Path) are considered. The setting reflects that of the Include Subdirectories checkbox in the General tab of the HELIOS Admin Script configuration window.

Directory
bool FALSE

Determines that directory events rather than file events are notified to the Script Server. The setting reflects that of the Folder Changes checkbox in the File Types tab of the HELIOS Admin Script configuration window.

scriptdebug
int <see text>

Specifies whether verbose output is written. The value is exported as SCRIPTDEBUG environment. The setting reflects that of the Debugging checkbox in the General tab of the HELIOS Admin Script configuration window. If this preference is not specified, Script Server uses the global value scriptdebug.

Ftypes
strlist ""

Allows specifying file types for which script execution should be triggered. If no type is specified, the script is executed for any file event. The setting reflects that of the entries in the Types list in the File Types tab of the HELIOS Admin Script configuration window.

Suffixes
strlist ""

Allows specifying file suffixes for which script execution should be triggered. If no suffix is specified, the script is executed for any file event. The setting reflects that of the entries in the Suffixes list in the File Types tab of the HELIOS Admin Script configuration window.

Environment
strlist ""

Allows specifying additional environment variables, which are considered while the script runs. The setting reflects that of the entries in the Environment list in the Environment tab of the HELIOS Admin Script configuration window.

9.1.8 Schmuckfarbeneditor Präferenzen

Key: Library/OpenImage/CustomColors/<Color_Name>
Color_Name
str ""

(HELIOS Admin Spot Colors)

Defines a preview color for a given spot color name either in the Lab or in the CMYK color space. If the color is defined in Lab (1), the string is preceded by an "L". If the value is entered in CMYK (2), the string has a leading "C".

For C, M, Y, K and L, color values of 0% are represented as 0.0, while vallues of 100% are represented as 1.0.
For a and b, values between -128 and 128 are represented in a range between 0.0 to 1.0, with 0 being 0.5.

Examples:

(1) L0.450000000 0.757812480 0.527343744
(2) C0.0214 0.8991 0.1767 0.0091

9.2 Benachrichtigungsoptionen

ImageServer kann Dateiänderungs-Ereignisse ("file change events") über den TCP/IP-Port "2002" an die Benutzerprogramme weitergeben.

Hinweis: Diese Ereignisse werden von Drittanbieter-Programmen wie z. B. Cumulus (Canto), MediaBeacon (Brightech), oder OPAS-G (OKS) verwendet.

Der Ausgabe steht eine Zahl voran (meist 4), gefolgt von der Art des Ereignisses ("event type") und dem Dateipfad.

Geben Sie auf der Kommandozeile den Befehl socket localhost 2002 ein. Mit help erhalten Sie eine Übersicht der Kommandos und zum Beenden geben Sie quit ein.

Hinweis: Der ImageServer Ereignis-Port kann standardmäßig nur von localhost aus erreicht werden. Lesen Sie dazu RemoteAccess in Kapitel 9.1.1 "OPI-Server Präferenzen".
ushowq/showq

Zeigt die "opisrv" Ereignis-Warteschlange als Liste von Dateien, von denen Layoutbilder erzeugt werden. ushowq beinhaltet zusätzlich die ID des Benutzers, der den Auftrag gestartet hat.

showvols

Zeigt eine Liste von Volumes, die von EtherShare und PCShare exportiert worden sind und kann zur Verknüpfung eines Pfadnamens mit dem entsprechenden Volume benutzt werden.

touchfile

Gibt ein Änderungs-Ereignis für eine bestimmte Datei aus, z. B. um eine Layoutdatei zu erzeugen.

touchdir

Gibt ein Änderungs-Ereignis für ein Verzeichnis aus, z. B. um Layoutbilder von allen sich in diesem Verzeichnis befindenden Dateien zu erzeugen.

touchtree

Benutzung wie touchdir, jedoch rekursiv.

Hinweis: Die nächsten drei Ereignis-Optionen können optional mit einem Dateityp für das aktuelle Ereignis angegeben werden.
sendclose

Benachrichtigt "opisrv", wenn eine Datei geschlossen wird:
sendclose "file name" [file type]

sendrename

Benachrichtigt "opisrv", wenn eine Datei umbenannt wird:
sendrename "file name old" "file name new" [file type]

senddelete

Benachrichtigt "opisrv", wenn eine Datei gelöscht wird:
senddelete "file name" [file type]

sendlayout

Benachrichtigt registerlayout-Clients, wenn ein Layoutbild erzeugt wird. Dies machen normalerweise "layout" und "opisrv":
sendlayout "file name"

sendrenamedir

Benachrichtigt "opisrv", wenn ein Verzeichnis umbenannt wird:
sendrenamedir "directory name old" "directory name new"

sendcreatedir

Benachrichtigt "opisrv", wenn ein Verzeichnis angelegt wird:
sendcreatedir "directory name"

senddeletedir

Benachrichtigt "opisrv", wenn ein Verzeichnis gelöscht wird:
senddeletedir "directory name"

registerlayout

Registrierung für Layoutgenerierung. Jedesmal wenn eine Layoutdatei erzeugt wird, wird der Pfadname der neuen Datei gemeldet.

registerfiles

Registrierung für Änderungsereignisse an Dateien. Somit können alle Ereignisse, die sowohl im Zusammenhang mit neu angelegten Dateien, als auch mit Dateien, die von Mac- oder Windows-Clients gelöscht wurden, erfasst werden. Optional kann de Anzahl der Ereignisse durch die Angabe eines Verzeichnispfads eingeschränkt werden. Der angegebene Pfadname muss absolut sein.
registerfiles [directory path]

This option should be used carefully because it can cause hundreds of events per second and hence may dramatically slow down the server performance.

registerdirs

Registrierung für Änderungsereignisse an Verzeichnissen. Somit können alle Ereignisse, die sowohl im Zusammenhang mit neu angelegten Verzeichnissen, als auch mit Verzeichnissen, die von Mac- oder Windows-Clients gelöscht wurden, erfasst werden. Optional kann de Anzahl der Ereignisse durch die Angabe eines Verzeichnispfads eingeschränkt werden. Der angegebene Pfadname muss absolut sein.
registerdirs [directory path]

registertype

Registrierung für Änderungsereignisse an einem bestimmten Mac-Dateityp. "opisrv" meldet alle Änderungen, die von einem HELIOS File Server an einem bestimmten Dateityp gemacht wurden. Beispielsweise meldet registertype "EPSF" in einer Liste alle Änderungen an Dateien des Typs EPSF. Optional kann de Anzahl der Ereignisse durch die Angabe eines Verzeichnispfads eingeschränkt werden. Der angegebene Pfadname muss absolut sein.

Unter protocol 0, registertype "\0\0\0\0" stellt einen Platzhalter dar, um alle von Clients verursachten Dateiänderungen zu melden. Sie sollten die Benutzung dieser Option sorgfältig durchdenken, da sie hunderte von Ereignissen pro Sekunde verursachen kann und dadurch die Serverleistung drastisch verlangsamen kann.

registersuffix

Registrierung für Änderungsereignisse an einem bestimmten Windows-Dateisuffix. "opisrv" meldet alle Änderungen, die von einem HELIOS File Server an einem bestimmten Dateisuffix gemacht wurden. Beispielsweise meldet registersuffix ".eps" in einer Liste alle Änderungen an Dateien der Namenserweiterung .eps. Optional kann de Anzahl der Ereignisse durch die Angabe eines Verzeichnispfads eingeschränkt werden. Der angegebene Pfadname muss absolut sein. Siehe Platzhalter in protocol 1.

Unter protocol 0 stellt registersuffix "\0" einen Platzhalter dar, um alle von Clients verursachten Dateiänderungen zu melden. Sie sollten die Benutzung dieser Option sorgfältig durchdenken, da sie hunderte von Ereignissen pro Sekunde verursachen kann und dadurch die Serverleistung drastisch verlangsamen kann. Siehe Platzhalter in protocol 1.

switchprotocol0

Wechsel in das alte Ausgabeformat (bis ImageServer 2.5; protocol 0). Die Vorgabe ist protocol 0.

switchprotocol1

Wechsel in das neue, erweiterte Ausgabeformat. Die Vorgabe ist protocol 0.

9.2.1 Benachrichtigungsoptionen (neues Protokoll)

Zusätzlich zu der Art des Ereignisses und dem Pfadnamen der Datei zeigt das neue Protokoll (protocol 1) die ID des Benutzers, der die Änderung an der Datei vorgenommen hat. Bei "close"-Ereignissen kann die Zeichenkette Flags enthalten, die anzeigen, welcher Bereich der Datei verändert wurde:

r=Ressource der Datei

Beispiel:

4 - close "/opitest/InDesign/Project1" 105 r

s=Windows "File Streams"

Beispiel:

4 - close "/opitest/InDesign/Project1" 105 s "Comments"
Platzhalter in protocol 1

Die Befehle für die Ereignisse registertype und registersuffix können auch im neuen Ausgabeformat angegeben werden (siehe switchprotocol1). Wenn Sie Platzhalter für die Registrierung von Dateitypen und -erweiterungen im protocol 1 setzen möchten, verwenden Sie stattdessen die Option registerfiles. Der im alten Protokoll verwendete Platzhalter registersuffix "\0" ist in protocol 1 ist nicht zulässig, während registertype "\0\0\0\0" als ein Dateityp interpretiert wird (z. B. als Dateityp für Bildformate von Digitalkameras).

Beispiel:

ankh:~ $ socket localhost 2002
0 - Welcome to the HELIOS ImageServer event listener

Für diese Sitzung wird auf das neue protocol 1 gewechselt:

switchprotocol1
0 - OK

Dann wird ein Platzhalter gesetzt, der die Benachrichtigungen auf Dateien unter dem angegebenen Pfad beschränkt:

registerfiles "/opitest/InDesign"
0 - OK

Beim Duplizieren der Datei "Project1" wird das folgende Ereignis ausgegeben (Beachten Sie, dass die Benutzer-ID "105" bei der Benutzung von protocol 1 angezeigt wird):

4 - close "/opitest/InDesign/.DS_Store" 105
4 - delete "/opitest/InDesign/Project1 copy" 105
4 - close "/opitest/InDesign/Project1 copy" 105

© 2008 HELIOS Software GmbH