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>dfprncfg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfPrnCfg()
Sets the internal array with printer settings
------------------------------------------------------------------------------
Syntax:

     dfPrnCfg( <aBufPrn> ) --> NIL

Parameters:

     <aBufPrn>  Array containing the current printer settings.

Returns:

     NIL

Description:

     Sets the internal array of printer settings. The variables that can be
     set are defined in dfReport.ch, and are labelled EXTERNAL. Other
     INTERNAL variables are set by this function and LAYOUT variables are
     set when the printer layout is chosen.

Example:

     LOCAL aBuffer := Array(REP_BUFFER_LEN)
     LOCAL aVirtual := {}
     LOCAL aRec := dfVRCreate() // Create an entry
                // in the virtual record
     // ...
     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

See also:

     dfPrnArr(), dfPrnStart()

See Also: dfPrnArr() dfPrnStart()

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