ps2afpd.cfgファイルにフィニッシングを指定する

以下に、ps2afpデータストリーム変換でフィニッシング値を指定する方法を示します。
  1. コマンド行から、/usr/lpp/psf/ps2afp/ディレクトリーにあるps2afpd.cfgファイルにアクセスします。
  2. 任意のエディターを使用して、ファイルを編集します。
  3. #ENABLING STAPLING OR PUNCH FINISHING OPTIONS THROUGH THE TRANSFORMという見出しを見つけ、以下の行をコメント化しているハッシュマーク(#)を削除します。
    device_controls=finishing
  4. 変更内容を保存し、ファイルを閉じます。
    注意:
  1. device_controlsオプションは、ビン番号とplexキーワードも受け取ります。
  2. plexを省略した場合は、ps2afp変換で両面印刷の出力が作成されます。
  3. ビン番号を省略した場合は、ps2afp変換で、最初の給紙トレイを使用することを指示する出力が作成されます。
  4. ps2afp変換で生成するステープル/パンチのオプションの使用をサポートしないプリンターもあります。要求をサポートしないIPDSプリンターにステープルまたはパンチの操作を指定した文書を送信した場合は、InfoPrint Managerはステープルまたはパンチの穴なしでメッセージを発行してジョブを完了します。使用可能なステープルまたはパンチの操作(ある場合)の決定については、使用するプリンターの使用説明書を参照してください。

詳しい例については、device_controlsオプションがある、最新バージョンのInfoPrint Managerに付属するps2afpd.cfgファイルを参照してください。

ステープル/パンチオプションが指定されたサンプルPostScriptデーモン構成ファイルのセクション

# 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

notify = root            #       who to notify if problems encountered
mail_command = /usr/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 = 48000K   #               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.

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