printTextCommand resource

From The x3270 Wiki
Type Default Option
string lpr -J "%E% screen"

On POSIX systems, defines the command used to print screen snapshots via the PrintText() action or with screen tracing.

The screen contents are provided as standard input to the command.

Within the command, the string %E% is replaced by the name of the emulator, e.g., x3270.