WR Print settings to BLOB

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

version 2004.2


WR Print settings to BLOB (area) BLOB

ParameterTypeDescription
areaLongint4D Write area
Function resultBLOBBLOB which stores the print settings

Description

The WR Print settings to BLOB command stores the current print settings of the 4D Write area in a BLOB. The area can be an external window, an included area or an offscreen area.

The BLOB stores all the settings used for printing:

Layout parameters (paper, orientation, scale);

Print parameters as such (number of copies, paper source, etc.).

Note: Under Windows, the settings stored in the BLOB include the printer.

This command can be used to save the print settings of the 4D Write area, regardless of the printer model and accessible print settings. The BLOB returned must not be modified by programming; it can only be used by the WR BLOB TO PRINT SETTINGS command (or the 4D Pack AP BLOB to print settings command).

The WR Print settings to BLOB command can be used for example to save the current print settings before modifying an option temporarily using the WR SET PRINT OPTION command. Once printing is completed, the WR BLOB TO PRINT SETTINGS command can be used to restore the current settings.

See also

WR BLOB TO PRINT SETTINGS.

System Variables or Sets

The system variable OK is set to 1 if the BLOB has been generated correctly and 0 if not.

Error Handling

The error 1014 is generated if no printer has been selected.


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