This Natural profile parameter is used to set up a table of printer-control sequences,
which is used for printing additional reports and hardcopies. It corresponds to the
NTCCTAB
macro in the Natural
parameter module.
It is possible to either translate Natural field attributes into escape sequences or specify special characters to be translated into escape sequences.
In addition, strings can be specified which are always sent as the first output record after an open operation or as the last output record before a close operation.
This means that by using the right profile name, you can activate your printout either in portrait mode or in landscape. Then you can use all print features of this device by using simple attributes in Natural. This makes even bar-code printing or double-height printing possible.
CCTAB
defines tables which are used to recognize special
characters in output fields and replace them with the defined control sequences. The
parameter also defines the Natural attributes which are used to insert the defined
control sequences.
Possible settings | See CCTAB Parameter Syntax. | |
---|---|---|
Default setting | As specified within the macro
NTCCTAB in NATCONFG .
|
|
Dynamic specification | yes | This parameter can only be specified dynamically. In the Natural parameter
module, the macro NTCCTAB is used instead.
|
Specification within session | no |
The following topics are covered below:
For each profile, a separate CCTAB
parameter must be specified.
The CCTAB
parameter can be specified in three variants:
CCTAB=(name,OPN='xxxxx',CLS='yyyyy') |
Where:
Note:OPN
and CLS
can be specified in any sequence.
CCTAB=(name,CODE='n',CS='xxxx') |
Where:
CODE ='n' |
is a character which is recognized by Natural once it appears in the output string. |
CS ='xxxx' |
is the string to replace the CODE character.
|
Note:
The CS
subparameter must follow the
CODE
subparameter.
CCTAB=(name,ATR=nnnn,CSS='xxxx',CSE='yyyy') |
Where:
Note:
The CSS
and CSE
subparameters must
follow the ATR
subparameter.
The NTCCTAB
macro can be specified in three variants:
NTCCTAB name, * OPN='xxxxx', * CLS='yyyyy'
For details, refer to the CCTAB
parameter syntax, 1st Variant.
NTCCTAB name, * CODE='n', * CS='xxxx'
For details, refer to the CCTAB
parameter syntax, 2nd Variant.
NTCCTAB name, * ATR=nnnn, * CSS='xxxx', * CSE='yyyy'
For details, refer to the CCTAB
parameter syntax, 3rd Variant.
You specify character strings either as characters (enclosed in apostrophes) or as the corresponding hexadecimal representation of the characters (without apostrophes).
If you use proportional fonts, be sure to return to a fixed-spacing font before using tables where you need correct positioning.
CCTAB=(DBCST,CODE=OE,CS=400E,CODE=OF,CS=0F40,ATR=P5DBCS,CSS=OE,CSE=OF)
CCTAB=(OPN=27C5274DA2F1F188275093F0D6,CLS='LAST LINE')
NTCCTAB DBCST NTCCTAB CODE=OE,CS=400E NTCCTAB CODE=OF,CS=0F40< NTCCTAB ATR=P5DBCS,CSS=OE,CSE=OF
NTCCTAB TEST,OPN=27C5274DA2F1F188275093F0D6,CLS='LAST LINE' NTCCTAB CODE='<',CS=' B(SOB' NTCCTAB CODE='>',CS='B(S3B ' NTCCTAB CODE='(',CS=' B(S1S' NTCCTAB CODE=')',CS='B(SOS ' NTCCTAB ATR=P2UL,CSS=' B&&DD',CSE='B&&D§' NTCCTAB ATR=P2UL,CSS=405FF1C25084C4,CSE=5FF1C250847C NTCCTAB ATR=P2ITAL,CSS=' B(S1S',CSE='B(SOS' NTCCTAB ATR=P1HIGH,CSS=' B(S3B',CSE='B(SOB' NTCCTAB ATR=P2RVID,CSS=' B(S-3B',CSE='B(SOB'