I would like to get a screen shot after a user presses a special function key. I will then call another program to process the QSYSPRT output for special purposes. I could, of course, easily transfer the output record of the screen file but I need thewhole screen, constants etc. included. And I don't want to change the usual function of the Print Key. Is there an API or anything else callable which produces the QSYSPRT output? Using V7R3.
Thanks a lot in advance.Maybe you should use the PRINT Keyword in a Display file to specify a particular printer-file for the print-screen or have the program get the control.
Il 19.12.2021 15.51, Thomas Welsch ha scritto:the whole screen, constants etc. included. And I don't want to change the usual function of the Print Key. Is there an API or anything else callable which produces the QSYSPRT output? Using V7R3.
I would like to get a screen shot after a user presses a special function key. I will then call another program to process the QSYSPRT output for special purposes. I could, of course, easily transfer the output record of the screen file but I need
Thank you very much for your fast response. Unfortunately, I have two problems with the solution proposed by you: I don't want to use the PRINT Keyword as I would like to keep the normal functioning of a screen shot, I'd prefer to use a function key forThanks a lot in advance.Maybe you should use the PRINT Keyword in a Display file to specify a particular printer-file for the print-screen or have the program get the control.
I would like to get a screen shot after a user presses a special function key. I will then call another program to process the QSYSPRT output for special purposes. I could, of course, easily transfer the output record of the screen file but I need thewhole screen, constants etc. included. And I don't want to change the usual function of the Print Key. Is there an API or anything else callable which produces the QSYSPRT output? Using V7R3.
Thanks a lot in advance.
Il 19/12/2021 15:51, Thomas Welsch ha scritto:the whole screen, constants etc. included. And I don't want to change the usual function of the Print Key. Is there an API or anything else callable which produces the QSYSPRT output? Using V7R3.
I would like to get a screen shot after a user presses a special function key. I will then call another program to process the QSYSPRT output for special purposes. I could, of course, easily transfer the output record of the screen file but I need
On Monday, December 20, 2021 at 8:22:07 PM UTC, angelo__ wrote:the whole screen, constants etc. included. And I don't want to change the usual function of the Print Key. Is there an API or anything else callable which produces the QSYSPRT output? Using V7R3.
Il 19/12/2021 15:51, Thomas Welsch ha scritto:
I would like to get a screen shot after a user presses a special function key. I will then call another program to process the QSYSPRT output for special purposes. I could, of course, easily transfer the output record of the screen file but I need
The only programmatic way I know of doing this is via the DSM APIs. That allows you to capture the entire screen content as it currently appears to the user. Since you appear to want to simply extract some of the data on the screen that might be theway to go. You'd have to know where in the buffer the field(s) were or have some way of identifying them.
I can dig out an RPG example for you if you want. Just let me know.This would be most helpful. Thanks in advance.
Jon Paris schrieb am Dienstag, 21. Dezember 2021 um 16:24:56 UTC+1:need the whole screen, constants etc. included. And I don't want to change the usual function of the Print Key. Is there an API or anything else callable which produces the QSYSPRT output? Using V7R3.
On Monday, December 20, 2021 at 8:22:07 PM UTC, angelo__ wrote:
Il 19/12/2021 15:51, Thomas Welsch ha scritto:
I would like to get a screen shot after a user presses a special function key. I will then call another program to process the QSYSPRT output for special purposes. I could, of course, easily transfer the output record of the screen file but I
way to go. You'd have to know where in the buffer the field(s) were or have some way of identifying them.The only programmatic way I know of doing this is via the DSM APIs. That allows you to capture the entire screen content as it currently appears to the user. Since you appear to want to simply extract some of the data on the screen that might be the
I can dig out an RPG example for you if you want. Just let me know.This would be most helpful. Thanks in advance.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 55:05:24 |
Calls: | 6,650 |
Calls today: | 2 |
Files: | 12,200 |
Messages: | 5,330,746 |