AS/400 HELP    

                                     "PRINTMON" 

 

PRINTMON   watches your AS/400 printers (up to 200). It uses  the API ‘QGYRPRTL’  in  library QGY.   PRINTMON  refreshes itself every 10 seconds.

 

PRINTMON  was written  and tested at V5R1.  As with all programs using APIs be aware that the formats may get bigger with new releases. You may have to make a few mods for a subsequent OS/400 release. 

(if you want a V3r7t to V4R5 version e-mail me)

 

PC INSTRUCTIONS:

Download "PRINTMON” to your PC.

Go to a DOS session and enter the following;

FTP SYSTEM                                        (system = your AS/400’s name or IP address)

Enter a valid user id and password

CD QGPL

LCD C:\DIRECTORY (directory= the directory on your pc where you downloaded “printmon.savff”

QUOTE    SITE     NAMEFMT   1

BIN

PUT       PRINTMON.SAVF

QUOTE   RCMD   RSTLIB   SAVLIB(PRINTMON)   DEV(*SAVF)   SAVF(QGPL/PRINTMON)

 Note:  If there is a security problem restoring all objects with the command above,  sign on to your as/400 as Qsecofr and run RSTLIB  from the command line.

   DOWNLOAD printmon.savf                        

 

 

AS/400 INSTRUCTIONS:

ADDLIBLE PRINTMON

PRINTMON

 

NOTE:    Display format PRINTMONFM was compiled with   WAITRCD(10)   You can change the refresh rate of PRINTMON by recompiling PRINTMONFM with a different WAITRCD time.  I don’t recommend using less than 10 seconds.   You can also use  the command CHGDSPF FILE(PRINTMON/PRINTMONFM) WAITRCD(NN)    NN= the amount of seconds to wait before the screen is refreshed. Eg 15