Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>getpxlat()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GETPXLAT()
 Retrieves the current printer table
------------------------------------------------------------------------------
 Syntax

     GETPXLAT() --> cPrintTable

 Returns

     GETPXLAT() returns the entire print table or returns an empty character
     string if a print table has not been defined.

 Description

     GETPXLAT() retrieves the current printer table set by SETPXLAT().  The
     string returned can be assigned to a variable and restored later.  If
     you use a printer with different font styles, this function allows you
     to switch print tables as required.

 Examples

     .  Save the existing table:

        cOldTab  := GETPXLAT()

     .  Install new table:

        SETPXLAT(......)
        SETPXLAT(......)
        SETPXLAT(......)

     .  Output to another printer:

        SET PRINTER TO LPT2

     .  Restore the old table starting at position 0:

        SETPXLAT(0, cOldTab)


See Also: SETPXLAT()

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