![]() Configuring Report/Update Printer Options |
![]() DEVELOPER |
![]() |
Configuring Report/Update Printer Options
If you want a report to always print on a specific printer, for example, to use special stationary, you must specify the device at the function level in the Report/Update Options ($SPOOL) screen. This screen contains the same fields as the System Defaults screen; see Defining a Logical Device for more information. In addition, the fields described in the table below are available for consideration.
Note that you can specify a logical device in the Report Device Name field when defining spooler configuration parameters for a specific report, e.g. LP1. When you specify a logical device, the virtual spooler table is reference and the printer output is then directed to the corresponding printer device.
Report/Update ($SPOOL) Options
Field Name |
Char Type/Len |
Action
|
Considerations |
SYS OUT |
A1 |
Under O/S enter the output class of the spooler; under DOS, enter the device class. |
Supported on Mainframe only Y = Specifies that this terminal’s default system output class is under OS, and the device class is under DOS. N = Suppresses this feature. (default) |
QUEUE NO |
A1 |
Enter one of the following values: 1-9, A-Z, a-z (not 0). |
A value in this field indicates that this function, report, or update, executes in background processing in the priority order that is assigned when they are queued. It continues processing through the `linked' functions, as long as they are report or update functions. PROIV terminates the background processing when it encounters a screen or menu function. If this field is blank, the report or update executes in foreground mode. |
PRIORITY |
N1 |
Enter a value from 1 to 9. |
This field works in conjunction with the QUEUE NO to control the priority of the report or update within the queue. The lower the number, the higher the priority. Functions flagged for background processing in 'C' systems, and will not gen in foreground. |
PARTITION |
|
|
No longer supported. |
PRINTER |
A1 |
Press WINDOW to display the Printer Controls window. |
Allows you to specify Override Width and Length, and other printer control settings for 'D' type Report functions. |
Printer Controls Options
The Printer Control window displays when you press WINDOW from the Printer field in $SPOOL.
Field Name |
Char Type/Len |
Action |
Considerations |
OVERRIDE LENGTH |
N2 |
Enter the maximum number of lines to printed per page. |
|
OVERRIDE WIDTH |
N2 |
Enter the maximum number of character to be printed per line. |
|
EJECT AT END |
A1 |
Enter Y or N. |
Y = Send a page eject command at the end of the report N or Blank = (Default) Suppress this feature. |
LINEFEED ACROSS PAGE |
A1 |
Enter Y or N. |
Y = Use a line feed to cause a page break in the report. N or Blank = (Default) Suppress this feature. Normally a form feed is used to break pages. This field lets you use line feeds, which are useful for output devices that are line based (line printers) and not page-based (most laser printers). |
START STRING |
A40 |
Enter the hex string to be sent to the output device before the start header has been printed. |
Example: if the report is sent to a PCL compatible device, the appropriate PCL codes (in hex) are entered here. The codes are submitted to the output device prior to the c ode for the start header. All hex codes must be 2 ASCII characters in the range 0-9, A-F. PROIV delimits based on paired sequences. If you use spaces or other punctuation, the results are unpredictable. |
END STRING |
A40 |
Enter a hex string that is sent to the output device after the end header has been printer. |
Example: if the report is sent to a PCL compatible device, the appropriate PCL codes (in hex) are entered here. The codes are submitted to the output device prior to the code for the end header. All hex codes must be 2 ASCII characters in the range 0-9, A-F. PROIV delimits based on paired sequences. If you use spaces or other punctuation, the results are unpredictable. |
Topic ID: 730038