Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CLIPWKS -Spreadsheet Library - <b>lprint()</b> <b>printwks.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
lprint()                                                          PRINTWKS.PRG
------------------------------------------------------------------------------------------
 Purpose
   Write select formatted or unformatted spreadsheet printing

 Syntax
   Lprint( aSpreadsheet,cMethod )

 Parameters
   aSpreadsheet   - Spreadsheet handle array
   cMethod        - (F)ormatted,(U)nformatted

 Returns
   nStatus        - 0 = All Ok
                   -6 = Invalid parameters

 Notes
   Spreadsheets are normally printed in formatted mode, showing both
   row and column headers.  You can instruct the spreadsheet to print
   either formatted or unformatted using the Lprint() function.

 Example
function PrnDemo
    LOCAL aWks := Lcreate("SALES","L3")
    if !empty(aWks)
       LPrint(aWks,"F")  // Specify formatted printing
       Lclose(aWks)
    endif
return nil

 Category
   Creating spreadsheet files

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