RIP Daemon configuration files

The PDF parallel transform requires that at least three daemons be running to manage the PostScript interpreter portion of the pdf2afp transform. To simplify your configuration, InfoPrint recommends naming these daemons after the ports that they are running on. For this document, the configuration example begun in Sample PDF parallel transform (pdf2afp.cfg) configuration file will use the names 8261.cfg, 8262.cfg, 8263.cfg, and 8264.cfg. For more information about this daemon, see RICOH InfoPrint Manager: Reference.

The daemon, like the corresponding transform, uses configuration files. The daemon configuration files reside in the /var/psf/ directory. It is recommended that you create a /pdf2afp subdirectory where all support related to the Parallel PDF RIP client (pdfprs) can reside.

The following figure shows an example of a configuration file for the PDF parallel transform client that RIPs a color (FS45) file.

Sample PDF parallel transform (8264.cfg) configuration file for color

# 8264.cfg configuration file
# KEYWORD          EQUIVALENT ps2afp FLAG                    PURPOSE
####################################################################
port =  8264       #                         which TCP/IP port to use
work_directory =  /var/psf/pdf2afp/4
                         #             directory to put work files in
log_file = /var/psf/pdf2afp/4/ps2afpd.log
                         #                where to write log messages
notify = root            #         notify if problems are encountered
mail_command = /usr/bin/mail
                         #         program used to send notifications
ps_program = /usr/lpp/psf/bin/ps2afpi
                         # name of the PostScript interpreter program
ps_init_file = /usr/lpp/psf/ps2afp/ps2afpe.ps
                         #         name of the PostScript interpreter
                         #                        initialization file
ps_files_path = /usr/lpp/psf/ps2afp :\
                /usr/lpp/psf/config :\
                /usr/lpp/psf
                         #           path to search for jobInit files
ps_max_memory = 96000K   #              maximum amount of memory that
                         #        PostScript uses; the 'K' is ignored
ps_job_timeout = 9999    #                  maximum number of minutes
                         #                  to process PostScript job
ps_server_timeout = 180  #                  maximum number of minutes
                         #                  server waits between jobs
ps_font_map_files = /usr/lpp/psf/ps/psfonts.map :\
                    /var/psf/psfonts/user.map
                         #                 list of font mapping files
ps_width = 8.5i          #                   width of generated image
ps_length = 11i          #                  length of generated image
ps_x_offset = 0i         #                     left and right margins
ps_y_offset = 0i         #                     top and bottom margins
ps_resolution = 600      #               resolution of target printer
ps_output_type = FS45    #                 type of output to generate
pragma = resources=none        ;\
         printerSpeed=130      ;\
         linkBandWidth=6000000 ;\
         resourceNameFilename=../.resNames;
 

If you are defining and configuring daemon RIPs across several servers, you must define the resources in the daemon RIP configuration file as shown in the highlighted section of Sample PDF parallel transform (8264.cfg) configuration file for color. This step ensures that NFS can find all the resources and concatenate the result into a single file. You only need to specify the resourceNameFilename= value on the pragma parameter this way if you are using inline resources and the FS45 IOCA color format.

These daemon configuration files can contain many of the same keywords as the transform configuration file, except server, plus some keywords that control the operation of the daemon. See RICOH InfoPrint Manager: Reference or man pages for the daemon keywords.

Sample PDF parallel transform (8264.cfg) configuration file for black and white

# 8264.cfg configuration file
# KEYWORD          EQUIVALENT ps2afp FLAG                    PURPOSE
####################################################################
port =  8264             #                   which TCP/IP port to use
work_directory =  /var/psf/pdf2afp/4
                         #             directory to put work files in
log_file = /var/psf/pdf2afp/4/ps2afpd.log
                         #                where to write log messages
notify = root            #         notify if problems are encountered
mail_command = /usr/bin/mail
                         #         program used to send notifications
ps_program = /usr/lpp/psf/bin/ps2afpi
                         # name of the PostScript interpreter program
ps_init_file = /usr/lpp/psf/ps2afp/ps2afpe.ps
                         #         name of the PostScript interpreter
                         #                        initialization file
ps_files_path = /usr/lpp/psf/ps2afp :\
                /usr/lpp/psf/config :\
                /usr/lpp/psf
                         #           path to search for jobInit files
ps_max_memory = 96000K   #              maximum amount of memory that
                         #        PostScript uses; the 'K' is ignored
ps_job_timeout = 9999    #                  maximum number of minutes
                         #                  to process PostScript job
ps_server_timeout = 180  #                  maximum number of minutes
                         #                  server waits between jobs
ps_font_map_files = /usr/lpp/psf/ps/psfonts.map :\
                    /var/psf/psfonts/user.map
                         #                 list of font mapping files
ps_width = 8.5i          #                   width of generated image
ps_length = 11i          #                  length of generated image
ps_x_offset = 0i         #                     left and right margins
ps_y_offset = 0i         #                     top and bottom margins
ps_resolution = 600      #               resolution of target printer
ps_output_type = IO1_G4  #          type of output to generate