Resolving Spooler and Error Messages

The following sections give brief descriptions of some of the that can occur in response to the SP-STATUS, STARTPTR, and STOPPTR commands.

SP-STATUS Error Messages

The following error messages can occur in response to the SP-STATUS command.

THE CONTROL BLOCK FOR PRINTER #a IS IN AN AMBIGUOUS STATE. DELETE THE PRINTER FROM THE SPOOLER SYSTEM.

Occurs if the SP-STATUS command was executed at the wrong time. Enter SP-STATUS again to see if the message persists.

ERRONEOUSLY, THE PRINTER HAS NO OUTPUT QUEUES ASSIGNED TO IT.

Indicates a printer error. Stop the printer with STOPPTR, then restart it with STARTPTR. If this doesn’t work, delete the printer with SP-KILL D, then restart it (STARTPTR). If there is still a problem, restart the Spooler with :STARTSPOOLER.

STARTPTR Error Messages

The following error messages can occur in response to the STARTPTR command.

PRINTER MUST BE STOPPED.

This message indicates that the printer you are trying to start either has not been stopped (by STOPPTR) or has been set to stop but is still printing a job.

NULL PRINTER NUMBER.

This message indicates that the first parameter of the STARTPTR command is null or nonnumeric.

PRINTER NUMBER TOO BIG.

This message indicates that the first parameter is larger than 200.

NO FORM NUMBER.

This message indicates that the second parameter of the STARTPTR command is null or nonnumeric. When you are initializing a printer, you must specify a form queue number.

FORM NUMBER TOO BIG -- EXCEEDS 125.

This message indicates that one of the form queue numbers (the second parameter of the STARTPTR command) is larger than 125.

TOO MANY PRINT FILES.

A maximum of 60 simultaneous print jobs can be opened by a user.

MAXIMUM NUMBER OF FORM QUEUES PER PRINTER EXCEEDED.

A maximum of three form queues can be specified. If multiple form queues are specified, the group of form queue numbers must be enclosed in parentheses (the right parenthesis cannot be omitted) and the form queue numbers must be separated by commas. The exceptional case occurs upon restart, when the trailing parenthesis and comma can be omitted if the page skip parameter and port assignment are not to be changed.

ILLEGAL PRINTER TYPE -- NOT P OR S.

Printer types can only be S for serial.

ILLEGAL PROCESS NUMBER.

Serial printers can be allocated only to legal processes on the system. The Spooler process cannot be used for a serial printer. Serial printers must be between 0 and 99, inclusive.

TOO MANY PAGES IN THE PAGE SKIP -- EXCEEDS 9.

Page skip must be between 0 and 9 inclusive.

ALLOCATION ATTEMPTED ON UNINITIALIZED PRINTER.

The printer has not yet been initialized. Use STARTPTR with the printer, form, and Sline parameters to initialize the printer.

THE DEVICE OR PROCESS WHICH YOU SPECIFIED IS BEING USED AS ANOTHER PRINTER ON THE SYSTEM.

Another printer control block has control of the device or process.

YOU ARE ATTEMPTING TO START PRINTER nn ON PROCESS mm, WHICH IS NOT STOPPED.

The printer control block, nn, is allowable in this case, but process mm is still active, indicating the stop/active flags are not set the same way in the two control blocks.

YOUR ALIGN PROCESS WAS JUST ABORTED BY SOMEONE. YOU MUST START THE ALIGN PROCESS OVER.

An SP-KILL was executed on the printer which is the object of the align.

THERE IS NO JOB ENQUEUED FOR OUTPUT ON THE FORMS YOU SPECIFIED. THEREFORE, ALIGNMENT IS IMPOSSIBLE.

Execute an SP-STATUS or a LISTPTR printer command. This will display the status of all queues. If all appear correct, remove the jobs from the queue using the F option of SP-KILL, and queue the jobs with the SP-EDIT command.

STOPPTR Error Messages

The following error messages can occur in response to the STOPPTR command.

PRINTER #nn SET TO STOP AND IS INACTIVE.

The printer has been stopped. The STARTPTR command can now be executed on this printer.

PRINTER #nn SET TO STOP BUT IS STILL ACTIVE.

The printer is still printing a job. The printer will be stopped when the job has finished printing.

PRINTER #nn CONTROL BLOCK HAMMERED. CLEARED TO NULL.

This message indicates that the contents of the printer control block are not valid. This message can result from the use of other commands which utilize the printer control block. It is checked for validity upon each use.

See Also

Troubleshooting mvBase Printers and the Spooler

General Printer Troubleshooting

Troubleshooting Windows Printers

Troubleshooting MultiValue Printers