Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Printer Icon Images

When you add a printer, it is automatically assigned the default printer icon. If you have another icon you want to make available for it, place the icon files in /etc/dt/appconfig/icons/language, or in some other directory along the icon search path. Users can then select this icon to replace the default icon for the printer.

You must create a complete set (large, medium, and tiny) of the icons or they will not show up in the icon selector in Print Manager.

For more information about the icon search path, see Icon Search Path.

Icon File Names and Sizes

Icon file-naming requirements are:

base_name.size.type

where:

sizel (large), m (medium), t (tiny). For more information about icon sizes, see Icon Size Conventions.

typepm (color pixmap), bm (bitmap).

For example, icon file names for medium and tiny pixmap icons for a color printer might be ColorPrinter.m.pm and ColorPrinter.t.pm.

Refer to Chapter 14, Creating Icons for the Desktop, for more information on creating icons.

To Globally Change the Icon, Printer Label, or Description of a Printer

You should change global printer properties as soon as you add the printer, before users have modified it using Print Manager. Once a user has modified the printer properties using Print Manager, they will not see the changes you make.

Edit the file /etc/dt/appconfig/types/language/printer_queue_name.dt with the desired information for the icon, printer label, or description:

  1. In the ICON field, update basename to the new icon base name.

  2. In the LABEL field, update labelname to the new label for the printer.

  3. Update the text in the DESCRIPTION field.

    This is a good place to put the location of the printer, type of printer, and printer contact. To add more than one line, put a \ at the end of the line. For example:

    	DESCRIPTION				This is a PostScript Printer in Building 1 \
     					Room 123. Call 555-5555 for problems.