CSS Unitec Home Page
      

Virtual CSS Environment

 css.default(C)

Name   Platforms   Description   Parameters   Notes

Name

$CSS_ENV/etc/css.default

Platforms

Unix

Description

Css.default for virtual CSS servers contains the definitions of virtual server-wide CSS parameters. Many of the parameters inherit the values of the global css.default file as a default. Each command searches for this file whenever it has been invoked within a virtual environment.

The css.default file for virtual servers contains one or more entries that define the default information. Each entry has the form:

keyword=Value

where keyword identifies the type of information available and value defines its value. Both keyword and value must consist of letters, digits and punctuation. The exact spelling of a keyword and the appropriate value are described in the following table.

Any line starting with a number sign (#) is considered a comment and is ignored.

In contrast to parameter values, parameter names (keywords) are case insensitive.

Parameters

In the current CSS version, the following virtual server configuration parameters are available:

Name

Description Default Value
AUTO_REORG Automatic reorganization of the report queue upon the first call of the css(U) program per day (removal of reports whose keep date has expired):
no: no reorganization
all: all reports with keep date expired
printed: all reports with keep date expired and that have been fully printed

See also csa(U), k- and K-options.

setting in /etc/css.default
BANNER_MARGIN Normally banners print from the first to the last line of the page. On misadjusted forms, this may cause report pages to have banner lines printed on. To avoid this effect, the BANNER_MARGIN parmeter may be used to set the top and bottom margins of banner pages. setting in /etc/css.default
BINARY_VIEW Enable / disable the view of binary type reports in the css(U) dialog: true or false. We recommend to disable this option for end-users. setting in /etc/css.default
CSS_SPOOL_DIR Directory where CSS will store report requests.  $CSS_ENV/spool
DATE_TYPE Date format to bu used in the css(U) dialog screens:

AM, US: MM/DD/YY
EU: DD.MM.YY
IN: YY/MM/DD
setting in /etc/css.default
DEFAULT_FORM Defines the default form, if the f-option of lpr(U) is not specified. setting in /etc/css.default
DEFUALT_DEVICE Defines the default device, if the d-option of lpr(U) is not specified. setting in /etc/css.default
DEV_STOP_TIMEOUT This parameter controls the behavior of the lpd despooler program on stop request for active printouts. If it is set to a value other than zero, the despooler process will stop after the defined number of seconds are elapsed, even if the current page has not been spooled completely. The device and the current report are set to the 'hold' state. Please note, that even if DEV_STOP_TIMEOUT has been set, it might be possible, that the process is unable to terminate. Many Unix systems do not allow a process to stop if it is performing an output operation that the OS has not yet been able to complete (typically if a printer is turned off). As soon as the printer is switched on again, this feature should behave as expected. In order to give CSS a chance to stop after the current page has been processed, this parameter should be set to a reasonable value (e.g. 90). The default value is 0 (zero, no timeout processing). setting in /etc/css.default
ERRLOG_SIZE This parameter sets the size of the CSS lpd error log file css.errlog in KB. Once the file reaches the defined size, it is reset and any previously recorded information is lost. setting in /etc/css.default
JOB_FLAGS This parameter may be set to true to mimic prerelease 3.4 condition flag behavior. For details refer to the migration notes in Chapter 1. setting in /etc/css.default
LANGENV This parameter may specify an environment variable name to be inspected for css(U) dialog language information. If set, the variable takes precedence over the LANGUAGE parameter but may be overwritten by L-option of css(U).  
LANGUAGE Language to be used in the css(U) dialog screens:dutch, english, french oder german setting in /etc/css.default
PROTECTION Protection to be applied in the report queue maintenance:
user: user ID
group: group ID
none: no protection
setting in /etc/css.default
PUBLIC_GROUP Reports owned by any group specified in this parameter will be accessible by all users, despite the setting of the PROTECTION parameter. By default a new report will be owned by the creating user and the group associated with that user. Ownership may also be controlled by the lpr(U) u- and g-options. This parameter may define one or more groups (name or numeric ID), delimited by the pipe symbol ‘|‘ or by comma ‘,’.  
PUBLIC_USER Reports owned by any user specified in this parameter will be accessible by all users, despite the setting of the PROTECTION parameter. This parameter may define one or more users (name or numeric ID), delimited by the pipe symbol ‘|‘ or by comma ‘,’.  
SHOW_CSSFLAGS Causes to show the d-, u- and x-option flags in appropriate screen headers of the css(U) dialog, when set to true. setting in /etc/css.default
TEST_PRINT Enable / disable the test-print feature after form changes through css(U): true or false setting in /etc/css.default
TEST_PRINT_ACHAR Substitution character of alphabetic characters during test-print through css(U). setting in /etc/css.default
TEST_PRINT_NCHAR Substitution character of numeric characters during test-print through css(U). setting in /etc/css.default
VIEW_CONTROL_CHAR Defines the substitution character of nonprintable values in the report view screen of css(U). Control characters are from 0x00 through 0x19, 0x7f and 0xff, except CR, LF, BS and TAB. The following values are possible:
space: use 0x20, space
null: do not show
x: use character x
 setting in /etc/css.default
VIEW_DEVICE Defines the device definition to use to display a report in the css(U) report preview screen.  
WINCSS_PORT Defines the TCP/IP port number to be used by the Windows server cssws(U).  
WINCSS_VIEW_DEVICE Defines the device definition to use to display a report in the WinCss(U) report preview screen. setting in VIEW_DEVICE
WRAP_SCREEN Enable / disable the navigation default in the css(U) dialog to wrap screens from last to first. setting in /etc/css.default

 

Notes

If $CSS_ENV/etc/css.default is missing, CSS will run with the default configuration.
 

Important!

If the directory entry CSS_SPOOL_DIR points to a location used by another virtual CSS server, data loss will occur.

 

Back to top