• Aucun résultat trouvé

Customizing the Spooler Configuration File

Dans le document Standard Software (Page 135-141)

Your system requires a Spooler Configuration file on each workstation where the Spooler and the printer(s) it controls are located.

Using Your Printer

The system software includes one default Spooler Configuration file, [Sys]<Sys>SpICnfg.sys (refer to Configuring a Standard Spooled Printing System, in this section), You can revise the entries in the default file, or create a new file using the Editor or the word processing program.

4-11

You can use the default file for one Spooler on your system.

You must enter a new Spooler Configuration file with a different name for each additional Spooler.

The system uses the information in Spooler Configuration files to coordinate print operations between the Spoolers and the Queue Manager. For this reason, if you install more than one Spooler, each Spooler Configuration file must have a different file name.

For example, if your system includes a master and three cluster workstations (WS1, WS2, and WS3), with printers connected to the master and WS 1, you would install the Spooler at both the master and WS 1 .

You could use the default file for the master, and create a new file for WS 1. The new file would require a different name, such as [Sys]<Sys> WS 1 SpICnfg.sys. For further information, refer to section 2.

A Spooler Configuration file contains an entry for each printer the Spooler controls. Spooler Configuration file entries appear in the following format:

Channel/PrinterName/QueueNamelConfigurationFilel Priority IBanner(Y IN)

Refer to table 4-1 for an explanation of each component of a Spooler Configuration file entry.

Table 4-1 Spooler Configuration File Entries

Component Explanation

Channel specifies the channel to which the printer is connected

Printer Name

Queue Name

Configuration File Priority

Banner (V IN)

o

= Centronics-type (parallel) port A = Channel A (serial)

B = Channel B (serial)

specifies the name of the printer connected to the channel

The printer name must be the same as the name specified in the Oevice Configuration file (refer to section 2).

specifies the name of the Scheduling Queue assigned to the printer (refer to Scheduling Queue Entries, in this section)

specifies the Printer Device Configuration file (refer to section 2)

specifies the priority of the Spooler process for the printer

The entry is a number from 10 to 254; 10 is the highest priority. The default is 130.

Accepting the default or entering a higher number insures that the printer does not slow down the performance of interacitve applications (such as the word processing program).

specifies whether the system prints a banner page at the beginning of each document (refer to Banner Page, in this section)

The default is no.

Customizing the Queue Index File

The Queue Index file contains the entries that define your system's queues. The system software includes a default Queue Index file, [Sys]<Sys>Queue.index (refer to Configuring a Standard Spooled Printing System, in this section).

Using Your Printer 4-13 To create additional queues, you use the Editor or the word processing program to add entries to the default Queue Index file, or replace it with a new file. The Queue Index file includes three type of entries:

o Scheduling queue entries o Control queue entries

o a Spooler Status queue entry

Queue Index file entries appear in the following format:

QueueName/FileSpecification/EntrySize/Queue Type Scheduling Queue Entries

. The Queue Manager stores print requests in a file called a Scheduling queue until a printer becomes available. The Queue Index file must include at least one Scheduling queue entry for each type of printer (parallel or serial) you connect to the workstation.

The default Queue Index file includes two Scheduling queue entries (refer to Configuring a Standard Spooled Printing System, in this section):

o Spl/[Sys]<Spl>Spl.queue/1/1 for parallel printers

o SpIB/[Sys]<Spl>SpIB.queue/1

f1

for serial printers

You can use the default Scheduling queue entries for all of the printers connected to your system. If ·you have printers connected to more than one workstation, however, you can reduce the waiting time by creating additional Scheduling queues.

Each Spooler Configuration file specifies the Scheduling queue for the printers the Spooler controls (refer to Customizing the Spooler Configuration File, in this section).

The Queue Manager references the entries in your system's Spooler Configuration files to coordinate Scheduling queues with printers.

For this reason, the names specified in the Spooler

Configuration files and the Queue Index file must correspond.

If you create new Scheduling queues, each one must have a different name. For example, if your system includes a master and three cluster workstations (WS 1, WS2, and WS3), with printers connected to the master and WS1, you could use the default Scheduling queues for the entire system. Alternatively, you could use the defaults for the master and create new queues for WS 1. The new queues would require different names, as reflected in the following entries:

o WS1 Spl/[Sysl<Spl>WS1 Spl.queue/1 /1 for a parallel printer

o WS1SpIB/[Sys]<Spl>WS1SpIB.Queue/l/l for serial printers

To create additional Scheduling queues, you add Scheduling queue entries to the Queue Index file using the Editor or the word processing program.

Refer to table 4-2 for an explanation of each component of a Scheduling queue entry.

Control Queue Entries

When you enter a printer control subcommand from the SPOOLER STATUS command, (for example CANCEL PRINT, HALT PRINTER, RESTART PRINTER, etc.), or enter a printer control command from an application program (such as word processing), the system stores printer control entries in files called Control queues (refer to Monitoring and Controlling Spooled Printing, in this section). The Spooler checks the Control queues for entries as it performs print operations.

The Queue Index· file must include a Control queue entry for each printer on your system. The default file includes two Control queue entries (refer to Configuring a Standard Spooled Printing System, in this section):

o SeriaIControl/[Sys] < Spl >SeriaIControl. queue/ 1 /1 for a serial printer

o ParalieIControl/[Sys] < Spl > ParalielControl. queue/ 1 /1 for a parallel printer

Using Your Printer 4-15 You can use the default Control queues for one serial and one parallel printer on your system. You must create a Control queue for each additional printer . To create additional Control queues, you add Control queue entries to the Queue Index file using the Editor or the word processing program.

Each Control queue must have a different name. For

example, if your system includes a master and three cluster workstations (WS1, WS2, and WS3), with printers

connected to the master and WS 1, you could use the default Control queues for the master, and create new queues for WS 1. The new queues would require different names, as reflected in the following entries:

o WS 1 SeriaIAControl/[Sys]<Spb WS 1 SerialAControl.queue/1 / 1 for a serial printer connected to Channel A

o WS 1 SerialBControl![Sys]<Spb WS 1 SerialBControl.queue/ 1 / 1 for a serial printer connected to Channel B

o WS 1 ParalieIControl/lSys]<Spb WS 1 ParallelControl.queue/ 1 / 1 for a parallel printer

Refer to table 4-2 for an explanation of each component of a Control queue entry.

Spooler Status Queue Entry

The system stores information about its Spoolers, such as the names of the printers under their control, files currently queued for printing, etc., in a file called the Spooler Status queue. The system references this file when you activate the SPOOLER STATUS command and makes status entries in the various subcommands (refer to Monitoring and Controlling Spooled Printing, in this section).

The Queue Index file requires only one Spooler Status queue entry for the entire system. You can use the default entry without modification (refer to Configuring a Standard Spooled Printing System, in this section).

Refer to table 4-2 for an explanation of each component of a Spooler Status queue entry.

Dans le document Standard Software (Page 135-141)

Documents relatifs