× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, it helped.

On Monday, March 24, 2025 at 06:48:33 PM GMT+1, Sam_L <lennon_s_j@xxxxxxxxxxx> wrote:

Would this help?
https://comp.sys.ibm.as400.misc.narkive.com/i4FjN46w/using-the-print-screen-function-from-a-program

Sam

On 3/24/2025 11:41 AM, cesco via RPG400-L wrote:
Hello everyone,
does anyone know or have experience if there is a possibility to obtain the same function of "hostprn" button but calling it programmatically RPG side?
"hostprn" button (you can access it via keyboard or pressing the second mouse button in 5250 ACS using the virtual pad) will produce an as400 spool file with the copy of the screen.I've used it during normal OS/400 use sometimes.
Possible to obtain the same result with an RPG CALL (via some API)?Furthermore, how to declare a DDS to accept "hostprn" in a program explicitely (on demand use via button)?
thx for any insights!



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.