Client configuration files

This is an example of a configuration file for the PostScript and PDF transforms when using CPSI processing engine.

Sample PostScript or PDF client configuration file (ps2afp.cfg)

# ps2afp configuration file

######################################################################
#			     CPSI AND APPE GENERAL SETTINGS
# KEYWORD            EQUIVALENT ps2afp FLAG                    PURPOSE
######################################################################


port = 8251              # -P                 which TCP/IP port to use
server = 127.0.0.1       # -S             which server to connect with

ps_max_memory = 24000K   # -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
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  # 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  # JPEG subsampled compression. 
											  Other options: jpeg, lzw


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

# 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.

# 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.

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

Sample pcl2afp client configuration file (pcl2afp.cfg)

# pcl2afp configuration file


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


port = 8253                 # -P              which TCP/IP port to use
server = 127.0.0.1          # -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                  #      the is afp compliance flag
#
######################################################################

# 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)

The configuration file uses keyword equivalents of the transform flags. For the keywords and values that you can specify in the configuration file, see InfoPrint Manager: Reference.