4D v14.3

OPEN PRINTING JOB

Home

 
4D v14.3
OPEN PRINTING JOB

OPEN PRINTING JOB 


 

OPEN PRINTING JOB  
Does not require any parameters

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 plug-in, as well as most third-party plug-ins. In addition, it cannot carry out a print preview under Windows

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 but printing is performed at the global level. Only one print job can be open at a time in 4D, all processes taken together.

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.

 
PROPERTIES 

Product: 4D
Theme: Printing
Number: 995

 
HISTORY 

Created: 4D v11 SQL

 
SEE ALSO 

CLOSE PRINTING JOB

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)