PRINT Examples

Example 1: Print one copy of INPUT.ROFF, two copies of OUTPUT, and one of INDEX.

CI> print input.roff output output index

Example 2: Send the OUTPUT file to LU 12 instead of LU 6.

CI> print output 12

Example 3: Print every file in the current directory that has a type extension of .FTN.

CI> print @.ftn

Example 4: Send several files to LU 24 instead of LU 6.

CI> print 24 kalderesult src/kalde@

Example 5: Print MV.HELP from the current directory along with the following files:

/HELP/RN/HELP/TUTORIALS/CI
/HELP/MO/HELP/TUTORIALS/MAKE
/HELP/CO/HELP/TUTORIALS/MACRO
CI> print mv.help +w:/help rn mo co +w:/help/tutorials ci make macro

Example 6: Print the following files:

SRC/PLIBF.FTNSRC/PLIBM.MACHELP/PRINTHELP/FILES /SCRATCH/OUTCI> print +w:src plibf.ftn plibm.mac +w:help print files /scratch/out

Note that SRC and HELP are subdirectories of the current directory; /SCRATCH is a global directory. Working directories without a leading slash are interpreted as relative to the working directory.

Example 7: Print the file MV.HELP from the current working directory and the first occurrence of &PLIBF found on a FMGR cartridge.

CI> print mv.help +w:0 &plibf

The PRINT Utility 49