PTBurn
SDK
Page
41
of
68
©
2011
Primera
Technology,
Inc.
Primera
is
a
registered
trademark
and
Bravo
is
a
trademark
of
Primera
Technology,
Inc.
All
other
trademarks
are
the
property
of
their
respective
companies.
4.11
Generate
Preview
This
command
generates
an
image
preview
of
a
Surething
File.
You
must
specify
the
path
of
the
surething
file,
the
path
you
want
the
image
file
to
be
placed,
and
the
DPI
of
the
image.
Message=GENERATE_PREVIEW
PathFrom
=
Path
of
the
source
SureThing
.std
file
(Required)
PathTo
=
Path
to
the
destination
image
file
(Required).
.JPG,
.BMP,
or
.PNG
image
files
allowed.
DPI
=
50
‐
600
(Default
Value
=
72)
4.12
Run
Utility
Command
The
run
utility
command
is
used
to
run
any
.exe
file
on
the
server.
You
are
required
to
provide
the
command
line
of
the
exe
you
want
to
run.
Message=RUN_UTILITY
PathFrom
=
Path
that
the
utility
to
run
is
at
(Required)
4.13
USB
Connect
This
command
is
used
to
simulate
a
new
USB
Disc
publisher
being
connected.
This
is
mainly
used
for
testing
and
demonstration.
The
PTBurn
service
will
automatically
detect
this
when
running.
Message
=
USB_CONNECT
4.14
USB
Disconnect
This
command
is
used
to
simulate
a
robot
being
disconnected.
This
is
mainly
used
for
testing
and
demonstration.
The
PTBurn
service
will
automatically
detect
this
when
running.
Message=USB_DISCONNECT
RobotName
=
Robot
that
was
disconnected
(Required)
4.15
Set/Clear
Kiosk
Mode
**
This
command
is
only
valid
on
the
Disc
Publisher
II,
XR,
PRO,
XRP,
Xi,
4100
**
This
command
is
used
to
put
or
remove
the
robot
from
kiosk
mode.
Kiosk
mode
uses
both
bins
as
inputs
and
outputs
all
discs
down
the
front
slide.
The
current
Kiosk
mode
state
of
all
robots
is
stored
in
the
"KioskModeEnabled"
key,
which
resides
in
the
Robot
section
of
the
SystemStatus
file.
(See
Section
2.1.36
to
see
the
behavior
of
BinID
which
tells
the
robot
which
bin
to
pick
from
and
where
to
output
the
disc).
This
message
has
the
following
structure:
Message=
CHANGE_KIOSK_MODE