PRINTJOB ... ENDPRINTJOB Command

See Also

Activates the settings for print job system variables.

Syntax

PRINTJOB
  Commands

ENDPRINTJOB

Arguments

Commands

Specifies the Visual FoxPro commands that are executed until the print job is completed.

Remarks

PRINTJOB ... ENDPRINTJOB initializes the printer and certain system variables that affect printed output. It can send control codes to the printer, eject a page from the printer before and/or after a print job, initialize the printer column number, and control the number of copies printed.

PRINTJOB performs these tasks:

ENDPRINTJOB performs these tasks:

PRINTJOB and ENDPRINTJOB may be executed only from within a program. You may not nest PRINTJOB ... ENDPRINTJOB commands.