Supported pdpr flags, -x options, and mappings

When you submit a job using the pdpr command, the options that you specify are mapped to options that can be passed on the lprafp command and then to RICOH ProcessDirector job properties. Not all pdpr options are supported in RICOH ProcessDirector.

Flags

These flags are supported on the pdpr command in RICOH ProcessDirector.
-d destination name
Sets the destination that you want to submit the job to. In InfoPrint Manager, this is the logical destination; in RICOH ProcessDirector, this is the input device. If no value is specified, the pdpr command uses the PDPRINTER environment variable on the submitting computer to determine the destination.

When you migrate from InfoPrint Manager to RICOH ProcessDirector, you can create an input device for each logical destination that already exists and use rules in the pdpr.cfg file to send files that are intended for a specific logical destination to the corresponding input device instead.

-f FileName
Specifies an additional file to include in a job. Use this flag when you submit multiple files with the pdpr command and you want to specify different options for each file.
    Note:
  • In InfoPrint Manager, submitting additional files using -f generates a single print job. In RICOH ProcessDirector, each file is submitted as a separate job. You cannot use -f to combine files into a single job in RICOH ProcessDirector.
-i [ipm|ippd]
Forces the pdpr script to send the job to either RICOH ProcessDirector or InfoPrint Manager. You can use this flag when you are testing your configuration to make sure that your clients can send jobs to both systems, if needed. If this flag is specified on the pdpr command, the pdpr.cfg file is bypassed and the job is sent to the system specified with the flag.
-t JobName
Sets the name of the job with the Job name property in RICOH ProcessDirector.
-n CopyCount
Sets the number of copies of the job to print with the Job copies requested property in RICOH ProcessDirector.
-x options
Let you pass a variety of processing options to InfoPrint Manager or RICOH ProcessDirector. For example, to indicate which form definition the job uses, you could submit a job using this command:
pdpr -d myprinter -x "form-definition=F12UP" myprintfile.afp

Options that can be passed on the -x flag

The first table below shows the options that you can pass on the -x flag on the pdpr command, along with the lprafp command options and RICOH ProcessDirector job properties that they map to.

Most of the mappings are already included in the sample receive_lpd_jobtype.cfg and receive_lpd_pdf_jobtype.cfg files, so you can use one of those files for the Child workflow parsing rules property of your input devices to map the pdpr command options to RICOH ProcessDirector job properties without editing it. The sample files are installed in /aiw/aiw1/samples/rules/ (AIX and Linux) or C:\aiw\aiw1\samples\rules\ (Windows).

    Note:
  • Updates might overwrite files in the /aiw/aiw1/samples/ (AIX and Linux) or C:\aiw\aiw1\samples\ (Windows) directory, but they do not overwrite files in the /aiw/aiw1/control_files/ (AIX and Linux) or C:\aiw\aiw1\control_files\ (Windows) directory. We recommend copying sample files into the /aiw/aiw1/control_files/ (AIX and Linux) or C:\aiw\aiw1\control_files\ (Windows) directory and making all your changes in the copied file.

The second table shows options that are not included in the sample receive_lpd_jobtype.cfg or receive_lpd_pdf_jobtype.cfg file, but that can be added if you want to use them. The third table shows options that have no direct mapping RICOH ProcessDirector job properties.

Options that are mapped in the sample receive_lpd_jobtype.cfg file

pdpr option & information lprafp command options RICOH ProcessDirector property & information
address1-text
address2-text
address3-text
address4-text

1-4095 characters for each option

address1
address2
address3
address4

1-90 characters for each option

Job.Info.Address1
Job.Info.Address2
Job.Info.Address3
Job.Info.Address4

1-128 characters (bytes) for each property

auxiliary-sheet-selection

Values:

  • end
  • none
  • sep
  • sep-end
  • start
  • start-end
  • start-sep
  • start-sep-end

header= yes | no
trailer= yes | no
separator= yes | no

Mappings:

  • end
    header=no 
    trailer=yes 
    separator=no
  • none
    header=no 
    trailer=no 
    separator=no
  • sep
    header=no 
    trailer=no
    separator=yes
  • sep-end
    header=no
    trailer=yes
    separator=yes
  • start
    header=yes
    trailer=no
    separator=no
  • start-end
    header=yes
    trailer=yes
    separator=no
  • start-sep
    header=yes
    trailer=no
    separator=yes
  • start-sep-end
    header=yes
    trailer=yes
    separator=yes

Job.Print.HeaderCopies= 0 | 1
Job.Print.SeparatorCopies= 0 | 1
Job.Print.TrailerCopies= 0 | 1

Mappings:

  • end
    Job.Print.HeaderCopies=0
    Job.Print.SeparatorCopies=0
    Job.Print.TrailerCopies=1
  • none
    Job.Print.HeaderCopies=0
    Job.Print.SeparatorCopies=0
    Job.Print.TrailerCopies=0
  • sep
    Job.Print.HeaderCopies=0
    Job.Print.SeparatorCopies=1
    Job.Print.TrailerCopies=0
  • sep-end
    Job.Print.HeaderCopies=0
    Job.Print.SeparatorCopies=1
    Job.Print.TrailerCopies=1
  • start
    Job.Print.HeaderCopies=1
    Job.Print.SeparatorCopies=0
    Job.Print.TrailerCopies=0
  • start-end
    Job.Print.HeaderCopies=1
    Job.Print.SeparatorCopies=0
    Job.Print.TrailerCopies=1
  • start-sep
    Job.Print.HeaderCopies=1
    Job.Print.SeparatorCopies=1
    Job.Print.TrailerCopies=0
  • start-sep-end
    Job.Print.HeaderCopies=1
    Job.Print.SeparatorCopies=1
    Job.Print.TrailerCopies=1

building-text

1-4095 characters

building

1-90 characters

Job.Info.Building

1-128 characters (bytes)

chars chars Job.Line2AFP.CHARS
class
mvs-class
class Job.Class
copy-count copies Job.Copies
data-fidelity-problem-reported

Values:

  • all
  • character
  • print-positioning
  • none

datack

Values:

  • block
  • blkchar
  • blkpos
  • unblock

Job.Print.DataCheck

Values:

  • Block
  • BlkChar
  • BlkPos
  • Unblock

department-text

1-4095 characters

department

1-90 characters

Job.Info.Department

1-128 characters (bytes)

document-format

Values:

  • ascii
  • dbcs-ascii
  • ditroff
  • gif
  • jpeg
  • line-data
  • modca-p
  • pcl
  • pdf
  • postscript
  • ppml
  • sap
  • tiff

datatype

Values:

  • ascii(as)
  • afpds(af)
  • dbcsascii(db)
  • ditroff(d)
  • gif
  • jpeg
  • line(l)
  • modcap(mo)
  • pcl(pc)
  • pdf
  • postscript(ps)
  • ppml
  • sap
  • tiff

Job.InputDatastream

Values:

  • afp
  • gif
  • jdf
  • jpeg
  • lcds
  • linedata
  • metacode
  • pcl
  • pdf
  • ps
  • text
  • tiff
  • unknown

form-definition

1-8 characters

formdef

1-8 characters

Job.Line2AFP.Formdef

1-8 characters (bytes)

image-out-format

Values:

  • ioca-uncompressed
  • im1
  • io1
  • io1-g4
  • io1-mmr
  • as-is

imageout

Values:

  • ioca
  • as-is

Job.Line2AFP.IMAGEOUT

Values:

  • IOCA
  • ASIS

    Note:
  • All other options are discarded.
job-name

1-4095 characters

jobname

1-255 characters

Job.Name

1-128 characters (bytes)

mvs-destination

1-8 characters

destination

1-8 characters

Job.Destination

1-32 characters (bytes)

new-line-options

Values:

  • counted-4-octetaligned
  • record,n
  • lf
  • cr-and-lf

fileformat

Values:

  • record
  • record,n
  • stream,lf
  • stream,crlf

Job.Line2AFP.FILEFORMAT
node-id-text

1-4095 characters

no/nodeid

1-20 characters

Job.Info.NodeID

1-128 characters (bytes)

output-bin outbin Job.OutputBin
overlay

1-8 characters

overlay

1-8 characters

Job.Print.Overlay

1-8 characters (bytes)

page-definition

1-8 characters

pagedef

1-8 characters

Job.Line2AFP.PAGEDEF
programmer-text

1-4095 characters

programmer

1-90 characters

Job.Info.Programmer
room-text

1-4095 characters

room

1-90 characters

Job.Info.Room

1-128 characters (bytes)

shift-out-shift-in

Values:

  • one
  • two
  • aaaaaaaa

prmode

Values:

  • SOSI1
  • SOSI2
  • aaaaaaaa

Job.Line2AFP.PRMODE
table-reference-characters

Values:

  • yes
  • no
  • fixed value

trc

Values:

  • yes
  • no
  • fixed value

Job.Line2AFP.TRC
title-text

1-4095 characters

title

1-90 characters

Job.Info.Title

1-128 characters (bytes)

user-id-text

1-4095 characters

us

1-90 characters

Job.Info.User
x-image-shift

This value is in millimeters.

xoffset

Value:

  • float

Job.Print.Xoffset

This value is in inches. The pdpr script converts the value from millimeters to inches.

y-image-shift

This value is in millimeters.

yoffset

Value:

  • float

Job.Print.Yoffset

This value is in inches. The pdpr script converts the value from millimeters to inches.

Options that are not mapped in the sample receive_lpd_jobtype.cfg file, but can be added

pdpr option & information lprafp command options RICOH ProcessDirector property & information
carriage-control-type

Values:

  • ansi-ascii
  • ansi-ebcdic
  • machine
  • none

cctype

Values:

  • z
  • a
  • m

Job.Line2AFP.CC_TYPE
maximum-messages-printed

0-9999 characters

msgcount

0-9999 characters

Job.Print.MessageCount

0-9999 characters

resource-context
resource-context-user
resource-context-font

1-255 characters

respath Job.Print.ResourcePath

Up to 4096 characters (bytes)

Options in the table below have no direct mapping to RICOH ProcessDirector job properties. However, some of them can be mapped to existing job properties that you do not currently use. For example, you could map the account-textpdpr and lprafp option to the Job.CustomerName job property if you do not use Job.CustomerName to hold other information. Options that contain specific values and are used to set printing options, such as default-character-mapping, cannot be mapped effectively.

Options that have no direct mapping to RICOH ProcessDirector job properties

pdpr option & information lprafp command options
account-text

1-4095 characters

account

1-90 characters

default-input-tray bin
default-character-mapping

Values:

  • ibm-437
  • ibm-860
  • ibm-863
  • ibm-865

codepage

Values:

  • 437
  • 860
  • 863
  • 865

document-file-name

1-4095 characters

docname

1-255 characters

mvs-segment-id

1-10 characters

segmentid

1-10 characters

name-text

1-4095 characters

name

1-90 characters

new-line-option-data-encoding

Values:

  • utf-8
  • utf-16
  • ebcdic
  • ascii

newlineencoding

Values:

  • utf8
  • utf16
  • ebcdic
  • ascii