See also:
To print the FFV (Fixed First Visit) logo on a job card it is necessary to change the corresponding format stationary and KPrint format. There is no standard solution, since the printing formats are country/dealer specific. The following changes to the formats are necessary to print the logo and repeat repair text:
Note: The logo, and example format plus the corresponding kprint format are available from the CDK Global Daimler Specifics Solutions web site.
Changing The KPrint FormatTo change the KPrint Format, you need to place the relevant picture in the Job Card KPrint format, for example, picRepeatRepair.
Properties of the picture:
Name | picRepeatRepair |
The printing of the text repeat repair is controlled with a normal data field.
Properties of the text:
DataRow | 4 |
DataCol | 2 |
DataHeight | 1 |
DataWidth | 19 |
Note: In this example is the data for the repeat repair text box retrieved from Data row 4 in the raw data file.
Changing The Format StationaryTo change the format stationary, you need to add the following line of coding:
Name | = ... |
EFRR_80$ | $PRINTF("@@CTRL=picRepeatRepair&PROP=LayerMask&VAL=%d@@",(!1_REPREP="Y" ? 7 :0) |
TXRR$ | (!1_REPREP="Y" ? <<"repeat repair">>: " ") |
The fist line generates the following Kprint forms trigger in the variable EFRR$ depending in the setting of the repeat repair field on the WIP.
Note: The value _80 as part of the name (EFRR_80$) is defining the size of this variable to 80 characters. This to ensure that the variable is large enough to hold the complete Kprint trigger.
In case the repeat repair field on the WIP header is cleared:
@@CTRL=picRepeatRepair&PROP=LayerMask&VAL=0@@In case the repeat repair field on the WIP header is selected:
@@CTRL=picRepeatRepair&PROP=LayerMask&VAL=7@@
The section CTRL=picRepeatRepair is referring to the picture control on the kprint format that show the repeated repair logo. The name of the picture control should be the same as the value after the ‘=’ sign.
The section &PROP=LayerMask&VAL=0 is referring to the LayerMask property. In the case the repeat repair field is cleared, then this value is set to ‘0’ what makes the picture unavailable for printing. In the situation that the repeat repair field is selected, then this value (in this example) is set to 7 what indicates the picture is printed on layer 1, 2 and 3. This value can be set according to the requirement and layout of the KPrint format.
The second line will fill the derived field TXRR$ with the value ‘repeat repair’ in case the repeat repair field on the corresponding WIP is selected. The field is blank in case the repeat repair field on the WIP header is cleared.
The derived field (EFRR_80$ in this case) also needs to be added to the header of the format stationary in order that the KPrint trigger is printed.
The derived field TXRR$ is printed on the next line in the header section of the format stationary.