Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dffile2prn()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfFile2Prn()
Prints a file on the currently selected printing device
------------------------------------------------------------------------------
Syntax:

     dfFile2Prn( <cFile>, [<cTitle>],
                 [<cDevice>], [<cSetup>] ) --> lSuccess

Parameters:

     <cFile>    File name.
     <cTitle>   Title to use as PROGRESS-INDICATOR
     <cDevice>  "LPT1", "LPT2", "LPT3", "LPT4", "LPT5",
     "LPT6", "LPT7", "LPT8", "LPT9", "COM1",
     "COM2", "COM3", "COM4" DEFAULT "LPT1"
     <cSetup>   String to use for setup

Returns:

     <lSuccess> Is .T. if the report was correctly printed

Description:

     Prints a text file on a printing device, performing the commonly used
     controls: printer not ready, printer not connected...

Example:

     dfFile2Prn( "c:\config.sys" ) // Print config.sys file

See also:

     dfPrnCfg()

See Also: dfPrnCfg()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson