Print Services Configuration

This section shows the basic procedure for creating or modifying AppleTalk print spoolers and print servers with the ATPS module, and describes all of the available print services configuration options.


How to Configure AppleTalk Print Services in ATPS.CFG

To enter a configuration that will be in effect when you load the ATPS module, follow these steps at the file server console:

  1. Load the INSTALL utility and select Product Options in the main INSTALL menu.

  2. Press <Enter> on the line specifying NW-MAC v3.12.

    If you have installed multiple products, use the arrow keys to select NW-MAC v3.12 before pressing <Enter>.


    When you press <Enter>, the Editable Configuration Files menu opens:


  3. Use the arrow keys to select ATPS.CFG in the menu and then press <Enter>.

    An ATPS.CFG window opens in which you can enter the server's print queue configuration. For example, to create a queue using the default syntax, enter the command line:

    "my printer:printer zone"

    NOTE:  This example uses the "printer-name:zone-name" default queue configuration syntax. See Using the Default Configuration Syntax for details.

    See AppleTalk Print Services Configuration Options for a list of all of the available queue configuration options. When you have configured the printer in ATPS.CFG,

  4. Exit the INSTALL utility, saving your changes.

  5. Unload and load ATPS.

    If ATPS is already running on this server, unload it by typing

    UNLOAD ATPS <Enter>

    (Otherwise, skip this step.)

    Load ATPS by typing

    LOAD ATPS <Enter>

    NOTE:  This example assumes that you have already fully configured NetWare for Macintosh. Please see Simple Network Configurations and More Complex Network Configurations if you have not already configured and loaded the AppleTalk NLM.


AppleTalk Print Services Configuration Options

Table 19 describes the options you can use on ATPS.CFG configuration command lines.

NOTE:  If a parameter to one of these options includes a space character, you must enclose the parameter in double-quotes.


Table 19. Print Services Configuration Options and Parameters

Parameter Explanation

-p printer-name

printer-name is the name assigned to an AppleTalk printer by using Macintosh software. The name can be up to 31 characters in length and cannot include a colon character (:) or an at-sign (@). If you do not specify a spooler name, ATPS creates a default spooler name by prefixing "NW" to printer-name. See Using the Default Configuration Syntax for information about a shorthand syntax for specifying the printer name without the -p option and Specifying an AppleTalk Printer Explicitly: -p for examples using -p.

-z zone-name

zone-nameis the name of the AppleTalk zone in which an AppleTalk printer resides. If you do not specify zone-name, ATPS assumes the default zone of the internal network. See Using the Default Configuration Syntax for information about a shorthand syntax for specifying the zone name without the -z option and Specifying an AppleTalk Printer's Zone Explicitly: -z for examples using -z.

-a

(Print spooler option.) Allows Macintosh users to spool print jobs to the queue only if they are logged in to the server via AFP and are designated as Queue Users. See Enabling Print Queue Security: -a for and example using -a.

-b

(Print spooler option.) Causes Macintosh print jobs submitted via the spooler to be marked for printing with a banner page. See Printing Banner Pages: -b for an example using -b.

-c

(Print spooler option.) Causes the AppleTalk print spooler of type "ImageWriter" or "ImageWriter LQ" to return status as an ImageWriter with the color ribbon loaded. This enables Macintosh applications to generate the appropriate color codes. See Specifying a Color ImageWriter: -t and -c for an example configuration line specifying a LaserWriter with a color ribbon.

-e

(Print server option.) Turns off error banner pages that are otherwise generated for PostScript errors. See Turning Off Error Banner Pages: -e for an example using -e.

-ffilename

(Print spooler option.) filename is a PostScript font list file located in NW- MAC\FONTS. See Specifying a PostScript Font List: -f for an example configuration line using -f. PostScript Font Lists: *.FNT Files discusses the issues related to PostScript fonts.

-h

(Print server option: "disable bypass printing.") Hides the AppleTalk printer by changing its NBP type. This option is used to prevent users from submitting print jobs directly to the printer. See Enabling Printer Security: -h for an example configuration using -h.

-l

(Print spooler option.) Includes the necessary Macintosh Laser Prep file in each job placed in the queue. See Including Laser Prep Files in All Macintosh Print Jobs: -l for an example using -l. Laser Prep Files: *.PRS discusses the issues related to Laser Prep files.

-nN

(Print spooler option.) N is the number of concurrent print jobs allowed to print to an AppleTalk print spooler, which must be between 1 and 50. If you do not specify this option, the default is 10. If you increase or decrease N, more or less server memory and processor time are accessible to print jobs. See Changing the Number of Concurrent Print Jobs Allowed: -n for an example configuration using -n.

-o spooler-name

spooler-nameis the "object name" of the AppleTalk print spooler, that is, the name that appears in the Chooser. spooler-name can be any valid Chooser name (up to 31 characters), but should not include these characters: : @. The print queue name itself (visible to DOS users inPCONSOLE) is derived from spooler-name; if necessary, underscores are substituted for spaces and the characters / \ ; , * ? % and + in spooler-name to create a valid queue name. If the print spooler is turned off, this option can be used to provide a descriptive name for the queue itself. See Assigning a Descriptive Name: -o for an example using -o.

-o spooler-name [:izone-name]

(Shown on two lines above for printing purposes only.)

When the spooler name is followed by a colon (:) and a zone name, the spooler will be visible in the specified zone of the internal network. See Advertising a Queue in a Specified Zone: -o for an example configuration specifying an internal zone. See Internal Network and Zone Configuration for information about configuring the internal network with multiple zones.

-tprinter-type

printer-typeis the NBP type of the printer that accepts print jobs from the print server. Unless you specify the -t option, the default printer type is "LaserWriter." See Specifying a Printer Type: -t for an example using -t to specify an ImageWriter printer, and Options for Non-Apple Printers: -t, -s, -f, and -l for information on specifying a non-Apple printer type.

-s

If you are using a PostScript printer that is not the default LaserWriter type (if you have specified a different printer type by using the -t option), use the -s option to specify that the printer is a PostScript printer. See Options for Non-Apple Printers: -t, -s, -f, and -l for more information.

-wb

("Without back end.") This option specifies that the AppleTalk print server will not be in use. Presumably, PSERVER or some other print server will service the queue. See Turning Off the AppleTalk Print Server: -wb for an example configuration using -wb and Print Server Configuration Options for details on configuring a queue to be serviced by PSERVER.

-wf

("Without front end.") This option specifies that the AppleTalk print spooler will not be in use. The queue will be usable by PC users but not Macintosh clients. You can also use this option to allow multiple printers to service a queue that is advertised via a single AppleTalk print spooler. See Turning Off the AppleTalk Print Spooler: -wf and Multiple AppleTalk Printers Servicing a Print Queue: -wf for examples.


Using the Default Configuration Syntax

The following default configuration syntax specifies a queue that will be serviced by the specified LaserWriter printer and will be advertised on AppleTalk---in other words, the specified queue has both an AppleTalk print spooler and an AppleTalk print server:

printer-name[:zone-name]

(The brackets shown above indicate that the zone name is optional. They are not part of the default syntax.)

NOTE:  When you specify the printer name and zone name without explicitly specifying the -p and -z options, they must appear first on the configuration line. If a space character appears anywhere in the "printer-name:zone-name" string, you must enclose the entire string in double-quotes.

When you use the default syntax, the AppleTalk print spooler name is derived by preceding the printer name with "NW," and a valid queue name is derived as usual from the AppleTalk print spooler name. ATPS will create the queue if it does not already exist.

printer-name is the name assigned to the LaserWriter by using Macintosh software. If you are not sure about the name of the printer or the name of the zone in which it is located, you can check them in the Macintosh Chooser or by using the Lookup service in the ATCON utility. See Looking Up an AppleTalk Service for details.

zone-name is the name of the AppleTalk zone in which the printer resides. If you do not specify zone-name, ATPS assumes the default zone of the internal network. This means that you can omit the zone-name parameter only if the printer resides in the same AppleTalk zone as the default zone of the internal network. The name is case-insensitive but must include any leading or trailing white-space characters.

You can add configuration options to the default syntax, provided that the printer name appears first on the configuration line (optionally followed by a colon character (:) and a zone name). For example, the following configuration line creates a queue that will send print jobs to the specified ImageWriter printer, and that has both an AppleTalk print spooler and an AppleTalk print server:

printer-name[:zone-name] -t ImageWriter


Specifying an AppleTalk Printer Explicitly: -p

The following configuration line specifies a queue that will send jobs to a LaserWriter named "LaserWriter IINT" in the "Admin" zone:

-o "Admin Q" -p "LaserWriter IINT" -z Admin

The AppleTalk spooler will be visible in the Chooser as "Admin Q," and the queue will be named "ADMIN_Q."

Note that the "Admin" zone is the zone in which the printer resides, and not the zone in which the AppleTalk print spooler will be visible. See Advertising a Queue in a Specified Zone: -o for details.

When you use the -p option to specify an AppleTalk printer's name instead of using the default syntax, the printer name can appear anywhere on the configuration line. If you are not sure about the name of the printer or name of the zone in which it is located, you can check them in the Macintosh Chooser or by using the Lookup service in the ATCON utility. See Looking Up an AppleTalk Service for details.


Specifying an AppleTalk Printer's Zone Explicitly: -z

The following configuration line specifies a queue that will send jobs to a LaserWriter named "Tech Pubs" in the "Publications" zone:

-z Publications -p "Tech Pubs"

The AppleTalk spooler will be visible in the Chooser as "NW Tech Pubs" (the default name derived from the printer name) and the queue will be named "NW_TECH_PUBS."

Note that the "Publications" zone is the zone in which the printer resides, and not the zone in which the AppleTalk print spooler will be visible. See Advertising a Queue in a Specified Zone: -o for details. If you do not specify a zone name, ATPS uses the default zone of the internal network. This means that you can omit the name of the zone in which a printer resides only if the same zone is specified as the default zone of the internal network.

When you use the -z option to specify an AppleTalk printer's zone name instead of using the default syntax, the zone name can appear anywhere on the configuration line.


Enabling Print Queue Security: -a

To prevent Macintosh users from submitting print jobs when they have not logged in to the NetWare v3.12 server via AFP, use the -a option on the configuration line in ATPS.CFG. When the -a option is in use, the AppleTalk print spooler will be visible in the Chooser, but if a user has not logged in to the NetWare server or is not a designated Queue User, that user's connection is dropped and an error message appears on the Macintosh screen indicating that the print job has failed.

The following configuration line specifies a queue located in the server's default zone that will send jobs to a LaserWriter on the AppleTalk network named "LaserWriter1."

LaserWriter1 -o "Tim's Queue" -h -a

The AppleTalk print spooler will be visible in the Chooser as "Tim's Queue," and the queue will be named "TIM_S_QUEUE." Because a zone name is not specified, the printer must reside in the same zone configured as the default zone of the internal network.

The -h option hides the LaserWriter named "LaserWriter1" to prevent users from printing directly to the printer, and the -a option prevents Macintosh users from printing to the queue unless they have logged in to the server.

NOTE:  If you configure a print queue with the -a option in ATPS.CFG, you must designate Macintosh users who are to use that queue as Queue Users in PCONSOLE. By default, the group EVERYONE is designated as a Queue User, so all members of that group can print to a queue.


Printing Banner Pages: -b

By default, Macintosh print jobs submitted to a queue are not marked for printing with a banner page. However, you can use the -b option to have all Macintosh jobs submitted to the queue so marked. The print server will then generate banner pages that specify the user's name for appropriately marked jobs. DOS users can mark their jobs by using PRINTCON.

NOTE:  If you are using PSERVER to service a queue advertised by ATPS, do not use the -b (banner) option with LaserWriters and other PostScript printers. The banner page created by PSERVER is not in PostScript format, and it causes the PostScript job to fail. For the same reason, when printing to PSERVER-connected PostScript printers from DOS, specify NO to "Print banner" and YES to "Suppress form feed" in PRINTCON.

The following configuration line specifies a queue that will send jobs to a LaserWriter named "Printer-1" in the "Engineering" zone, and each Macintosh print job submitted to the queue will be marked for printing with a banner page that specifies the user's name:

Printer-1:Engineering -b

In this example configuration line, the AppleTalk print spooler will be named "NW Printer-1" (the default spooler name derived from the printer name), and the queue will be named "NW_PRINTER_1."

NOTE:  For an ImageWriter queue, the Macintosh user's name will appear in the banner only if the user is logged in to the file server via AFP.


Specifying a Color ImageWriter: -t and -c

Either of these lines specifies a queue that will send jobs to a color ImageWriter named "Dot matrix" in the "Admin" zone:

-p "Dot matrix" -z Admin -t ImageWriter -c

"Dot matrix:Admin" -t ImageWriter -c

The AppleTalk print spooler will be named "NW Dot matrix" (the default name derived from the printer name), and the queue will be named "NW_DOT_MATRIX."

The spooler will be visible as an ImageWriter in the Chooser. Provided that Macintosh users have the right printer driver software, the Macintosh applications can generate the codes necessary to print in color on an ImageWriter.


Turning Off Error Banner Pages: -e

By default, PostScript errors returned by a printer to the AppleTalk print server are printed on a special banner page. For printers that use high-resolution film, this situation can cause unacceptable waste. To turn off error banner pages, use the -e option on the configuration line in ATPS.CFG.

The following configuration line specifies a queue that will send jobs to a LaserWriter named "Tech Support" in the "TechOps" zone, and PostScript errors will not generate a special banner page.

"Tech Support:TechOps" -o "QUEUE 1" -e

The spooler will be named "QUEUE 1" and the queue itself will be named "QUEUE_1."


Specifying a PostScript Font List: -f

Please refer to PostScript Font Lists: *.FNT Files for a discussion of PostScript font files and how they are used by the ATPS module, and for information on creating a customized font file.

If you are specifying a queue for a LaserWriter on AppleTalk, you can specify a font list for that printer to allow the AppleTalk print spooler to advertise its queue even if the printer is not available on the network when ATPS is loaded. To do so, use the -f option on the configuration line. For example, the following line specifies a queue using the default font list for a Apple LaserWriter NT:

printer-name:zone-name -f applwnt

NOTE:  Font list files must be stored in the SYS:SYSTEM\NW-MAC\FONTS directory and must use the ".FNT" filename extension. Please see Table 22 for the standard font list files.

If you are specifying a queue for a PostScript printer on a serial or parallel (or remote) connection, you must specify a font list file for the queue.

The following configuration line specifies a queue named "MAIN_Q" and a print spooler named "Main Q." The AppleTalk print server has been disabled by specifying the -wb option, so the -f option is used to provide the print spooler with the proper list of fonts, in this case, the default font list supported by the Apple LaserWriter IINT:

-o "Main Q" -wb -f applwnt

This configuration line instructs ATPS to obtain the font list from SYS:SYSTEM\NW-MAC\FONTS\APPLWNT.FNT. For each AppleTalk spooler, a font list must be obtained either from the specified AppleTalk printer or from a font list file.

See Turning Off the AppleTalk Print Server: -wb for more information about the -wb option.


Enabling Printer Security: -h

The -h option prevents Macintosh users from bypassing the queue and submitting print jobs directly to the printer (sometimes called "bypass printing").

The following configuration line specifies a queue that will send jobs to a LaserWriter named "LaserWriter1" in the "Engineering" zone.

LaserWriter1:Engineering -o "Tim's Queue" -h

The AppleTalk print spooler will be named "Tim's Queue" and the NetWare queue will be named "TIM_S_QUEUE."

The -h option causes the AppleTalk print server to instruct the printer to use a different NBP type, for example, "LaserShared" instead of "LaserWriter." This prevents the Chooser from listing the printer as a device of type "LaserWriter." If you have multiple print queues configured for one printer, a single instance of -h hides the printer on the AppleTalk internet.

The printer becomes visible again if ATPS is unloaded, or if you choose to make it visible again by using the ATPSSHOW command.

NOTE:  ATPS Console Commands describes console commands for hiding AppleTalk printers or making "hidden" printers visible.


Including Laser Prep Files in All Macintosh Print Jobs: -l

Please refer to Laser Prep Files: *.PRS for a discussion of Laser Prep files and how they are used by printers.

If you are configuring a queue for a LaserWriter or compatible printer on a serial or parallel (or remote) connection, you use -l (lowercase L) to include the correct Macintosh Laser Prep file in each Macintosh print job as it is placed in the queue.

For example, the following configuration line specifies the default font list for the Apple LaserWriter NT, and specifies that the required Laser Prep file will be included in each Macintosh print job:

-o "Main Q" -wb -f applwnt -l

This example configuration line creates a queue named "MAIN_Q" and a print spooler named "Main Q." It also turns off the AppleTalk print server, to allow PSERVER to send print jobs to a serial, parallel, or remote printer. See Turning Off the AppleTalk Print Server: -wb for information about the -wb option.

NOTE:  Recommended Way to Handle Laser Prep Files describes an alternative way to manage these files, which avoids the print performance penalty caused by using the -loption.


Changing the Number of Concurrent Print Jobs Allowed: -n

By default, NetWare for Macintosh v3.12 allows ten Macintosh print jobs (ten Printer Access Protocol connections) to write to a single AppleTalk print spooler at any given moment. If more than ten print jobs attempt to write to a print spooler concurrently, ATPS returns a message to the Macintosh indicating that the printer is busy. This message will disappear and the spooler will accept the print job as soon as one of the print jobs has been written to the queue.

If you wish to allow more or less than ten print jobs to write to a queue concurrently, use the -n option when configuring ATPS. For example, the following line creates a spooler named "NW LaserWriter2" and a queue named "NW_LASERWRITER2," and allows 5 Macintosh print jobs to be submitted concurrently:

"LaserWriter2:Engineering" -n5

Because the print spooler accepts jobs very quickly, a setting of less than ten should suffice for most sites. You can reduce the maximum amount of memory that could be used by the print queue and control the number of AppleTalk connections it can consume by limiting the number of print jobs it will accept at the same time.

The number of concurrent print jobs must be 50 or less. The amount of memory on the file server, available disk space, available AppleTalk stack connections, and processor time are factors to consider when increasing or decreasing the number of concurrent print jobs.


Assigning a Descriptive Name: -o

When you specify a configuration line in ATPS.CFG, you can allow ATPS to create a default print spooler name of "NW printer-name," or you can use the -o option to specify a spooler name explicitly. In either case, the queue name is derived from the spooler name.

The following configuration line specifies a queue for a LaserWriter named "Robin" in the "Publications" zone:

Robin:Publications -o "Doc Queue"

The AppleTalk print spooler will be named "Doc Queue" and the NetWare print queue used will be named "DOC_QUEUE."

AppleTalk print spooler names follow the rules for all Macintosh Chooser names: they can include up to 31 characters but cannot include the : or @ characters. NetWare print queue names can include up to 47 characters, and cannot include (in addition to : or @) spaces or the / \ ; , * ? % or + characters.

The name of a queue used by ATPS is derived from the spooler name by converting special characters and spaces in the spooler name to underscore characters, and converting uppercase and lowercase characters to all uppercase. The queue is created by ATPS if it does not already exist.

NOTE:  You must use the -o option to name queues for serial, parallel, or remote printers. Because these printers are not on the AppleTalk network, ATPS cannot use the AppleTalk printer name in the default configuration syntax.

See Turning Off the AppleTalk Print Server: -wb for information about naming queues for serial, parallel, or remote printers.


Advertising a Queue in a Specified Zone: -o

In NetWare for Macintosh, the internal AppleTalk network is an extended Phase 2 network, which can support multiple zones. A reason for configuring multiple zones on an internal network is to advertise AppleTalk print spoolers in a zone other than the default internal zone. See Internal Network and Zone Configuration for more information about the internal network.

NOTE:  Configuring an AppleTalk print spooler to appear in one of the multiple zones on the internal network is not recommended on AppleTalk internets that support Phase 1 routers. The spooler will not appear reliably to all Macintosh users.

To specify the zone in which the AppleTalk print spooler will appear in the Macintosh Chooser, use the -o option with this syntax:

-o spooler-name[:izone-name]

NOTE:  When you specify a zone name following the spooler name, it must be preceded by a colon character (:). The zone name you specify must be one of the zones of the server's internal AppleTalk network. If a space character appears anywhere in the "spooler-name:izone-name" string, you must enclose the entire string in double-quotes.

spooler-name is the name of the AppleTalk print spooler, and izone-name is the name of the internal zone in which the print spooler will be visible. If you don't specify the izone-name parameter, the spooler will always appear in the default zone of the server's internal network (the first zone in the zones list specified for the internal network).

For example, assuming that the internal network has been configured with two zones, "Sales" and "Marketing," the following configuration line creates a spooler named "LW_queue," which will appear in the "Marketing" zone:

"my-printer:my zone" -o LW_queue:Marketing

If you wish to use the default spooler name ("NW printer-name") but you wish to advertise in a zone other than the default zone of the internal network, you can simply specify the izone-name parameter as follows:

printer-name:zone-name -o :izone-name

For example, the following configuration line creates a spooler named "NW my-printer" which will appear in the "Marketing" zone of the internal network:

"my-printer:my zone" -o :Marketing

The queue name will be visible to users of DOS users of the Print Queue module as "NW_MY_PRINTER."


Specifying a Printer Type: -t

To create a spooler or specify a printer other than the default LaserWriter type, you must specify the printer type on the configuration line by using the -t option. The -t option requires that you specify a valid NBP type. The default printer types are "LaserWriter" (the default), "ImageWriter," or "LQ."

The following configuration line sends print jobs to an ImageWriter LQ named "Reports IW" in the "Marketing" zone.

"Reports IW:Marketing" -t LQ

The AppleTalk print spooler will named "NW Reports IW," and the NetWare queue will be named "NW_REPORTS_IW."

If you wish to specify a printer type other than the default printer types, see AppleTalk Printers That Use a Different NBP Type.


Options for Non-Apple Printers: -t, -s, -f, and -l

There are two types of non-Apple printers for which you might want to create a queue in ATPS.CFG: (1) printers that are fully compatible with Apple printers, and (2) AppleTalk printers that use a different NBP type. Please turn to AppleTalk Basics if you would like background information about NBP.


Fully Compatible Non-Apple Printers

For printers that are truly compatible with the Apple LaserWriter, ImageWriter, or ImageWriter LQ, you can use the same configuration lines as those shown for the respective Apple printers in this chapter.

If the printer is a LaserWriter-compatible PostScript printer, there can be PostScript and TrueType font issues that might cause problems between the Macintosh LaserWriter driver and the printer itself. If you run into problems with PostScript extensions or TrueType fonts, contact the printer manufacturer.


AppleTalk Printers That Use a Different NBP Type

For third-party printers that use their own Macintosh print software rather than the Apple LaserWriter or ImageWriter drivers, you need to use the Lookup service function in the ATCON utility to determine the printer's NBP type. To do so, follow these steps:

  1. Load ATCON at the file server console and choose Lookup and Echo Services in the ATCON menu.

  2. Highlight Edit Lookup Parameters and then press <Enter>.

    When you press <Enter>, a dialog opens.

    If you know the printer's name, enter the printer's name in the Name field. If you do not know the printer's name, leave the default equals sign (=) in both the Name and Type fields.

  3. Highlight the Zone field and press <Enter> to choose the printer's zone.

  4. Press <Esc> and answer Yes to use these settings.

  5. Use the arrow keys to select Execute Lookup Test in the Available Actions menu, and then press <Enter>.

    After a few seconds, you should see the results of the Lookup service, where the printer's type (or the types of all printers in that zone) will be displayed. If the Lookup fails, the name of the service won't appear. If no services are available, a message is displayed.

If you are creating a queue for a non-Apple printer that is not completely compatible, keep these suggestions in mind:

For example, to create a print queue for a non-Apple PostScript printer that behaves like a LaserWriter, use this configuration line:

printer-name -t printer-type -s

NOTE:  The Macintosh must be running printer software for the third-party printer, as would be true if Macintosh users were printing directly to the printer over AppleTalk.


Potential Problems with Using PSERVER with Serial Printers

Connecting a printer serially via PSERVER instead of over AppleTalk via ATPS can have many disadvantages. Performance will most likely be slower, potentially by a factor of 10, and the communications channel itself is less reliable (data is more likely to contain errors). Additionally, with PostScript printers connected serially via PSERVER, you lose the following capabilities:


Turning Off the AppleTalk Print Server: -wb

In NetWare for Macintosh, print queues can be advertised on AppleTalk and serviced by PSERVER to a serial, parallel, or Novell Remote printer. The print queues can also be serviced by third-party print server products.

When using ATPS to advertise a queue that is not to be serviced by an AppleTalk printer, you need to "turn off" the AppleTalk print server and configure PSERVER instead. This section describes how to "turn off" the AppleTalk print server.

NOTE:  See Print Server Configuration Options for information on configuring PSERVER.

Figure 51 shows how a queue operates when the AppleTalk print server has been disabled:

Figure 51
NetWare Queue with AppleTalk Print Spooler but No AppleTalk Print Server

To specify a queue such as the one shown in Figure 51, use the -wb option. For example, the following configuration line specifies a spooler for a queue named QUEUE1:

-o QUEUE1 -wb -l -f applwnt

When PostScript printers are not on AppleTalk, ATPS cannot query the printer for its font list or Laser Prep version.

ImageWriter and ImageWriter LQ queues can also be serviced by PSERVER if you specify a configuration line like this:

-o IW_QUEUE -wb -t ImageWriter

or

-o LQ_QUEUE -wb -t LQ

Note that ImageWriter queues do not use the -l option or the -f option, because Laser Prep files and PostScript fonts do not apply. The -c option applies for color ImageWriters and ImageWriter LQs.


Turning Off the AppleTalk Print Spooler: -wf

In NetWare for Macintosh, you can configure a queue that sends print jobs to a printer on AppleTalk, but does not accept print jobs from the AppleTalk network (Macintosh clients). This enables you to create a queue for an AppleTalk printer that accepts jobs from DOS, Windows, and OS/2 users, as well as other print packages such as NFS PRINT.

To specify a queue to be serviced by an AppleTalk printer but not advertised to Macintosh users, you need to "turn off" the AppleTalk print spooler. NetWare Queue with AppleTalk Print Server but without the Print Spooler shows how a queue operates when the AppleTalk print spooler has been disabled:

Figure 52
NetWare Queue with AppleTalk Print Server but without the Print Spooler

To specify a queue such as the one shown in Figure 52, use the -wf option. For example, the following configuration line creates a queue named QUEUE1 for an AppleTalk printer named "LaserWriter1":

LaserWriter1 -o QUEUE1 -wf

The -wf option instructs ATPS not to advertise the queue on AppleTalk, but to send its print jobs to the specified printer on the AppleTalk network.

Please refer to Multiple AppleTalk Printers Servicing a Print Queue: -wf for additional uses for the -wf option.


Multiple AppleTalk Printers Servicing a Print Queue: -wf

In NetWare for Macintosh, a print queue can be serviced by more than one printer.

NOTE:  When multiple printers are servicing a print queue, a print job is sent to the first available printer servicing that queue.

All of the printers servicing one queue should be of the same printer type; for example, multiple LaserWriters and compatibles, multiple ImageWriters, or multiple ImageWriter LQs. There is no maximum number of AppleTalk printers that can service a single print queue.

Figure 53 shows a single print queue being serviced by three LaserWriter NT printers on the AppleTalk network:

Figure 53
One Print Spooler with Multiple AppleTalk Printers

To configure a queue such as the one shown in Figure 53, create three configuration lines in ATPS.CFG, all using the same queue name. Only one of the configurations will create an AppleTalk print spooler; the other two configuration lines "turn off" the print spooler by using the -wf option. This insures that only one spooler is created for the queue. For example, the following configuration lines create a queue and spooler named QUEUE1, which will be serviced by three AppleTalk printers, named "LaserWriter1," "LaserWriter2,"and "LaserWriter3":

LaserWriter1:zone1 -o QUEUE1 -f applwnt

LaserWriter2:zone2 -o QUEUE1 -wf

LaserWriter3:zone3 -o QUEUE1 -wf

The -f option is recommended when you configure multiple printers to service a single queue. If the printers do not all support the identical set of fonts, you can create a "global" font list, which includes each font that is supported on each and every printer servicing the queue, to ensure that print jobs print correctly on any of the associated printers. (Otherwise, the font list for the queue is obtained by querying the printer configured without -wf for the queue.) See Creating Specialized Font Files for information about creating a "global" font list.

Figure 54 shows a single print queue being serviced by three LaserWriter NT printers, two on the AppleTalk network and one on a direct or remote serial port:

Figure 54
Another Example with Multiple Printers

To create a queue such as the one shown in Figure 54, create two configuration lines in ATPS.CFG, both of which use the same queue name. Only one of the configuration lines specifies an AppleTalk print spooler, and the other one "turns off" the print spooler by using the -wf option. The following configuration lines create a spooler and a queue named QUEUE1, which will be serviced by two AppleTalk printers named "LaserWriter1" and "LaserWriter2":

LaserWriter1:zone1 -o QUEUE1 -f applwnt -

LaserWriter2:zone2 -o QUEUE1 -wf

The serial printer that will service this queue must obtain its Laser Prep file along with Macintosh print jobs, so the ATPS.CFG configuration must include the -l option. See Laser Prep Files: *.PRS for more information.

NOTE:  After creating the configuration lines in ATPS.CFG, you must use PCONSOLE to configure PSERVER for the serial printer. Make sure to select the correct queue (named "QUEUE1" in this example) in PCONSOLE. Please see Creating a Queue for an Apple Printer on a Direct Serial Connection for detailed instructions.