User Tools

Site Tools


print_print_a_source_file_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #PRINT (print a source file) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#PRINT( file, title )

blk2blue.jpg

#PRINT Prints a file to the current Windows printer.
file A string constant, template symbol, or expression containing a DOS file specification. This may be a fully qualified DOS pathname.
title A string constant, template symbol, or expression containing the title to generate for the file.

The #PRINT statement prints the contents of the file to the Windows default printer.

Example:

#FOR(%Module)

 #SET(%ModuleFile,(%Module & '.CLW'))           #!Set to existing module file

#PRINT(%ModuleFile,'Printout ' & %ModuleFile)

#ENDFOR

print_print_a_source_file_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)