To maintain compatibility with RealityX 3.1 Procs which use SP-DEVICE, the following syntax can be used.
SP-DEVICE form-queue device-type device-id {blocksize density label}
form-queue is the name of the new formqueue comprising alphabetic, numeric or special characters (excluding asterisks and embedded spaces). It cannot comprise a single numeric character.
device-type is the type of output device assigned to the formqueue, as follows:
PTR Port, or Private Printer on a UNIX host.
TAPE Tape Unit.
SYS System Printer.
0 No Device.
device-id is a name or number assigned to the output device. Valid device-ids for the three device types are as follows:
SYS The destination name of a system printer.
PTR A number from one to the maximum number of ports configured on your system, or a UNIX printer name for a private printer.
TAPE A number from one to the maximum number of tape units configured on your system.
blocksize is the tape record size in the range 500 to 16384 bytes. The default is 1024 bytes.
density is the tape density (bpi), which can be 800, 1600, 3200, or 6250. The default is 1600 bpi.
label specifies the type of label the Spooler writes to tape:
0 for no label;
1 for a Reality 50-byte label;
Normally, a label of type 0 is used, as shown in the example, below. A label of type 1 is used to write print jobs to tape for reading on a system running pre-7.0 Reality.
The software concatenates device -type and device-number to generate a Despooler name. For example:
At database update the software gives you the option to create Despooler definitions PTR1 to PTR99 and TAPE1 to TAPE99.
To assign tape device 1 to the formqueue TYPING with a block size of 2048 bytes, tape density 6250 bpi and no tape label, enter:
SP-DEVICE TYPING TAPE 1 2048 6250 0
Note: The SP-TAPE-OUT command can be used to transfer a print job from tape to a formqueue.