Admin Alert: Alternative Ways to Print PC5250 Screens
June 13, 2007 Joe Hertvik
Most PC5250 green-screen users like using the Print Screen icon for sending screen shots to networked printers. However, there are two lesser-known PC5250 screen capture functions that can send screen shots to i5/OS output queues or to collect screen shots and print them as a group to a Windows networked printer, rather than printing each shot individually as they do when using Print Screen.
This week, I’ll look at two alternatives to PC5250’s Print Screen icon and the benefits they provide to your shop. While clicking on Print Screen is fairly easy for the users, these other alternatives offer a chance to better use existing resources or to provide different types of capabilities.
Alternative #1: Printing i5 and system i screens to an i5/OS output queue. Many people don’t realize that there is an older operating system function that allows users to automatically sends 5250 screen shots to an i5/OS output queue. This function is called HOST PRINT and it harkens back to the days when most users worked on dumb terminals that were hardwired to old System/38 and AS/400 boxes. Those terminals had a key called HOST PRINT that when pressed sent screen shots as spooled files to a user’s default output queue.
PC5250 emulates this function in software and a user can usually activate HOST PRINT and send their current screen to their default output queue by pressing the CTRL-PAUSE key combination. To view or change the default output queue for a user, you can check or change the Output queue parameter (OUTQ) in the user’s user profile description. This value can be viewed and modified by using the Work with User Profile command (WRKUSRPRF).
The benefits to using HOST PRINT over the Print Screen icon is that you can use your i5/OS resources for screen shot printing, rather than using standard network printers. You can also send screen shots to an inactive output queue where the shots can be reviewed and released en masse rather than being printed and retrieve one at a time as the user has to do when using the Print Screen icon.
While CTRL-PAUSE is the usual default keystroke combination for HOST PRINT, other articles have reported that HOST PRINT can also sometimes be associated with the CTRL-NumLock and the ALT-F12 key combinations. To locate which key HOST PRINT is assigned to in a particular PC5250 session, you can perform the following sequence.
Alternative #2: Bundling screen shots to be sent to a networked Windows printer as a group. As opposed to the Print Screen and Host Print techniques, the Collect Print Screen and Print Collected Screens functions allow users to collect a series of PC5250 screen shots and then print out those screen shots as a group to the Windows networked printer assigned to their PC5250 session. Here’s how it works.
For each user who wants to use this functionality, you assign the following two print screen functions to a key combination of your choosing in their PC5250 keyboard map (again, for instructions on customizing PC5250 keyboards, see “Customizing Keyboards in Personal Communications“. These functions are:
In my testing, I assigned the Collect Print Screens function to the ALT-C keystroke combination and I assigned Print Collected Screens to the ALT-P key combination. I then ran through a sequence of screens, pressing the ALT-C key to collect each one to my buffer. When I finished collecting and I wanted to print the screen, I simply pressed ALT-P once and my accumulated screens printed out at the same time in one stack on the printer.
The benefit to using these two Print Screen functions over both the Print Screen and HOST PRINT is that you can accumulate screen shots for one time printing, rather than printing out screen shots as ones-ies and two-ies all the time. All screen shots print out as one printer job, rather than printing individually and possibly becoming separated by other print jobs that slip in between your print screens.
Is One Technique Better than the Others?
In situations like this, there seldom is a clear-cut best way to do things. The Print Screen icon is easy to use but you can only print one screen at a time. HOST PRINT essentially performs the same activities as the Print Screen icon but it’s a native i5/OS solution that allows you to direct screen shot printouts according to system i and i5 resources, rather than what is currently running on your network. The Print Screens functions allow you to group and print several screen shots at one shot but it takes a little more time to configure for each user. The one you and your users choose is basically a matter of preference but it’s nice to have so many different voices on to set up screen shots printer capability for your users.
About Our Testing Environment
All configurations described in this article were tested on an i5 550 box running i5/OS V5R3. We also tested with the Personal Communications iSeries Access for Windows Workstation Program Version 5.7 for Windows (PC5250) for our keyboard mapping, and the PC5250 program came with iSeries Access for Windows V5R3M0. Most of the commands used here are also available in earlier versions of the i5/OS and OS/400 operating systems, so the configurations should be usable in prior releases. However, you may notice some variations in pre-V5R3 copies of these commands. These differences may be due to command improvements that have occurred from release to release.