DFtextps

DFtextps — Convert one or more input files into PDF

Synopsis

DFtextps [-PDF] [-A4] [-h] [-n #] [-d] [ [-1] | [-2] | [-4] ] [-p #] {file...}

Description

DFtextps is a utility program that converts plain text input files to PDF. If no input files are named, the input is taken from standard input.

The resulting PDF is sent to standard output where it can be re-directed to a file.

Options

-PDF

create a PDF output file. This is the default behavior. The option is present for backwards compatibility only.

-A4

format for A4 size paper. The default is US letter.

-h

apply a standard header to each page.

-n #

start the page numbering at # instead of 1.

-d

double-space the output.

-1, -2, -4

format the output in 1-up, 2-up, or 4-up mode

-p #

use # as the default point size.

file

one or more input files.

Exit Status

DFtextps exits with one of the following statuses:

0

The command was successful.

1

One or more errors were encountered.

36

The required command-line arguments were not present or were incorrectly specified.

Examples

Example 3.75. Print output from DF_SSvisitmap report

Run the DFdiscover report DF_SSvisitmap for study 1, saving the output as a PDF document.

% /opt/dfdiscover/reports/DF_SSvisitmap 1 | /opt/dfdiscover/bin/DFtextps > visitmap.pdf