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

# GENT2PDF.PUB

GENT2PDF.PUB is a public program that will convert a text file into a PDF file.

`0060 ENTER INFILE$,OUTFILE$,OUTCOLS,MSG$`

Variable | Description
INFILE$ | Text file to be converted.
OUTFILE$ | PDF file path and name created by the conversion.
OUTCOLS | Expected number of columns per line. This determines the font used in the conversion process.
MSG$ | Not used

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