HARDCOPY

 

Syntax:

       Then: hardcopy

Prints the current screen. Works in conjunction with PFHCFF (when set to ON this environment variable adds a form feed after the screen print.)

 

Version Ref:  3.x

Description:

HARDCOPY lets you print a hardcopy from a processing table. It prints the current record, functioning like "H - Hardcopy" on the Inquire, Update, Add option line.

 

Restrictions:

May only be used on Input processing tables.

 

Examples:

      Then: input popup q(1,yn) "Do you want a hardcopy? (y/n) "

         If: q eq "y"
       Then: hardcopy

 

Note : When printing is directed to a spooler, the screen may not print immediately but will print after exiting "Inquire/Update/Add" mode. You may be able to override this with spooler options/controls provided by your operating system or by turning spooling "off" when there is a need for immediate printing. You can also use the "form" command (provided you have created a form with the desired fields) as an alternative to using the "hardcopy" command. See FORM for additional details.