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>lsetup()</b> <b>printwks.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
lsetup()                                                          PRINTWKS.PRG
------------------------------------------------------------------------------------------
 Purpose
   Write printer setup string into the spreadsheet

 Syntax
   Lsetup( aSpreadsheet,cSetup )

 Parameters
   aSpreadsheet   - Spreadsheet handle array
   cSetup         - Printer setup string

 Returns
   nStatus

 Example
function DemoWks
    LOCAL aWks := Lcreate("SALES.WK1")
    if !empty(aWks)
       Lsetup(aWks,"/015")
       Lclose(aWks)
    endif
return nil

 Notes
   The printer setup string can include imbedded ASCII codes by using the
   backward slash followed by the three digit ASCII code.  For example,
   \015 would be used to set condensed mode on most Epson printers.  If
   multiple characters are needed, no space should be used to separate them.

 Category
   Creating spreadsheet files

See Also: Lmargins()

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