クライアント構成ファイル

サンプルPostScriptまたはPDF構成ファイル (ps2afp.cfg)は、PostScriptとPDF変換用の構成ファイルを示しています。PCL変換用の構成ファイルも同様ですが、pcl_server_timeoutキーワードはありません。その結果、PCL 変換では、「変換オプションの階層」に説明した pcl2afp コマンドの場合、コマンド行からの -s フラグをサポートしません。

サンプルPostScriptまたはPDF構成ファイル (ps2afp.cfg)

# ps2afp configuration file

######################################################################
#                CPSI, APPE and AGSPDL GENERAL SETTINGS
# KEYWORD            EQUIVALENT ps2afp FLAG                    PURPOSE
######################################################################

port = 8251              # -P                 which TCP/IP port to use
appe_port = 8250         # -P        which TCP/IP port to use for appe
agspdl_port = 8254       # -P      which TCP/IP port to use for agspdl
server = localhost       # -S             which server to connect with

ps_max_memory = 48000K   # -M            maximum amount of memory that
                         #         PostScript uses; the 'K' is ignored

ps_job_timeout = 9999    # -j                maximum number of minutes
                         #                   to process PostScript job
ps_server_timeout = 360  # -s                maximum number of minutes
                         #                   server waits between jobs
ps_document_processor = cpsi  # -psproc              which ps document 
                              #                       processor to use
pdf_document_processor = cpsi # -pdfproc            which pdf document 
                              #                       processor to use

######################################################################
#                    CPSI SPECIFIC SETTINGS
# KEYWORD            EQUIVALENT ps2afp FLAG                    PURPOSE
######################################################################

ps_width = 8.5i          # -w                 width of generated image
ps_length = 11i          # -l                length of generated image
ps_x_offset = 0i         # -x                   left and right margins
ps_y_offset = 0i         # -y                   top and bottom margins
ps_resolution = 300      # -r             resolution of target printer
ps_output_type = IO1_G4  # -a            type of AFP image to generate
ps_imgsmall = 0.5i       #                  default value for imgsmall
ps_linesmall = 0.5i      #                 default value for linesmall
ps_txtsmall = 0.5i       #                  default value for txtsmall
#ps_is = 1                #                 the is afp compliance flag
#ps_compress_type = jpeg-sub
                         # -cmp            JPEG subsampled compression
                         #                    other options: jpeg, lzw

######################################################################
#                    APPE SPECIFIC SETTINGS
# KEYWORD            EQUIVALENT ps2afp FLAG                    PURPOSE
######################################################################

appe_width = 8.5i          # -w               width of generated image
appe_length = 11i          # -l              length of generated image
appe_x_offset = 0i         # -x                 left and right margins
appe_y_offset = 0i         # -y                 top and bottom margins
appe_resolution = 300      # -r           resolution of target printer
appe_output_type = IO1_G4  # -a          type of AFP image to generate
#appe_is = 1                #               the is afp compliance flag
#appe_compress_type = jpeg-sub
                           # -cmp          JPEG subsampled compression
                           #                  other options: jpeg, lzw
#appe_pagetype = DOCUMENT       
                           #              type of afp structured field
                           #                  for each individual page

######################################################################
#                    AGSPDL SPECIFIC SETTINGS
# KEYWORD            EQUIVALENT ps2afp FLAG                    PURPOSE
######################################################################
agspdl_output_type = IO1_G4  # -a        type of AFP image to generate
agspdl_resolution = 300      # -r         resolution of target printer
agspdl_width = 8.5i          # -w             width of generated image
agspdl_length = 11i          # -l            length of generated image
agspdl_is     = 1            #              the is afp compliance flag
#agspdl_compress_type = lzw
                             # -cmp        JPEG subsampled compression
                             #           other options: jpeg, jpeg-sub
#agspdl_page_size_control
                             # -psc          page size control options
                             #      ArtBox, BleedBox, CropBox, TrimBox

######################################################################
#                          APPE and CPSI

# ENABLING THE PLEX COMMAND AND MAPPING BINS TO TRAYS
# NOTE: Uncomment only one of the options below.

######################################################################
#                          APPE and CPSI

# ENABLING THE FINISHING FLAG ONLY
# If you want your users to be able to allow finishing operations,
# such as staple operations or punch operations, uncomment the  
# following line.

# device_controls = finishing

######################################################################
#                          APPE and CPSI

# ENABLING THE PLEX COMMAND ONLY
# If you want your users to be able to choose between single-sided and 
# double-sided (duplexed) output, uncomment the following line.

# device_controls = plex

######################################################################
#                          APPE and CPSI

# ENABLING BOTH PLEX AND FINISHING
# If you want your users to be able to both choose between single-
# sided and double-sided (duplexed) output AND allow finishing 
# operations, such as staple operations or punch operations, 
# uncomment the following line.

# device_controls = plex,finishing

######################################################################
#                          APPE and CPSI

# ENABLING THE PLEX COMMAND AND MAPPING BINS TO TRAYS
# If you want your users to be able to both choose between single-
# sided and double-sided (duplexed) output AND specify which paper 
# tray to use, uncomment the line below and fill in the correct values:

# Replace the Xs with the number of the AFP tray (between 1 and 255).
# Replace the Zs with the appropriate values.
# Replace size with one of the supported paper sizes \
(LETTER, LEGAL, A3, A4, B4, B5, LEDGER)
# device_controls = plex,inputX=(size,type=ZZZ,weight=ZZZ,color=ZZZ), \
inputX=(size,type=ZZZ,weight=ZZZ,color=ZZZ)

######################################################################
#                          APPE and CPSI

# ENABLING THE PLEX COMMAND AND MAPPING BINS TO TRAYS
# If you want your users to be able to both choose between single-
# sided and double-sided (duplexed) output, AND allow finishing
# operations, AND specify which paper tray to use, uncomment the line 
# below and fill in the correct values:

# Replace the Xs with the number of the AFP tray (between 1 and 255).
# Replace the Zs with the appropriate values.
# Replace size with one of the supported paper sizes \
(LETTER, LEGAL, A3, A4, B4, B5, LEDGER)

# device_controls = plex,finishing, \
inputX=(size,type=ZZZ,weight=ZZZ,color=ZZZ), \
inputX=(size,type=ZZZ,weight=ZZZ,color=ZZZ)

サンプルpcl2afpクライアント構成ファイル (pcl2afp.cfg)

# pcl2afp configuration file


# KEYWORD            EQUIVALENT pcl2afp FLAG                   PURPOSE
######################################################################


port = 8253                 # -P              which TCP/IP port to use
server = localhost          # -S          which server to connect with

pcl_max_memory = 6000K      # -M         maximum amount of memory that
                            #             PCL uses; the 'K' is ignored

pcl_job_timeout = 20        # -j             maximum number of minutes
                            #                     to process a PCL job

pcl_width = 8.5i            # -w              width of generated image
pcl_length = 11i            # -l             length of generated image
pcl_x_offset = 0i           # -x                left and right margins
pcl_y_offset = 0i           # -y                top and bottom margins
pcl_resolution = 300        # -r          resolution of target printer
pcl_output_type = IO1_G4    # -a         type of AFP image to generate

#pcl_is = 1                 # -is           the is afp compliance flag
#pcl_compress_type = lzw    # -cmp                     lzw compression
                            #            other options: jpeg, jpeg-sub

######################################################################

# ENABLING THE PLEX COMMAND AND MAPPING BINS TO TRAYS
# NOTE: Uncomment only one of the options below.

######################################################################

# ENABLING THE PLEX COMMAND ONLY
# If you want your users to be able to choose between single-sided and 
# double-sided (duplexed) output, uncomment the following line.

# device_controls = plex

######################################################################

# ENABLING THE PLEX COMMAND AND MAPPING BINS TO TRAYS
# If you want your users to be able to both choose between single-
# sided and double-sided (duplexed) output AND specify which paper 
# tray to use, uncomment the line below and fill in the correct values:

# Replace the Xs with the number of the AFP tray (between 1 and 255).
# Replace the Zs with the PCL bin number (between 1 and 59).

# You can list up to 20 mappings.

# device_controls = plex,inputX=(pcl_bin=Z),inputX=(pcl_bin=Z)

構成ファイルは、変換フラグと同じキーワードを使用します。構成ファイルに指定できるキーワードと値については、RICOH InfoPrint Manager:Referenceを参照してください。