HP 3000 Manuals

TPRINT [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

TPRINT 

Alters or displays the Transact/iX TPRINT option.

Syntax 

TPRINT [ON ]
       [OFF]
Parameters 

ON               Turns on the TPRINT flag to format the output generated
                 from the DISPLAY or OUTPUT verb for printing.  This
                 action is the same as the Transact/iX SET(OPTION) TPRINT
                 statement.

OFF              Turns off the TPRINT flag.

Discussion 

This command allows you to modify, programmatically, the Transact/iX
TPRINT option.  This allows you to selectively turn on or off the
line-printer formatting for DISPLAY or OUTPUT verb.  If neither ON or OFF
is specified, the current value of the TPRINT option is displayed, and
you can change it.

Example 

The following example shows how to use the TPRINT command.

     TRANDEBUG> TPRINT 

                  TPRINT FLAG CURRENTLY OFF

     CHANGE OPTION?(Y/N) N 

     TRANDEBUG> CONTINUE 
     Customer       Dollars Spent
     ----------------------------
     John Smith     $100.25
     Jane Doe       $201.75
     Joe Customer   $ 21.45

                BREAKPOINT ENCOUNTERED, EXECUTION STOPPED:

                SYSTEM          SEGMENT       OFFSET
                ------------------------------------
            1. PARENT                0           28

     TRANDEBUG> TPRINT ON 

     TRANDEBUG> CONTINUE  { output is in line printer format }
     Customer       Dollars Spent
     ----------------------------
     John Smith     $100.25
     Jane Doe       $201.75
     Joe Customer   $ 21.45

                BREAKPOINT ENCOUNTERED, EXECUTION STOPPED:

                SYSTEM          SEGMENT       OFFSET
                ------------------------------------
            1. PARENT                0           28

     TRANDEBUG> TPRINT OFF 



MPE/iX 5.0 Documentation