AP PrintRec to text

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

version 6.8 (Modified)


AP PrintRec to text (text) Longint

ParameterTypeDescription
textTextText that contains the parameters
Function resultLongintError code
-1, if you do not have access to the parameters
-2, if the text cannot be re-allocated
-3, if the text cannot be correctly interpreted

Description

Compatibility note: Starting with version 6.8 of 4D Pack, this command no longer works under MacOS.

Under Windows, this command returns a text variable containing the Windows printing settings.

You can then analyze byte by byte these settings, modify them, then use them with the AP Text to PrintRec. Thanks to this command, you can use the same printing settings between two working sessions or use different settings according to the pages.

The error code returned indicates if the command has been executed properly.

See Also

AP Text to PrintRec.


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