[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson