HP OpenVMS Systemsask the wizard |
The Question is: How do I store OpenVMS X Windows printer settings so that my terminal sessions will use a standard setup each time I start a new window? I would gladly make adjustments to the DECW$TERMINAL.DAT resource files if I knew what commands to use. Best Regards, David Shorr The Answer is :
"4.6.1 Defining Print Formats
Many DECwindows Motif applications use the Print dialog box to queue
files or screens to a printer. By default, all printing devices on
the system are displayed in the Printer list box. However, print
queues can be associated with print formats through the definition
of logical names. You define the logical name in the OpenVMS startup
command procedure before the call to the DECwindows Motif startup
procedure. Separate the list of print queues with commas or spaces,
with the first queue being the default choice.
You can customize the list of printer queues displayed in the Print
dialog box by defining any of the logical names in Table 4-3. This
method is faster than making the Print dialog box derive the names
of all the queues on the system, most of which do not apply to the
print format under consideration. The following example shows how to
define logical names for print formats in the OpenVMS startup files:
$ Define DECW$PRINTER_FORMAT_TEXT -
"CLUSTER_LN03,CLUSTER_PRINT,ANSI_ARTWRK,ANSI_PROTON"
$ Define DECW$PRINTER_FORMAT_LINE "CLUSTER_PRINT"
$ Define DECW$PRINTER_FORMAT_ANSI2 "CLUSTER_LN03,ANSI_ARTWRK,ANSI2_PROTON"
$ Define DECW$PRINTER_FORMAT_ANSI "CLUSTER_LN03,ANSI_ARTWRK,ANSI_PROTON"
$ Define DECW$PRINTER_FORMAT_PS "PS_ARTWRK,PS_PROTON"
$ Define DECW$PRINTER_FORMAT_REGIS "SYS$NULL"
For example, if DECW$PRINTER_FORMAT_ANSI2 is defined as CLUSTER_LN03,
ANSI_ARTWRK, ANSI2_PROTON, then when you select ANSI2 from the Print
Format list box, only CLUSTER_LN03, ANSI_ARTWRK, and ANSI2_PROTON are
shown in the Printer list box, with CLUSTER_LN03 being the default choice."
"Table 4-3: Logical Names for the Print Dialog Box
Logical Name Print Format
DECW$PRINTER_FORMAT_DEFAULT Default
DECW$PRINTER_FORMAT_TEXT Text
DECW$PRINTER_FORMAT_LINE Line printer
DECW$PRINTER_FORMAT_TERM Terminal
DECW$PRINTER_FORMAT_ANSI2 ANSI2
DECW$PRINTER_FORMAT_ANSI ANSI
DECW$PRINTER_FORMAT_PS PostScript
DECW$PRINTER_FORMAT_REGIS ReGIS
DECW$PRINTER_FORMAT_TEK TEKTRONIX
DECW$PRINTER_FORMAT_DDIF DDIF"
|