Print help file to PDF or PS
Syntax
hlp2pdf command [, REPLACE]
Description
hlp2pdf prints the help file for a Stata command (official or user-written) to PDF format via the Viewer in Mac OS X, where PDF is a native format supported by all applications. For other systems, hlp2pdf creates a PostScript file (.ps) which may be converted to PDF with an appropriate translator (e.g. ps2pdf for *nix). The PDF (or PS) file is created in the current working directory (pwd). You may have to adjust the width of the Viewer manually before using the command to ensure that the text is not truncated.
Options
replace specifies that the existing file is to be overwritten.
Saved results
r(printfile) is the name of the file created, with directory name prefixed.
Author
Kit Baum (Boston College) Email: baum@bc.edu