Ricoh InfoPrint Pro C900AFP InfoPrint Manager - Page 178
Using the sample MVS Download exit program, Customizing the sample exit program
View all Ricoh InfoPrint Pro C900AFP manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 178 highlights
Using the sample MVS Download exit program In the sample mvsdsubm files, the Exit performs these operations using the eight parameters that are passed to it. 1. Issues a pdpr print command to submit the file (parameter #1) to the specified target destination (parameter #3), with the indicated InfoPrint print parameters (parameter #5). 2. If the job prints successfully, the Exit will erase the print job file (parameter #1). 3. If the job does not print, the Exit will log an error in the MVS Download error file and terminate the receiver. Parameters Definition #1 The name of the file that contains data received from the MVS JES spool #2 MVS JES destination control parameters #3 InfoPrint target destination (printer) where the job is submitted #4 MVS Download receiver name #5 InfoPrint print parameters #6 The port number used by this receiver #7 Additional exit parameter specified when the receiver was created #8 Indicator that indicates whether trace is on. A value of zero indicates trace is off. Any other value indicates trace is on. In addition, the Visual Studio exit has support for the multiple data set function in MVS Download and AFP Download Plus. Customizing the sample exit program You can customize the mvsdsubm.c to allow the Exit to perform differently. For example, you might want to modify the Exit so that it ignores the InfoPrint Manager print parameters (parameter #5) and processes only the MVS JES destination control parameters themselves (parameter #2). Or, you could remove the pdpr call and change it to any applicable program or OS command call. For instance, you could have the Exit copy or archive the data file (parameter #1). Note: If you specify a DCF that contains no statements, InfoPrint will pass parameter #5 as a null string. Copying the sample exit: To customize the sample Exit, you should not change the sample itself, because if you ever need to reinstall InfoPrint Manager, all of your changes will be lost. Instead, copy the fileset into a directory outside of the directory that you have InfoPrint Manager installed in and make your changes to that version. Note: You must have access to Microsoft Visual Studio 2005 to customize the Exit. To complete the process: 1. Log on to the system that your InfoPrint Manager server is installed on. 2. Decide which directory you would like to store your new exit in or create a new one for it. 3. Navigate to the \exits\mvsd directory, where is the directory that you installed InfoPrint Manager in, using Windows Explorer or the My Computer icon. 160 InfoPrint Manager for Windows: Procedures