New in 4.2
SnapScreen() saves an image of the wc3270 screen in a bitmap file. It takes one parameter, the name of the file to save the image in. The name must end with .bmp.
.bmp
SnapScreen(foo.bmp)