![]() ![]() |
|
Spooler InitializationThe spooler must be initialized before any of the spooler commands can be executed. This is usually done at installation time, but can be done whenever you need to reinitialize the spooler. When reinitializing the spooler, all the spooler tables and data are completely reset. Unix To reinitialize the spooler, use the following commands as root user:
Note 1: AIX users need to use LIBPATH instead of LD_LIBRARY_PATH. Note 2: HPUX users need to use SHLIB_PATH instead of LD_LIBRARY_PATH. Windows To initialize the spooler, use the following command as a user with administrator privileges from the jSHELL.
SP-NEWTABYou will be prompted to change four defaults, the group names to use, the directory to put the spooler in and so on. For most installations the defaults will provide the optimum configuration, and you can simply enter C at the prompt. The procedure will create the spooler tables and data in any directory you require - the default being /usr/jspooler on Unix and C:\%JBASERELEASEDIR%\jspooler on Windows. Note that if you choose a directory other than the default, you will need to change the JBCSPOOLERDIR variable to reflect the new directory.
Unix The procedure will create a default form queue named STANDARD, whose device name is /dev/lp. It will also initialize the queue to be active, so that you can start printing straight away. If you already have a device on /dev/lp, use option 4 from the SP-STATUS menu immediately after spooler installation to configure the spooler device name to another device. If you already use the UNIX supplied spooler, the two can live in harmony by sending all the jBASE spooler output to the UNIX spooler. This is done by using option 4 from the SP-STATUS menu. Change the device type to PROG and the device name to lp. Any data in a jBASE application that is sent to the STANDARD queue, will then be re-printed via the UNIX spooler program lp.
Windows The procedure will create a default form queue named STANDARD, whose device name is NT. It will also initialize the queue to be active, so that you can start printing straight away. A device name of NT means that the printer output will be sent direct to the system default printer, and will not be spooled to the jBASE spooler, and therefore not require despooling by a jspprint despooler. If printer output is required to be spooled first to the jBASE despooler then the device type needs to be changed to type PROG and the devicename configured as follows:
The jBASE spooler formqueues and print jobs can be manipulated by using the jBASE spooler commands directly or by using the SP-STATUS and SP-JOBS menus. |