KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Applying single-page settings to multiple print jobs
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: August 8, 2002

Compatibility: 6.7.x and 6.8.x


In some methods, a print command such as PRINT SELECTION or PRINT RECORD can be executed multiple times. Each execution is independent and considered to be a separate print job. If you want to manually apply a page setting to all print jobs, you must execute all print commands with the parameter ">". This ">" parameter causes a print job without reinitializing the current print parameters.

e.g.

PRINT SETTINGS `User defines print parameters
If (OK=1)
OUTPUT FORM([Employees];"Detailed") `Use the first print form
PRINT RECORD([Employees];>) `Print using user-defined parameters
OUTPUT FORM([Employees];"Simple") `Use the second print form
PRINT RECORD([Employees];>) `Print using user-defined parameters
OUTPUT FORM([Employees];"Output") `Restore default output form
End if