4D v16.3OPEN PRINTING JOB |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
OPEN PRINTING JOB
OPEN PRINTING JOB
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. 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.
See also
|
PROPERTIES
Product: 4D
HISTORY
Created: 4D v11 SQL ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||