Example
This
setvar
example
shows the value set to
"2"
.
! U1 setvar "media.speed" "2"
When
the
setvar
value is set to
"2"
,
the
getvar
result is
"2"
.
This
setvar
example
shows the value set to
"up"
.
! U1 setvar "media.speed" "up"
If
the current print speed is 2 and the
setvar
value
is set to
"up"
, the
getvar
result
is
"3"
.
This
setvar
example
shows the value set to
"down"
.
! U1 setvar "media.speed" "down"
If
the current print speed is 2 and the
setvar
value
is set to
"down"
, the
getvar
result
is
"1"
.