You are here: Development Standards > Routines > General Routines > GENFPRNT.PUB

# GENFPRNT.PUB

GENFPRNT.PUB is a public program that prints multiple copies of a form using the information stored in the forms codes file.

`0060 ENTER COPIES,FORM_TYPE$,PRINT_DEVICE$,PRINT_CHANNEL,DEVICE$,CHANNEL,OSGUI$,FILE[ALL],INVCINFO$`

Variable | Description
COPIES | The number of copies of the form to print
FORM_TYPE$ | The Form Code ID for the form being printed
PRINT_DEVICE$ | The device ID for the printer
PRINT_CHANNEL | The channel number on which the print device is OPENed
DEVICE$ | The name of the temporary print spool file
CHANNEL | The channel number on which the temporary file is OPENed
OSGUI$ | GUI template (see GENGURES.PUB for more detail)
FILE[ALL] | Standard file array
INVCINFO$ | Template used for BBj form information. Template is dimensioned if a BBj form is currently processing.

Exit Points | Explanation
EXIT | GENFPRNT.PUB does not return any errors.