4D v16.3BLOB to print settings |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
BLOB to print settings
BLOB to print settings
The BLOB to print settings command replaces the current 4D print settings with the parameters stored in the printSettings BLOB. This BLOB must have been generated by the Print settings to BLOB command or the _o_AP Print settings to BLOB 4D Pack command (see below). The params parameter allows you to define how to handle the basic "number of copies" and "page range" settings:
The print settings are applied to the current printer and for the whole session, as long as no command such as PAGE SETUP, SET PRINT OPTION or PRINT SELECTION without the > parameter modifies them. The parameters set are used more particularly by the PRINT SELECTION, PRINT LABEL, PRINT RECORD, Print form and QR REPORT commands, as well as by the menu commands of 4D, including those of the Design environment. The PRINT SELECTION, PRINT LABEL, and PRINT RECORD commands must be called with the > parameter (if applicable) in order for the settings defined by BLOB to print settings to be kept. The command returns one of the following status codes:
(*) Settings depend on the currently selected printer at the moment the BLOB was saved. Applying these settings to a another printer is supported if both printers are of the same model. If the printers are different, only common parameters will be restored. The printSettings BLOB can be saved and read on both platforms. However, even if some print settings are common, some others are platform-specific and depend on the drivers and system versions. If the same printSettings BLOB is shared between both platforms, you may lose parts of the information. The print settings BLOBs generated by the legacy _o_AP Print settings to BLOB command from 4D Pack can be loaded and used by the BLOB to print settings command. Note however that if they are saved using Print settings to BLOB, they are converted and can no longer be opened using _o_AP BLOB to print settings. The BLOB to print settings command stores much more printing information than _o_AP Print settings to BLOB. You want to apply print settings previously saved to disk to the current 4D printing context: C_BLOB(curSettings)
See also
|
PROPERTIES
Product: 4D HISTORY
ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||