Identify exit points for network print server.
The network print server has two exit points defined:
The QIBM_QNPS_ENTRY exit point is defined to run an exit program when the network print server is started. The exit program can be used to verify access to the server. For more information, see Printer Device Programming, SC41-5713-03.
Offset | Type | Field | Description | |
---|---|---|---|---|
Dec | Hex | |||
0 | 0 | CHAR(10) | User profile name | The name of the user profile that is calling the server |
10 | A | CHAR(10) | Server identifier | For the network print server, the value is QNPSERVR. |
20 | 14 | CHAR(8) | Format name | The user exit format name being used. For QIBM_QNPS_ENTRY the format name is ENTR0100. |
28 | 1C | BINARY(4) | Function identifier | The function being performed For QIBM_QNPS_ENTRY the value is X'0802'. |
Note: This format is defined by member
ENPSEP in files H, QRPGSRC, QRPGLESRC, QLBLSRC and QCBLLESRC in library QSYSINC.
|
The QIBM_QNPS_SPLF exit point is defined to run an exit program after the network print server receives a request to process an existing spooled output file. The program can be used to perform a function on the spooled file, such as fax the file. For more information, see Printer Device Programming, SC41-5713-03.
Offset | Type | Field | Description | |
---|---|---|---|---|
Dec | Hex | |||
0 | 0 | CHAR(10) | User profile name | The name of the user profile that is calling the server |
10 | A | CHAR(10) | Server identifier | For the network print server the value is QNPSERVR |
20 | 14 | CHAR(8) | Format name | The user exit format name being used. For QIBM_QNPS_SPLF the format name is SPLF0100. |
28 | 1C | BINARY(4) | Function identifier | The function being performed For QIBM_QNPS_SPLF, the value is X'010D'. |
32 | 20 | CHAR(10) | Job name | The name of the job that created the spooled file |
42 | 2A | CHAR(10) | User name | The user profile of the job that created the spooled file |
52 | 34 | CHAR(6) | Job number | The number of the job that created the spooled file |
58 | 3A | CHAR(10) | Spooled file name | The name of the spooled file being requested |
68 | 44 | BINARY(4) | Spooled file number | The number of the spooled file being requested |
72 | 48 | BINARY(4) | Length | Length of the spooled file exit program data |
76 | 4C | CHAR(*) | Spooled file exit program data | Spooled file exit program data consists of additional information used by the exit program that has registered for exit point QIBM_QNPS_SPLF. The client application provides the spooled file exit program data. |
Note: This format is defined by member
ENPSEP in files H, QRPGSRC, QRPGLESRC, QLBLSRC and QCBLLESRC in library QSYSINC.
|