4D Write v14

WR Print settings to BLOB

Home

 
4D Write v14
WR Print settings to BLOB

WR Print settings to BLOB 


 

WR Print settings to BLOB ( area ) -> Function result 
Parameter Type   Description
area  Longint in 4D Write area
Function result  BLOB in BLOB which stores the print settings

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.

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

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

 
PROPERTIES 

Product: 4D Write
Theme: WR Printing
Number: 89419

The OK variable is changed by the commandThis command modifies the Error system variable

 
HISTORY 

Created: 4D Write 2004.2

 
SEE ALSO 

WR BLOB TO PRINT SETTINGS

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)