Daemon configuration files
The PCL, PostScript, and PDF transforms all require a daemon to be running before you can use them. The pcl2afpd daemon manages the PCL interpreter portion of the pcl2afp transform. The ps2afpd daemon manages the PostScript or PDF CPSI interpreter portion of the ps2afp and pdf2afp transforms. The apped daemon manages the PDF APPE processing portion of the ps2afp and pdf2afp transforms. The agspdld daemon manages the PDF and PostScript Artifex GhostPDL (AGSPDL) processing portion of the ps2afp and pdf2afp transforms. For more information about these daemons, see RICOH InfoPrint Manager: Reference.
Each daemon, like the corresponding transform, uses a configuration file. The daemon configuration file can contain 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 for the daemon keywords.
Sample AGSPDL daemon configuration file (agspdld.cfg)
# agspdld configuration file ###################################################################### # KEYWORD PURPOSE ###################################################################### port = 8254 # which TCP/IP port to use work_directory = /var/psf/agspdl # directory to put work files into log_file = /var/psf/agspdl/agspdl.log # where to write log messages log_size = 1024 # maximum log size in KB ps_font_directory = /var/psf/agspdl/Resource # list of resource files ps_output_type = IO1_G4 # type of AFP image to generate ps_width = 8.5i # width of generated image ps_length = 11i # length of generated image ps_resolution = 300 # resolution of target printer agspdl_is = 1 # the is afp compliance flag #agspdl_compress_type = lzw # lzw compression # other options: jpeg, jpeg-sub #agspdl_page_size_control # -psc page size control options # ArtBox, BleedBox, CropBox, TrimBox
Sample APPE daemon configuration file (apped.cfg)
# apped configuration file ###################################################################### # KEYWORD PURPOSE ###################################################################### port = 8250 # which TCP/IP port to use appe_work_directory = /var/psf/appe # directory to put APPE work files into log_file = /var/psf/appe/apped.log # where to write daemon log messages log_size = 100 # maximum log size in KB #transform_trace_file = /var/psf/appe/appeTraceFile.log # where to write APPE transform traces # comment out to disable tracing #transform_trace_size = 200 # maximum trace size in KB # use 0 to disable trace size checking #transform_trace_level = MDFL@-1 # APPE traces level # MMST@-1 output most trace statements # MINT@-1 output intermediate level of tracing # MDFL@-1 output default trace statements #appe_fonts_path = #list of directories where extra APPE fonts are located appe_font_map_files = /usr/lpp/psf/appe/fontmaps/FontMapSample.cfg appe_width = 8.5i # width of generated image appe_length = 11i # length of generated image appe_x_offset = 0i # left and right margins appe_y_offset = 0i # top and bottom margins appe_resolution = 300 # resolution of target printer appe_output_type = IO1_G4 # type of AFP image to generate #appe_is = 1 # the is afp compliance flag #appe_compress_type = jpeg-sub # JPEG subsampled compression. Other options: jpeg, lzw #appe_pagetype = DOCUMENT # type of afp structured field for each individual page
Sample pcl2afp daemon configuration file (pcl2afpd.cfg)
# pcl2afpd configuration file ###################################################################### # KEYWORD PURPOSE ###################################################################### port = 8253 # which TCP/IP port to use work_directory = /var/psf/pcl2afp # directory to put work files into log_file = /var/psf/pcl2afp/pcl2afpd.log # where to write log messages log_size = 100 # maximum log size in KB notify = root # who to notify if problems encountered mail_command = /bin/mail # program used to send notifications pcl_program = /usr/lpp/psf/bin/pcl6 # name of PCL interpreter program pcl_fonts_path = /usr/lpp/psf/pcl2afp # location of .FCO files for PCL6 pcl_max_memory = 6000K # maximum amount of memory that # PCL uses; the 'K' is ignored pcl_job_timeout = 20 # maximum number of minutes # to process a PCL job pcl_width = 8.5i # width of generated image pcl_length = 11i # length of generated image pcl_x_offset = 0i # left and right margins pcl_y_offset = 0i # top and bottom margins pcl_resolution = 300 # resolution of target printer pcl_output_type = IO1_G4 # type of AFP image to generate #pcl_is = 1 # the is afp compliance flag #pcl_compress_type = lzw # 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)
Sample ps2afp daemon configuration file for InfoPrint 4000 and InfoPrint 4100 printers (ps2afpd.cfg)
# ps2afpd configuration file ###################################################################### # KEYWORD PURPOSE ###################################################################### port = 8251 # which TCP/IP port to use work_directory = /var/psf/ps2afp # directory to put work files into log_file = /var/psf/ps2afp/ps2afpd.log # where to write log messages log_size = 100 # maximum log size in KB notify = root # who to notify if problems encountered mail_command = /bin/mail # program used to send notifications ps_program = /usr/lpp/psf/bin/ps2afpi # name of PostScript interpreter program ps_init_file = /usr/lpp/psf/ps2afp/ps2afpe.ps # name of PostScript interpreter # initialization file ps_files_path = /usr/lpp/psf/ps2afp :\ /usr/lpp/psf/config :\ /usr/lpp/psf/reslib # 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 = 360 # 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 = 300 # resolution of target printer ps_output_type = IO1_G4 # type of AFP image to generate #following three parameters will apply only if threshsmall specified 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 # JPEG subsampled compression. \ Other options: jpeg, lzw ###################################################################### # Customize if desired #pragma = jobInit 4000.ibm85lpi.tf.dt.ps; \ # jobInit 4000.ibm85lpi.ta.ps; # # ENABLING THE PLEX COMMAND AND MAPPING BINS TO TRAYS # NOTE: Uncomment only one of the options below. ###################################################################### # 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 ###################################################################### # 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 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 ###################################################################### # 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) ###################################################################### # 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)
Sample ps2afp daemon configuration file for cut sheet IPDS printers (3160d.cfg)
# ps2afpd configuration file ###################################################################### # KEYWORD PURPOSE ###################################################################### port = 8252 # which TCP/IP port to use work_directory = /var/psf/ps2afp2 # directory to put work files into log_file = /var/psf/ps2afp2/ps2afpd.log # where to write log messages log_size = 100 # maximum log size in KB notify = root # who to notify if problems encountered mail_command = /bin/mail # program used to send notifications ps_program = /usr/lpp/psf/bin/ps2afpi # name of PostScript interpreter program ps_init_file = /usr/lpp/psf/ps2afp/ps2afpe.ps # name of PostScript interpreter # initialization file ps_files_path = /usr/lpp/psf/ps2afp :\ /usr/lpp/psf/config :\ /usr/lpp/psf/reslib # 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 = 360 # 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 = 300 # resolution of target printer ps_output_type = IO1_G4 # type of AFP image to generate ps_compress_type = jpeg-sub # JPEG subsampled compression.\ Other options: jpeg, lzw pragma = jobInit 3160.ibm85lpi.tf.dt.ps; \ jobInit 3160.ibm85lpi.ta.ps; \ wglRotate yes; ###################################################################### # 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 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)