1 XCOMM ######################################################################
5 XCOMM Template file for configuring printers in the printer sub-panel.
7 XCOMM (c) Copyright 1993, 1994 Hewlett-Packard Company
8 XCOMM (c) Copyright 1993, 1994 International Business Machines Corp.
9 XCOMM (c) Copyright 1993, 1994 Sun Microsystems, Inc.
10 XCOMM (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary
13 XCOMM $XConsortium: printerNN.dt.src /main/4 1996/04/23 17:36:17 drk $
15 XCOMM #####################################################################
17 XCOMM ##############################
19 XCOMM To configure a printer in the DT printer slide-up:
21 XCOMM 1. Identify which printer icon in the slide-up panel should be
22 XCOMM associated with the printer. Icons are numbered from the
23 XCOMM top beginning with 01. (E.g 01 is the top icon, 02 is the
26 XCOMM 2. Copy this file to CDE_INSTALLATION_TOP/examples/types/printer<NN>.dt
27 XCOMM where <NN> is replaced by the number of the icon. For
28 XCOMM example, copy it to CDE_INSTALLATION_TOP/examples/types/printer01.dt to
29 XCOMM configure the top printer.
31 XCOMM 3. Edit the "set PRINTER_NUMBER=nn" line below and replace
32 XCOMM "nn" with the number of the printer icon. For example,
33 XCOMM change it to "set PRINTER_NUMBER=01" for the top printer
36 XCOMM 4. Edit the "set PRINTER_NAME=name" line below and replace
37 XCOMM "name" with the device name assigned to the printer in step
40 XCOMM 5. Invoke the ReloadApps action from the System_Admin
41 XCOMM container of the General toolbox.
43 XCOMM ###############################
48 ACTION Print${PRINTER_NUMBER}
53 EXEC_STRING lp -d${PRINTER_NAME} %(File)Args%
56 ACTION PrinterInfo${PRINTER_NUMBER}
59 WINDOW_TYPE OUTPUT_ONLY
62 (echo %|nls-8001-#"Printer#|; \
63 lpstat -r -p${PRINTER_NAME}) | \${PAGER:-more}; \
64 echo %|nls-8002-#Select#|'