Videojet DataFlex 6530 Service Manual - Rev AA B-3
These commands are further described in detail.
The Job Select Commands (SEL and SLA)
These commands select a job on the printer. Values for variable fields may also be specified.
Syntax
SEL|<jobname>|<data>|…|<CR>
SLA|<jobname>|<fieldname>=<data>|…|<CR>
Return Values
On success, it returns the default success response. On failure, it returns the default failure
response. If the command succeeds, the response is sent after the job has been selected.
Details
The difference between SEL and SLA lies in the way that values for variable fields are matched
to field names. SEL assigns consecutive values to fields named "VarField00", "VarField01",
"VarField02" etc. SLA allows the field name to be specified in the command, useful if the job has
fields which are not named "VarField00" and so on, or if only a few fields need to be updated
and using SEL would require the inclusion of values for fields that do not need updating. If the
SEL command is to be used, care should be taken while designing the job so that the fields to be
updated have the correct names.
Date Fields
Date fields are updated as for normal fields, but the correct format must be used. In case of a
Calculated Date, the correct format is:
ddd/mmm/yy
with negative values permitted for any of the components.
Note: Calculated Date depends on an underlying date calculation, and this is updated by the command. If
the job contains several Calculated Dates which obtain their value from the same date calculation,
all are updated.
Counter Fields
These are handled as normal fields.
Price Fields
These should be entered as decimal values. The decimal separator may be the point (.), comma
(,) or centre dot (·). The value is interpreted according to the number of decimal places specified
for that field. For example, if the field has the default number of decimal places (2), the value
“15” is interpreted as “15.00”, the value “15.5” as “15.50”, the value “15.076” as “15.07”, the value
“.99” as “0.99” etc.
The most likely reason for a failure on this command is trying to select a job which does not exist
in the database. Specifying an invalid field name for a variable field or using an inappropriate
format for a date field is not considered an error; the value is ignored.
Examples
>>SEL|Default 4 Line Text|<CR>
<<ACK<CR>
PML PackML commands and requests
Command Code Command Name
Table B-1: Text Communications Protocol Commands (Continued)