Ricoh GLD0-0025-01 Window User Manual


 
replaces the contents of the existing file with the deblocked output. If you
do not specify a file name, the command reads from standard input and
writes to standard output.
You can specify more than one file. Separate the file names with spaces.
Streams used by the pdxtdblkres command
The pdxtdblkres command uses file descriptors while it processes Xerox resources:
fd0 (STDIN) If you do not specify any resource file names with the command,
the command reads the blocked resource from standard input.
fd1 (STDOUT)
If you do not specify any resource files names with the command,
the command writes the deblocked resource to standard output.
fd2 (STDERR)
The command writes messages from the deblocking process to
standard error.
Return codes from the pdxtdblkres command
Return codes from the pdxtdblkres command mean:
0 The command successfully deblocked the resource.
EINVAL An error exists with one of the command options.
ENOATTR You specified a command option without a value.
other Any other return codes that are not in this list are return codes
from C functions. See “Return code numbers” on page 113 for
explanations.
+ End of Programming Interface information - +
Restrictions
The pdxtdblkres command can only deblock these types of Xerox resources:
v Command (CMD) files
v Forms Source Libraries (FSLs)
v Ink Source Libraries (ISLs)
v Job Source Libraries (JSLs)
Using the pdxtblkres command to block resources
+ Programming Interface information +
You use the pdxtblkres command to block one or more Xerox resource files. The
syntax for the command is:
pdxtblkres [-f filename.ext] [file ...]
[-f filename.ext]
The file name that the command uses in the header record or label record
of the blocked resource. If you do not use the -f command option, the
default name that the command uses depends on how you specified the
input data:
v If you explicitly specify the name of a Xerox resource file, the command
uses the name of the resource file. The extension for the file name that
you specify must be .cmd, .fsl, .isl, or .jsl.
56 InfoPrint XT Guide