KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Distinction between * vs. > parameters in PRINT commands
PRODUCT: 4D | VERSION: 18 | PLATFORM: Mac & Win
Published On: November 17, 2020

When using print commands such as PRINT RECORD or PRINT SELECTION, there is usually a final parameter available to configure print settings before printing commences. In this last parameter, either a '*' or a '>' can be used, both will suppress the printing dialog box. At first glance, these may seem to do the same thing in regards to print settings. The distinction is that using '*' will cause the print job to use default print parameters (or those defined by SET PRINT OPTION), while using '>' will cause the print job to use customized print parameters (such as those defined by BLOB to print settings).

For example, if you call something like this:

BLOB to print settings($printSettings)
PRINT SELECTION([Table_1];*)

The default print settings will be used instead of those defined in BLOB to print settings.
However, if you call this instead:

BLOB to print settings($printSettings)
PRINT SELECTION([Table_1];>)

The print settings defined in BLOB to print settings will be used.