[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PRINTSCRX()
 Prints screen contents while it exchanges specific characters
------------------------------------------------------------------------------
 Syntax

     PRINTSCRX([<nPrinter>, [<cCharacter|nCharacter>]])
         --> lInstalled

 Arguments

     <nPrinter>  Designates the number of the printer where output is
     directed.  LPT(1) to LPT(3) are possible.

     <cCharacter|nCharacter>  Designates a character that replaces all
     non-printable characters during a "'Print-Screen".  The character can be
     numeric in the range of 0 to 255 or the character string type.

     ()  A call without parameters uninstalls the function.

 Returns

     PRINTSCRX() returns .T. when the extended Print Screen output is
     successfully installed.

 Description

     The PRINTSCRX() replaces the non-printable characters (code <32) in an
     output with other characters, but you can also select another printer.
     This way, Print Screen output is no longer forced to LPT1(PRN).  Not
     only does it influence PRINTSCR(), but also the use of SHIFT-PRINT-
     SCREEN.

 Note

     Warning!  The PRINTSCRX() function changes one of the system
     interrupts.  Therefore, prior to ending the program, uninstall this
     function by calling it without parameters.  You can use the CTUS.LIB
     Extended Drivers or the INTSAVE utility program.  The Extended Drivers
     automatically restores all interrupts to the same status they had at the
     beginning of the CA-Clipper application.

 Examples

     .  Print-Screen output to LPT3:

        PRINTSCRX(3)

     .  Exchange non-printing characters for spaces.  Output to LPT2:

        PRINTSCRX(2, " ")

     .  Same as on previous page, second parameter numeric:

        PRINTSCRX(2, 32)


See Also: PRINTSCR() Introduction
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson