Detection rules for generating new jobs from the file names of the PDF documents
If "Create new job and process document there" is enabled, you have the option of generating the names of the PDF files filed in the hotfolder in such a way that one or more parameters of the new jobs will be taken from the file names. You can specify the following parameters in the PDF file name:
•the job number
•the job name
•the customer ID
•the product code
•the delivery quantity
•the due date (YYYYMMDD)
•the printing material quality
These parameters can be activated for up to 7 positions in the file name.
You can define detection rules to determine how these properties in the PDF file names will be detected and used. In the field, you will probably define a detection rule and then name your PDF files accordingly.
Example:
The file name is HDCity#HD0021#Brochure.pdf.
To find out, for example, the job number and the job name, in the hotfolder settings select "the job number" in front of "at position 2" and "the job name" in front of "at position 1". Enter the character "#" into the "up to delimiter" box for each of these parameters. For all the other positions, select "-" in the list box. This means that these positions will be ignored.
If "HDCity#HD0021#Brochure.pdf" is now filed to the hotfolder, a new job is generated, with "HD0021" as the job number and "HDCity" as the job name. If "HD0021" should already exist as a job number in the system, the rule selected in "When job number already exists" is applied automatically because job numbers must be unique in the system.
Missing job name / Missing job number
If the job name and/or job number are missing, these parameters are generated automatically based on the following criteria:
•If the job name is missing but the job number exists, the job number will also be used as the job name.
•If the job number is missing but the job name exists, the job name will also be used as the job number.
•If both job name and job number are missing, the file name of the PDF file, without the file extension, will be used as the job name and job number.
Indices are appended if the job name generated in this way already exists.
Note: Take note that you can change job names but not job numbers later.
Delimiter
Note: The following characters must not be used as delimiters:
|
\ |
/ |
section: |
* |
? |
" |
< |
> |
I |
Delimiters are used to be able to distinguish the single parameters in the file names. However, it is not absolutely necessary to use delimiters. For example, if you do not enter any delimiter for "the job number" and "the job name" parameters for the file name of the example above ("HDCity#HD0021#Brochure.pdf"), the whole expression "HDCity#HD0021#Brochure" (file name without extension) will be used for the job number and for the job name. This means that the character "#" is not interpreted as a delimiter.
If necessary, you can also use different delimiters for different parameters or use delimiters made up of several single characters, e.g. "#@$". What is important is that the delimiters are entered in the file name at the correct position and in the same form.
Setup with and without delimiters
You can define a setup where job parameters are set with delimiters and single parameters without delimiters.
Example:
The PDF file name is:
HD0021#HDCity&Brochure§PR8003=20170214@750.pdf
Set up the following rule:
•"at position 1" select "the job number"; delimiter: #
•"at position 2" select "the job name"; delimiter: no delimiter
•"at position 3" select "the product code"; delimiter: §
•"at position 4" select "the customer ID"; delimiter: =
•"at position 5" select "the due date"; delimiter: @
•"at position 6" select "the delivery quantity"; delimiter: no delimiter
Based on this rule, the file name is analyzed as follows:
•The job number is: "HD0021"
•The job name is: "HDCity&Brochure". Because no delimiter is set for the job name, the character "&" is not detected as a delimiter and all the characters that are between the last delimiter set (#) and the next delimiter (§) are used as identifiers for the job name.
•The product code is: "HDCity&Brochure". In this case, the same rule as for the job name is applicable. Because the character "&" is not set as a delimiter, all the characters that are between the last delimiter set (#) and the next delimiter (§) are used as identifiers for the product code.
In other words, the lack of a delimiter results in two job parameters (in our example, job name and product code) identifying the same part of the file name (in our example, "HDCity&Brochure").
Note: If an existing product code is determined in this way, the new job will have the sequences that are linked to this product code ("Smart Automation") and not the sequences of the current job.
•The customer ID is: "PR8003". A customer is assigned automatically to the job if its customer ID is defined in customer administration of Prinect Manager.
•The due date is: 14. 02. 2017.
Please make sure that the due date is entered in the order "YYYYMMDD" in the file name. If it is not, the date will not be recognized.
•The delivery quantity is: 750. No delimiter is specified for the delivery quantity. The dot before the file name extension is always detected as a delimiter.
"from first character" option
All characters from the first character of the file name up to the next delimiter are used as parameter identifiers if this option is enabled.
Example:
The PDF file name is:
HDCity#HD0021&Brochure§750.pdf
Set up the following rule:
•"at position 1" select "the job name"; "from first character": not active; delimiter: #
•"at position 2" select "the job number"; "from first character": not active; delimiter: &
•"at position 3" select "the product code"; "from first character": active; delimiter: §
•"at position 4" select "the delivery quantity"; "from first character": not active; no delimiter
Based on this rule, the file name is analyzed as follows:
•The job name is: "HDCity".
•The job number is: "HD0021"
•The product code is: HDCity#HD0021&Brochure. All characters from the first one up to the delimiter "§" are interpreted as the product code.
•The delivery quantity is: 750.