DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Managing printers and print jobs

Font cartridges, character sets, print wheels

Printers differ in the way they print different font styles. Some have font cartridges, some have changeable print wheels, others have preprogrammed, selectable character sets. (Print wheels are used on older, so-called ``daisy wheel'' impact printers that use small wheels with the print characters around the perimeter.) The print service can minimize the impact of these differences on the users of the print service.

You can specify which font cartridge, print wheel, or character set is available with each printer. The print service treats font cartridges and print wheels the same because they require you to physically mount a new font cartridge or print wheel. Thus, in this discussion, we refer to font cartridges and print wheels simply as font cartridges.

When you list the font cartridges or character sets available, you assign names to them. These names are for your convenience and the convenience of the users on your system. Because different printers might have similar font cartridges or character sets, use common font names on all printers. This allows a user to submit a file for printing and request a particular font style, without requiring that the user know which printer is used or whether a font cartridge or selectable character set is used.

If the printer has mountable font cartridges, you only need to list their names. If the printer has selectable character sets, you must list their names and map each set to a name or number that uniquely identifies the set in the terminfo database.

See also:

Specifying character sets

For printers that allow selectable character sets, determine the names of the character sets and then map each set to a name or number in the terminfo database.

To determine the names of the character sets listed in the terminfo database, enter:

TERM=printer-type tput csnm 0

printer-type is the name of the printer type in question. This command should display the name of the 0th character set (the character set obtained by default after the printer is initialized).

To display the names of the other character sets, repeat the command above, replacing 0 with 1, 2, 3, and so on.

In general, the terminfo names should closely match the names used in the user documentation for the printer. However, because not all manufacturers use the same names, the terminfo names may differ from one printer type to the next.

To specify a list of character set names and to map them into terminfo names or numbers, enter:

/usr/lib/lpadmin -p printer_name -S characterset_list

characterset_list is a list of names, separated by commas or spaces. Each item in the list is a character set name ``mapping'' (alias) that looks like one of the following:

csN=characterset_name
characterset_name1=characterset_name2

N is a number between 0 and 63 that identifies the number of the character set in the terminfo database. characterset_name1 identifies the character set by its name in the terminfo database. In both instances, the name to the right of the equal sign (=) is the name you choose as an alias of the character set.


NOTE: You do not have to provide a list of aliases for the character sets if the terminfo names are adequate. You can refer to a character set by terminfo name, by number, or by your alias.

For example, your printer has two selectable character sets (sets #1 and #2) in addition to the standard character set (set #0). The printer type is 5310. Enter the following commands to determine the names of the selectable character sets:

TERM=5310 tput csnm 1
english
TERM=5310 tput csnm 2
finnish

The words ``english'' and ``finnish'', which are the names of the selectable character sets, are the output of the commands.

To change the names of the standard set and set #1, enter:

/usr/lib/lpadmin -p printer_name -S "cs0=american, english=british"

A printer that has selectable character sets can accept any csN name or terminfo name known for the printer.

To remove the character set mappings, enter:

/usr/lib/lpadmin -p printer_name -S none

See also:

Specifying font cartridges to use with a printer

Until you specify the font cartridges (or print wheels) that can be used with a new printer, the print service does not consider any font cartridges installable on that printer and rejects any print requests that require a font cartridge.

To specify a list of font cartridges to use with a printer, enter:

/usr/lib/lpadmin -p printer_name -S font_cartridge_list

font_cartridge_list is a list of font cartridge names, separated by commas or spaces. If you use spaces to separate the names, enclose the entire list (but not the -S) in quotes. These are the only font cartridges considered installable on the printer.

To remove the font cartridge list from the printer, enter:

/usr/lib/lpadmin -p printer_name -S none

Once you specify the list of font cartridges installable on the printer, you can install them. See ``Changing a font cartridge on a printer''.

See also:

Changing a font cartridge on a printer

Before the print service prints a file that requires a font cartridge (or print wheel), you must install and mount the font cartridge on the printer.

If you have set up alerting for the font cartridge, the print service alerts you when enough print jobs are queued for the font cartridge to be installed and mounted. See ``Alerting to mount forms and font cartridges''.

Changing a font cartridge involves first removing the current font cartridge from the printer. Then, install the new font cartridge on the printer and inform the print service that the new font cartridge is ready to use by mounting it. Because it is difficult to do this on a printer that is currently printing and because the print service continues to print files that do not require the font cartridge on the printer, disable the printer first.

To install or change a font cartridge:

  1. Disable the printer.

  2. Remove the current font cartridge from the printer (if applicable).

  3. Install the new font cartridge on the printer.

  4. Mount the new font cartridge by entering:

    /usr/lib/lpadmin -p printer_name -M -S font_cartridge_name

    Any print requests that require a font cartridge are printed on printer_name.

  5. Reenable the printer.
To unmount a font cartridge, enter:

/usr/lib/lpadmin -p printer_name -M -S none


NOTE: You do not need to unmount the current font cartridge after physically removing it from the printer before installing and mounting a new font cartridge.

See also:


Next topic: Setting up printer fault alerts
Previous topic: Detecting printer fault indicators with filters

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003