Streams used by the pdxtx2afp command, Return codes from the pdxtx2afp command, Streams – Ricoh INFOPRINT XT GLD0-0025-01 User Manual
Page 84: Used, Pdxtx2afp, Command, Return, Codes, From

successfully.
If
you
do
not
specify
this
command
option,
InfoPrint
XT
uses
a
subdirectory
of
the
directory
that
the
PDXTWORKDIR
environment
variable
specifies
as
the
working
directory.
InfoPrint
XT
builds
a
subdirectory
name
of
jobname-jobid-n.
jobname
and
jobid
come
from
the
-p
-opa
values,
and
n
is
a
sequence
number.
For
more
information
about
the
PDXTWORKDIR
environment
variable,
see
Notes:
1.
Any
directory
that
you
specify
must
exist;
InfoPrint
XT
does
not
create
the
directory
for
you.
2.
InfoPrint
XT
ignores
the
-k
transform
directive
when
you
specify
a
working
directory
with
the
-w
command
option.
3.
Whether
files
remain
in
a
user-specified
working
directory
depends
on
the
severity
and
the
type
of
error.
4.
Only
one
instance
of
the
pdxtx2afp
command
can
use
a
given
working
directory
at
a
time.
This
is
because
the
pdxtx2afp
command
creates
and
uses
files
that
are
not
job-specific.
For
example,
the
command
writes
messages
to
the
x2afp.lst
file.
If
two
instances
of
the
command
share
the
same
working
directory,
you
lose
the
messages
from
one
of
the
instances.
Streams
used
by
the
pdxtx2afp
command
The
pdxtx2afp
command
uses
file
descriptors
while
it
processes
Xerox
jobs:
fd0
(STDIN)
You
can
pass
the
Xerox
data
stream
as
standard
input
to
file
descriptor
zero.
fd1
(STDOUT)
You
can
instruct
InfoPrint
XT
to
write
the
AFP
data
stream
that
results
from
conversion
to
file
descriptor
one.
fd2
(STDERR)
InfoPrint
XT
writes
messages
from
the
conversion
process
to
standard
error.
Return
codes
from
the
pdxtx2afp
command
Return
codes
from
the
pdxtx2afp
command
have
these
meanings:
0
The
command
successfully
produced
one
or
more
AFP
pages.
EINVAL
The
parameter
list
for
the
command
contains
arguments
that
are
not
valid.
E2BIG
The
parameter
list
for
the
command
contains
too
many
arguments.
ENOATTR
A
parameter
is
missing.
ECONNABORTED
The
command
converted
the
job,
but
it
produced
no
pages
because
of
a
non-zero
return
code
from
an
associated
subcommand.
ECONNRESET
The
command
converted
the
job,
but
it
produced
no
pages.
Associated
subcommands
had
return
codes
of
zero.
64
InfoPrint
XT
Guide