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>dfprnarr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfPrnArr()
Returns the array of printer configuration
------------------------------------------------------------------------------
Syntax:

     dfPrnArr() --> aPrnBuf

Parameters:

     NONE

Returns:

     <aBufPrn> Array containing the configuration of current printer.

Description:

     Returns the array of printer configuration

Example:

     LOCAL aBuffer := Array(REP_BUFFER_LEN)
     LOCAL aVirtual := {}
     LOCAL aRec := dfVRCreate() // Create an entry
                          // in the virtual record
     LOCAL aPrint
     // ...
     dfVRAddFle( aVirtual, {}, aRec ) // add it to the
                                      // virtual record
     // ...
     aBuffer[ REP_RH ] := {|| PageHeader() }
     aBuffer[ REP_PB ] := {|| PageBanner() }
     aBuffer[ REP_PF ] := {|| PageFooter() }
     dfPrnCfg( aBuffer )  // Configure the printer
     
     // ...
     aPrint := dfPrnArr() // Read the configuration

See also:

     dfPrnCfg(), dfPrnChk(), dfPrnStart()

See Also: dfPrnCfg() dfPrnChk() dfPrnStart()

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