OPEN PRINTING JOB

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11


OPEN PRINTING JOB

ParameterTypeDescription
This command does not require any parameters

Description

The OPEN PRINTING JOB command opens a print job and stacks all the subsequent printing orders there until the CLOSE PRINTING JOB command is called. This command lets you control the print jobs and, more particularly, ensure that no other unexpected print job can be inserted into a printing sequence.

The OPEN PRINTING JOB command can be used with all the 4D printing commands, the quick report commands, and the printing commands of the 4D Write and 4D View plug-ins. On the other hand, this command is not compatible with the 4D Chart and 4D Draw plug-ins, as well as most third-party plug-ins.

When a print job is opened with this command, the printer is placed in "busy" mode until the printing is actually launched. If a noncompatible plug-in launches a print job in this context, the "printer busy" error is returned.

You must call the CLOSE PRINTING JOB command to terminate the print job and send the print document to the printer. If you omit this command, the print document will remain in the stack and the printer will not be available until you quit the 4D application.

The print job is local to the process. It is possible to open as many print jobs as there are processes. Naturally, in this case it is necessary to have several printers since each printer will be busy until the end of the job.

OPEN PRINTING JOB uses the current print settings (default settings or set using the PAGE SETUP and/or SET PRINT OPTION commands). The commands that modify the print settings must be called before OPEN PRINTING JOB. Otherwise, an error is generated.

See Also

CLOSE PRINTING JOB.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next