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>dffile2laser()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfFile2Laser()
Prints a file on the laserjet printer
------------------------------------------------------------------------------
Syntax:

     dfFile2Laser( <cFile>, [<cTitle>],
                 [<cDevice>] ) --> 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"

Returns:

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

Description:

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

Example:

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

See also:

     dfPrnCfg()

See Also: dfPrnCfg()

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