pcl2afpd utility: starts the pcl2afpd daemon

Syntax

pcl2afpd [-C ConfigurationFile]

Description

Use the pcl2afpd utility to start the pcl2afpd daemon. The pcl2afpd daemon manages the PCL interpreter portion of the InfoPrint PCL transform program. You must start the pcl2afpd daemon somewhere on the network before you can use the pcl2afp transform command to transform PCL data streams for printing or transmission with InfoPrint.

The startsrv or start_server utility automatically starts the pcl2afpd daemon if it is installed and not running.

If the pcl2afpd daemon stops running, you can restart it by issuing this command:

/usr/lpp/psf/bin/pcl2afpd

InfoPrint uses the pcl2afpd daemon configuration file to determine the default parameters of the pcl2afpd daemon. The /usr/lpp/psf/pcl2afp/pcl2afpd.cfg file is installed with InfoPrint, and InfoPrint uses it as the default configuration file. You can, however, copy the configuration file, use an editor to edit the copy of the file, and rename it so that you can customize the pcl2afpd daemon for your applications. After you make the modifications, you specify the new configuration file with the -C flag of the pcl2afpd daemon utility.

Note: If you create your own configuration file, you must specify it with the -C flag of the pcl2afp transform command when you transform PCL files.

Flag

The pcl2afpd daemon utility uses the following flag:

-CConfigurationFile
Specifies the configuration file InfoPrint uses with the transform. The value is:
ConfigurationFile
A valid PCL configuration file name. If you do not specify a file, InfoPrint uses the file /usr/lpp/psf/pcl2afp/pcl2afpd.cfg.

Configuration file keywords and values

The pcl2afpd.cfg file contains the same keywords as the pcl2afp.cfg file except that the transform daemon configuration file does not have the server keyword. The pcl2afpd.cfg contains several additional keywords.

For the keywords common to both configuration files, see The pcl2afp and pcl2afpd configuration files.

The PCL transform daemon configuration file can also contain these keywords:

device_controls=[plex,][ inputn=(pcl_bin=m)][ inputn=…)]
Specifies whether to recognize the plex command in the PCL data stream, and optionally, how to associate the AFP input tray (inputn, where n is between 1 and 255) with the pcl bin (pcl_bin=m, where m is between 0 and 59). When you do not specify inputn=(pcl_bin=m) with plex, InfoPrint recognizes the plex command with no tray mappings.If you do not specify plex and tray mapping is not supplied, InfoPrint uses the settings in the default formdef (which is duplex).
Note: You can specify inputn=(pcl_bin=m) up to twenty times.
If the device_controls attribute is specified in the pcl2afpd.cfg file, an internal formdef is embedded in the pcl2afp output the transform generates and the plex command from the input file (simplex, duplex, or tumble) is recognized. The appropriate IMM (Invoked Medium Map) is used so the output of simplex, duplex, or tumble is specified in the input file.
log_file={WorkDirectory/pcl2afpd.log | PathName} DEFAULT=WorkDirectory/pcl2afpd.log
Specifies the file in which the transform daemon logs errors and messages when it converts a data stream from PCL to an AFP data stream.

Valid keyword values are:

WorkDirectory/pcl2afpd.log
This is the default log file, where WorkDirectory is the value of the work_directory keyword. The default work directory is /var/psf/pcl2afp.
PathName
The full path name of a log file

log_size={100 | Size} DEFAULT=100
Specifies in kilobytes how large the log file can get before it is renamed <log_file>.bak and a new empty log file is used.
mail_command={/usr/bin/mail | PathName}DEFAULT=/usr/bin/mail
Specifies the executable file that the pcl2afp command uses to send transform status notifications.

Valid keyword values are: