Streams used by the pdxtblkres command, Return codes from the pdxtblkres command, Restrictions – Ricoh INFOPRINT XT GLD0-0025-01 User Manual

Page 77

Advertising
background image

v

If

you

use

standard

input

to

pass

the

Xerox

resource,

the

command

uses

the

default

name

dfault.jsl

.

Note:

The

pdxtblkres

command

does

not

verify

that

the

Xerox

resource

is

a

JSL.

If

you

use

the

-f

command

option,

you

can

only

block

one

resource

at

a

time.

[

file

...]

The

name

of

the

Xerox

resource

file

to

block.

When

the

command

blocks

the

resource,

it

replaces

the

contents

of

the

existing

file

with

the

blocked

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

pdxtblkres

command

The

pdxtblkres

command

uses

file

descriptors

while

it

processes

Xerox

resources:

fd0

(STDIN)

If

you

do

not

specify

a

resource

file

name

with

the

command,

the

command

reads

the

deblocked

resource

from

standard

input.

fd1

(STDOUT)

If

you

do

not

specify

a

resource

file

name

with

the

command,

the

command

writes

the

blocked

resource

to

standard

output.

fd2

(STDERR)

The

command

writes

messages

from

the

blocking

process

to

standard

error.

Return

codes

from

the

pdxtblkres

command

Return

codes

from

the

pdxtblkres

command

mean:

0

The

command

successfully

blocked

the

resource.

EINVAL

An

error

exists

with

one

of

the

command

options.

ENOATTR

You

specified

a

command

option

without

a

value.

E2BIG

You

specified

the

-f

command

option

and

more

than

one

input

file

name.

other

Any

other

return

codes

that

are

not

in

this

list

are

return

codes

from

C

functions.

See

“Return

code

numbers”

on

page

113.

+

End

of

Programming

Interface

information

-

+

Restrictions

The

pdxtblkres

command

can

only

block

these

types

of

Xerox

resources:

v

CMDs

v

FSLs

v

ISLs

v

JSLs

Chapter

4.

Loading

Xerox

resources

57

Advertising