S (Spool) Errors
The following are SPOOL errors that may be trapped using the SPOOL TRAP. Failure to trap these errors will result in a runtime error message and program termination.
|
Code |
Description |
|
S01 |
Requested file/device unavailable. Occurs only in spool traps, otherwise spool waits until the file/device is released. The file/device is already locked (in use) by another process. |
|
S05 |
PRINT operation attempted on an unopened file. |
|
S07 |
PRINT operation did not write out the requested number of characters. Possible file space full or hardware malfunction. |
|
S08 |
File space full writing to spool file. This error may be given if the output is going to an HP Laser Jet 4P that requires a device driver under MS-DOS. |
|
S09 |
Error closing spool file. |
|
S10 |
Specified file/device could not be opened/created or a prtopen dialog box was canceled. Insufficient access privileges to the file/device. Read-only file/device |
|
S11 |
Spool file name is null. |
|
S12 |
Internal closing error (system error). |
|
S13 |
Unable to allocate necessary spool file buffer. |
|
S14 |
Spool device not available at time of PRINT. (PLBCMP -GUI) |
|
S15 |
Spool device became not available during a PRINT operation. (PLBCMP-GUI) |
|
S16 |
Invalid PFILE declaration for PRTPAGE instruction. (PLBCMP-GUI) |
|
S17 |
Invalid font specified for PRTPAGE instruction. (PLBCMP-GUI). Subcodes further identify the problem as follows: |
|
|
21: Unable to allocate memory. |
|
|
22: Unable to locate font or font not valid for requested device. |
|
|
23: Unable to create working font. |
|
|
24: Font in single quotes not terminated. |
|
|
25: Font name not valid internal name or does not start with '>' character. |
|
|
26: Invalid options in parenthesis. |
|
|
27: Invalid options string not terminated properly. |
|
|
28: Invalid options string not terminated properly. |
|
|
29: Invalid font name extra data at end of name. |
|
|
300: When generating a PDF file local to the PLBSERVE application, the server runtime could not retrieve font information from a PLBCLIENT FONT object because the PLBCLIENT version is older than 9.6A. |
|
S18 |
Unable to print picture for PRTPAGE instruction. Normal cause would be insufficient memory. (PLBCMP-GUI) |
|
S19 |
PRINT statement used a *{tab} where the {tab} value is less than 1 or greater than 512. |
|
S20 |
Spool File could not be locked for exclusive use. |
|
S21 |
An invalid file name was encountered. |
|
S22 |
Standard spool file open or prep dialog was canceled. (PLBCMP-GUI) |
|
S23 |
Invalid options specified for SPLOPEN instruction. |
|
S24 |
Error writing advanced print spool file. |
|
S25 |
Error reading advanced print spool file. |
|
S26 |
Invalid advanced print spool file. The following error subcodes provide additional information: |
|
|
101: An invalid print control command was encountered while processing a PRTPLAY spool file. The spool file has been corrupted. |
|
|
102: Invalid PRTPLAY spool file identifier was detected. Either the file was not generated as a PRTOPEN spool file or it has been corrupted. |
|
|
103: The PRTPLAY spool file version is invalid. This error would occur if an older runtime accessed a spool file generated by a newer runtime. |
|
|
104: The PRTPLAY spool file is in an incomplete state. A PRTOPEN spool file was created and started but the spooling operation was not completed properly. This could occur if a program was terminated prematurely while generating a spool file. |
|
S27 |
Out of memory creating print image. |
|
S28 |
Unable to create print preview window. |
|
S29 |
Windows device invalid for PLBSERVE. This indicates that you cannot print to a Windows printer on the server side. |
|
S30 |
An error has occurred processing a PDF file. The following error subcodes provide additional information: |
|
|
101: An '*ATTACH' syntax error has occurred. Check the fields being used the '*ATTACH' data string. |
|
|
102: An '*INFO' syntax error has occurred. Check the fields being used in the '*INFO' data string. |
|
|
103: An '*ENCRYPT' syntax error has occurred. Check the fields being used in the '*ENCRYPT' data string. |
|
|
104: An internal syntax error has occurred. An invalid PDF print control has been encountered. The only supported PDF print controls are *ATTACH, *ENCRYPT, and *INFO. |
|
|
105: A processing error has been encountered for the *ATTACH PDF print control. The specified attachment file to be put into a PDF can not be found. |
|
|
106: A processing error has been encountered for the *INFO PDF print control. The user information could not be added to a PDF file. |
|
|
107: A processing error has been encountered for the *ENCRYPT PDF print control. An error occurred when attempting to encrypt the PDF file. Make sure that the *ENCRYPT PDF control is executed before any data is output to a PDF file. |
|
|
110 - *Template control string error has occurred. |
|
|
111 - An error has occurred opening or reading the PDF file specified by the *Template control 'F' parameter. Also, this subcode occurs if an unsupported PDF object or format is encountered processing the PDF template file data. |
|
S31 |
An error has occurred processing the PRTPAGE *PICT control to directly embed JPG image data directly into the Sunbelt PDF 'pdf:' file. The following subcodes provide additional information: |
|
|
101: Invalid image file name! ( Null name not allowed! ) |
|
|
102: Invalid image file name! Length of path and name too long! |
|
|
103: Invalid image file name! Blank name not allowed! |
|
|
104: Unable open image file name! |
|
|
105: Invalid *PICT Image file size! |
|
|
106: Unable to read all of the *PICT Image data! |
|
|
107: Unable to allocate memory for image buffer! |
|
|
108: Invalid Image type (Only JPG supported)! |
|
|
109: Unable to print JPG image! |
See Also: PL/B Errors
![]() |