PURPOSE

FRMPRT - BEA TUXEDO System server to print a form

SYNOPSIS

FRMPRT
SRVID=n
[ CLOPT=" [ -A ]
[ other servopts options ]
 - 
[-C
\\"print command\\"]"]
[ additional configuration parameters ]

DESCRIPTION

FRMPRT is a server supplied with the BEA TUXEDO System to produce a printed copy of a data entry form. Application processes can use the maskprt(3c) function to send a request to FRMPRT to print a buffer like those used by the data entry system. From the shell, users can use the mio CTRL-y keystroke to request that FRMPRT print a copy of the current form. FRMPRT does the formatting, and places the image to be printed in a UNIX text file. The file is then output to a printer.

SRVID

A server id should be assigned so the server can more easily be managed by the tmadmin(1) command.
-A

This option says that the server should initially offer all services with which it was constructed. -A is the only valid specification; it is the default, so the argument can be omitted.
other servopts options

-s is not allowed, but other servopts(5) options not related to services may be of interest. For example, the -e and -o options can be used to direct standard error and standard output streams to a file. If any command line options are specified the entire CLOPT argument must be enclosed in quotation marks.
-C

specifies the command used to copy the formatted file to the output device. Each occurrence of the substring %s in the argument to -C is replaced by the name of the formatted file. If -C is unspecified, lp %s is used. If specified, the -C option must be preceded by a double dash (--) to separate it from the system-recognized options and identify it as an option processed after the server has been initialized. The argument to the -C option must be enclosed in quotation marks, which need to be escaped.
configuration parameters

In addition to the SRVID parameter listed above, other parameters from the SERVERS section of ubbconfig(5) can be specified for this server. For example, RQADDR to label a queue address, or SRVGRP to assign a group-id to the server.

NOTICES

While FRMPRT supports all options specified in servopts(5), some may not be useful. For example, the -s option is not useful with FRMPRT.

The environment variable MASKPATH should be set and exported.

EXAMPLES

This example causes FRMPRT to direct the formatted output to a file.


FRMPRT CLOPT="-A -e frmout -- -C \\"cat %s >/usr/xyc/maskout\\"" RQADDR=prtq SRVID=3

SEE ALSO

buildserver(1),
mio(1),
txrpt(1)
maskprt(3c)
servopts(5),
ubbconfig(5)
BEA TUXEDO Administrator's Guide,
BEA TUXEDO Programmer's Guide