printer.assocCommandLine resource

From The x3270 Wiki
Type Default Option
string varies

Note: This resource is for debug purposes only. To add optional parameters to the printer session command line, use the printer.options resource.

Defines the command to use to start a printer session, when associated with the current TN3270E session LU (when the printerLu is .). Within the string, the following substitutions are made:

%C%
The value of the printer.command resource (POSIX only)
%H%
The current host name
%I%
An option to pass the value of printer.codepage resource (Windows only)
%L%
The current session's LU
%O%
The value of the printer.options resource
%P%
The current session's proxy option (the proxy resource)
%R%
An option to pass the host code page
%S%
An option to pass the port of the sync socket
%V%
TLS-related options

The default value for POSIX is:

pr3287 -assoc %L% -command %C% %R% %P% %V% %S% %O% %H%

The default value for Windows is:

pr3287.exe -assoc %L% -command %R% %P% %V% %S% %I% %O% %H