SPOOLER

SPOOLER function returns information from the jBASE spooler.

COMMAND SYNTAX

    SPOOLER(n{, Port | User})

SYNTAX ELEMENTS

Are as follows:

nDescription
1returns formqueue information
2returns job information
3forms queue assignment
4returns status information

Port limits the information returned to the specified port.

User limits the information returned to the specified user.

NOTES

SPOOLER(1) returns information about formqueues. The information is returned in a dynamic array, which contains an attribute for each formqueue. Each formqueue is structured as follows:

MultivalueDescription
1Formqueue name
2Form type
3Device
4Device type
5Status
6Number of jobs on the formqueue
7Page skip

SPOOLER(2) returns information about print jobs. The information is returned in a dynamic array, which contains an attribute for each print job.

MultivalueDescription
1Formqueue name
2Print job number
3Effective user id
4Port number job generated on
5Creation date in internal format
6Creation time in internal format
7Job Status
8Options
9Print job size (pages)
10Copies
11Reserved
12Reserved
13Reserved
14Effective user id
15Real user id
16Application id as set by
@APPLICATION.ID
17JBASICLOGNAME id

SPOOLER(3) returns information about current formqueue assignments. The information is returned in a dynamic array, which contains an attribute for each assignment. Each attribute is structured as follows:

MultivalueDescription
1Report (channel) number
2Formqueue name
3Options
4Copies

SPOOLER(4) returns information about current print jobs. The information is returned in a dynamic array, which contains an attribute for each job being generated. Each attribute is structured as follows:

MultivalueDescription
1Report (channel) number
2Print job number
3Print job size (pages)
4Creation date in internal format
5Creation date in internal format
6Job Status
7Effective User id
8Real user id
9JBASICLOGNAME id
10Banner test from SETPTR BANNER
text command

The values for Job Status are:

StatusDescription
1Queued
2Printing
3Finished
4Open
5Hold
6Edited
Last update: Sat, 16 Jul 2022 15:34